/* ----------------------------------------------------------------------------
 * This file was automatically generated by SWIG (http://www.swig.org).
 * Version 1.3.40
 * 
 * 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

/* -----------------------------------------------------------------------------
 *  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) && (__SUNPRO_CC <= 0x560)
#  define SWIGTEMPLATEDISAMBIGUATOR template
# elif defined(__HP_aCC)
/* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
/* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
#  define SWIGTEMPLATEDISAMBIGUATOR template
# 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 SWIG_MSC_UNSUPPRESS_4505
# if defined(_MSC_VER)
#   pragma warning(disable : 4505) /* unreferenced local function has been removed */
# 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) && !defined(_CRT_SECURE_NO_DEPRECATE)
# define _CRT_SECURE_NO_DEPRECATE
#endif

/* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
#if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
# define _SCL_SECURE_NO_DEPRECATE
#endif



/* Python.h has to appear first */
#include <Python.h>

/* -----------------------------------------------------------------------------
 * swigrun.swg
 *
 * This file contains generic C API 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 "4"

/* 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 strictly necessary, ie, if you have problems
  with your compiler or suchlike.
*/

#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
#define SWIG_CAST_NEW_MEMORY       0x2

/* 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 versions of SWIG, code such as the following was usually written:

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

   Now you can be more explicit:

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

   which is the same really, 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
   also requires SWIG_ConvertPtr to return new result values, such 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 *, int *);
typedef struct swig_type_info *(*swig_dycast_func)(void **);

/* Structure to store information 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 (int)((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;
}


/*
  Check the typename
*/
SWIGRUNTIME swig_cast_info *
SWIG_TypeCheck(const char *c, swig_type_info *ty) {
  if (ty) {
    swig_cast_info *iter = ty->cast;
    while (iter) {
      if (strcmp(iter->type->name, c) == 0) {
        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;
}

/* 
  Identical to SWIG_TypeCheck, except strcmp is replaced with a pointer comparison
*/
SWIGRUNTIME swig_cast_info *
SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *ty) {
  if (ty) {
    swig_cast_info *iter = ty->cast;
    while (iter) {
      if (iter->type == from) {
        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;
}

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

/* 
   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



/* Compatibility macros for Python 3 */
#if PY_VERSION_HEX >= 0x03000000

#define PyClass_Check(obj) PyObject_IsInstance(obj, (PyObject *)&PyType_Type)
#define PyInt_Check(x) PyLong_Check(x)
#define PyInt_AsLong(x) PyLong_AsLong(x)
#define PyInt_FromLong(x) PyLong_FromLong(x)
#define PyString_Format(fmt, args)  PyUnicode_Format(fmt, args)

#endif

#ifndef Py_TYPE
#  define Py_TYPE(op) ((op)->ob_type)
#endif

/* SWIG APIs for compatibility of both Python 2 & 3 */

#if PY_VERSION_HEX >= 0x03000000
#  define SWIG_Python_str_FromFormat PyUnicode_FromFormat
#else
#  define SWIG_Python_str_FromFormat PyString_FromFormat
#endif


/* Warning: This function will allocate a new string in Python 3,
 * so please call SWIG_Python_str_DelForPy3(x) to free the space.
 */
SWIGINTERN char*
SWIG_Python_str_AsChar(PyObject *str)
{
#if PY_VERSION_HEX >= 0x03000000
  char *cstr;
  char *newstr;
  Py_ssize_t len;
  str = PyUnicode_AsUTF8String(str);
  PyBytes_AsStringAndSize(str, &cstr, &len);
  newstr = (char *) malloc(len+1);
  memcpy(newstr, cstr, len+1);
  Py_XDECREF(str);
  return newstr;
#else
  return PyString_AsString(str);
#endif
}

#if PY_VERSION_HEX >= 0x03000000
#  define SWIG_Python_str_DelForPy3(x) free( (void*) (x) )
#else
#  define SWIG_Python_str_DelForPy3(x) 
#endif


SWIGINTERN PyObject*
SWIG_Python_str_FromChar(const char *c)
{
#if PY_VERSION_HEX >= 0x03000000
  return PyUnicode_FromString(c); 
#else
  return PyString_FromString(c);
#endif
}

/* 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

/* Py_ssize_t for old Pythons */
/* This code is as recommended by: */
/* http://www.python.org/dev/peps/pep-0353/#conversion-guidelines */
#if PY_VERSION_HEX < 0x02050000 && !defined(PY_SSIZE_T_MIN)
typedef int Py_ssize_t;
# define PY_SSIZE_T_MAX INT_MAX
# define PY_SSIZE_T_MIN INT_MIN
#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) {
    char *tmp;
    PyObject *old_str = PyObject_Str(value);
    PyErr_Clear();
    Py_XINCREF(type);

    PyErr_Format(type, "%s %s", tmp = SWIG_Python_str_AsChar(old_str), mesg);
    SWIG_Python_str_DelForPy3(tmp);
    Py_DECREF(old_str);
    Py_DECREF(value);
  } else {
    PyErr_SetString(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;


/* -----------------------------------------------------------------------------
 * Wrapper of PyInstanceMethod_New() used in Python 3
 * It is exported to the generated module, used for -fastproxy
 * ----------------------------------------------------------------------------- */
SWIGRUNTIME PyObject* SWIG_PyInstanceMethod_New(PyObject *self, PyObject *func)
{
#if PY_VERSION_HEX >= 0x03000000
  return PyInstanceMethod_New(func);
#else
  return NULL;
#endif
}

#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)                         SwigPyClientData_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, Py_ssize_t min, Py_ssize_t 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 "), (int)min);
      return 0;
    }
  }  
  if (!PyTuple_Check(args)) {
    PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
    return 0;
  } else {
    register Py_ssize_t l = PyTuple_GET_SIZE(args);
    if (l < min) {
      PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d", 
		   name, (min == max ? "" : "at least "), (int)min, (int)l);
      return 0;
    } else if (l > max) {
      PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d", 
		   name, (min == max ? "" : "at most "), (int)max, (int)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((char*)"");
  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;
}

/* SwigPyClientData */

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

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

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


SWIGRUNTIME SwigPyClientData * 
SwigPyClientData_New(PyObject* obj)
{
  if (!obj) {
    return 0;
  } else {
    SwigPyClientData *data = (SwigPyClientData *)malloc(sizeof(SwigPyClientData));
    /* 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 
SwigPyClientData_Del(SwigPyClientData* data)
{
  Py_XDECREF(data->newraw);
  Py_XDECREF(data->newargs);
  Py_XDECREF(data->destroy);
}

/* =============== SwigPyObject =====================*/

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

SWIGRUNTIME PyObject *
SwigPyObject_long(SwigPyObject *v)
{
  return PyLong_FromVoidPtr(v->ptr);
}

SWIGRUNTIME PyObject *
SwigPyObject_format(const char* fmt, SwigPyObject *v)
{
  PyObject *res = NULL;
  PyObject *args = PyTuple_New(1);
  if (args) {
    if (PyTuple_SetItem(args, 0, SwigPyObject_long(v)) == 0) {
      PyObject *ofmt = SWIG_Python_str_FromChar(fmt);
      if (ofmt) {
#if PY_VERSION_HEX >= 0x03000000
	res = PyUnicode_Format(ofmt,args);
#else
	res = PyString_Format(ofmt,args);
#endif
	Py_DECREF(ofmt);
      }
      Py_DECREF(args);
    }
  }
  return res;
}

SWIGRUNTIME PyObject *
SwigPyObject_oct(SwigPyObject *v)
{
  return SwigPyObject_format("%o",v);
}

SWIGRUNTIME PyObject *
SwigPyObject_hex(SwigPyObject *v)
{
  return SwigPyObject_format("%x",v);
}

SWIGRUNTIME PyObject *
#ifdef METH_NOARGS
SwigPyObject_repr(SwigPyObject *v)
#else
SwigPyObject_repr(SwigPyObject *v, PyObject *args)
#endif
{
  const char *name = SWIG_TypePrettyName(v->ty);
  PyObject *repr = SWIG_Python_str_FromFormat("<Swig Object of type '%s' at %p>", name, v);
  if (v->next) {
#ifdef METH_NOARGS
    PyObject *nrep = SwigPyObject_repr((SwigPyObject *)v->next);
#else
    PyObject *nrep = SwigPyObject_repr((SwigPyObject *)v->next, args);
#endif
#if PY_VERSION_HEX >= 0x03000000
    PyObject *joined = PyUnicode_Concat(repr, nrep);
    Py_DecRef(repr);
    Py_DecRef(nrep);
    repr = joined;
#else
    PyString_ConcatAndDel(&repr,nrep);
#endif
  }
  return repr;  
}

SWIGRUNTIME int
SwigPyObject_print(SwigPyObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
{
  char *str;
#ifdef METH_NOARGS
  PyObject *repr = SwigPyObject_repr(v);
#else
  PyObject *repr = SwigPyObject_repr(v, NULL);
#endif
  if (repr) {
    str = SWIG_Python_str_AsChar(repr); 
    fputs(str, fp);
    SWIG_Python_str_DelForPy3(str);
    Py_DECREF(repr);
    return 0; 
  } else {
    return 1; 
  }
}

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

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

/* Added for Python 3.x, would it also be useful for Python 2.x? */
SWIGRUNTIME PyObject*
SwigPyObject_richcompare(SwigPyObject *v, SwigPyObject *w, int op)
{
  PyObject* res;
  if( op != Py_EQ && op != Py_NE ) {
    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
  }
  if( (SwigPyObject_compare(v, w)==0) == (op == Py_EQ) )
    res = Py_True;
  else
    res = Py_False;
  Py_INCREF(res);
  return res;  
}


SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);

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

SWIGRUNTIMEINLINE int
SwigPyObject_Check(PyObject *op) {
  return (Py_TYPE(op) == SwigPyObject_type())
    || (strcmp(Py_TYPE(op)->tp_name,"SwigPyObject") == 0);
}

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

SWIGRUNTIME void
SwigPyObject_dealloc(PyObject *v)
{
  SwigPyObject *sobj = (SwigPyObject *) v;
  PyObject *next = sobj->next;
  if (sobj->own == SWIG_POINTER_OWN) {
    swig_type_info *ty = sobj->ty;
    SwigPyClientData *data = ty ? (SwigPyClientData *) 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 temporary object to carry the destroy operation */
	PyObject *tmp = SwigPyObject_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);
    } 
#if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
    else {
      const char *name = SWIG_TypePrettyName(ty);
      printf("swig/python detected a memory leak of type '%s', no destructor found.\n", (name ? name : "unknown"));
    }
#endif
  } 
  Py_XDECREF(next);
  PyObject_DEL(v);
}

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

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

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

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

SWIGINTERN PyObject*
SwigPyObject_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
    {
      SwigPyObject *sobj = (SwigPyObject *)v;
      PyObject *obj = PyBool_FromLong(sobj->own);
      if (val) {
#ifdef METH_NOARGS
	if (PyObject_IsTrue(val)) {
	  SwigPyObject_acquire(v);
	} else {
	  SwigPyObject_disown(v);
	}
#else
	if (PyObject_IsTrue(val)) {
	  SwigPyObject_acquire(v,args);
	} else {
	  SwigPyObject_disown(v,args);
	}
#endif
      } 
      return obj;
    }
}

#ifdef METH_O
static PyMethodDef
swigobject_methods[] = {
  {(char *)"disown",  (PyCFunction)SwigPyObject_disown,  METH_NOARGS,  (char *)"releases ownership of the pointer"},
  {(char *)"acquire", (PyCFunction)SwigPyObject_acquire, METH_NOARGS,  (char *)"aquires ownership of the pointer"},
  {(char *)"own",     (PyCFunction)SwigPyObject_own,     METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
  {(char *)"append",  (PyCFunction)SwigPyObject_append,  METH_O,       (char *)"appends another 'this' object"},
  {(char *)"next",    (PyCFunction)SwigPyObject_next,    METH_NOARGS,  (char *)"returns the next 'this' object"},
  {(char *)"__repr__",(PyCFunction)SwigPyObject_repr,    METH_NOARGS,  (char *)"returns object representation"},
  {0, 0, 0, 0}  
};
#else
static PyMethodDef
swigobject_methods[] = {
  {(char *)"disown",  (PyCFunction)SwigPyObject_disown,  METH_VARARGS,  (char *)"releases ownership of the pointer"},
  {(char *)"acquire", (PyCFunction)SwigPyObject_acquire, METH_VARARGS,  (char *)"aquires ownership of the pointer"},
  {(char *)"own",     (PyCFunction)SwigPyObject_own,     METH_VARARGS,  (char *)"returns/sets ownership of the pointer"},
  {(char *)"append",  (PyCFunction)SwigPyObject_append,  METH_VARARGS,  (char *)"appends another 'this' object"},
  {(char *)"next",    (PyCFunction)SwigPyObject_next,    METH_VARARGS,  (char *)"returns the next 'this' object"},
  {(char *)"__repr__",(PyCFunction)SwigPyObject_repr,   METH_VARARGS,  (char *)"returns object representation"},
  {0, 0, 0, 0}  
};
#endif

#if PY_VERSION_HEX < 0x02020000
SWIGINTERN PyObject *
SwigPyObject_getattr(SwigPyObject *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 SwigPyObject_as_number = {
    (binaryfunc)0, /*nb_add*/
    (binaryfunc)0, /*nb_subtract*/
    (binaryfunc)0, /*nb_multiply*/
    /* nb_divide removed in Python 3 */
#if PY_VERSION_HEX < 0x03000000
    (binaryfunc)0, /*nb_divide*/
#endif
    (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*/
#if PY_VERSION_HEX < 0x03000000
    0,   /*nb_coerce*/
#endif
    (unaryfunc)SwigPyObject_long, /*nb_int*/
#if PY_VERSION_HEX < 0x03000000
    (unaryfunc)SwigPyObject_long, /*nb_long*/
#else
    0, /*nb_reserved*/
#endif
    (unaryfunc)0,                 /*nb_float*/
#if PY_VERSION_HEX < 0x03000000
    (unaryfunc)SwigPyObject_oct,  /*nb_oct*/
    (unaryfunc)SwigPyObject_hex,  /*nb_hex*/
#endif
#if PY_VERSION_HEX >= 0x03000000 /* 3.0 */
    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_index, nb_inplace_divide removed */
#elif PY_VERSION_HEX >= 0x02050000 /* 2.5.0 */
    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_index */
#elif PY_VERSION_HEX >= 0x02020000 /* 2.2.0 */
    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 /* 2.0.0 */
    0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
#endif
  };

  static PyTypeObject swigpyobject_type;  
  static int type_init = 0;
  if (!type_init) {
    const PyTypeObject tmp
      = {
	/* PyObject header changed in Python 3 */
#if PY_VERSION_HEX >= 0x03000000
	PyVarObject_HEAD_INIT(&PyType_Type, 0)
#else    
	PyObject_HEAD_INIT(NULL)
	0,				    /* ob_size */
#endif
	(char *)"SwigPyObject",		    /* tp_name */
	sizeof(SwigPyObject),		    /* tp_basicsize */
	0,			            /* tp_itemsize */
	(destructor)SwigPyObject_dealloc,   /* tp_dealloc */
	(printfunc)SwigPyObject_print,	    /* tp_print */
#if PY_VERSION_HEX < 0x02020000
	(getattrfunc)SwigPyObject_getattr,  /* tp_getattr */ 
#else
	(getattrfunc)0,			    /* tp_getattr */ 
#endif
	(setattrfunc)0,			    /* tp_setattr */ 
#if PY_VERSION_HEX >= 0x03000000
    0, /* tp_reserved in 3.0.1, tp_compare in 3.0.0 but not used */
#else
	(cmpfunc)SwigPyObject_compare,	    /* tp_compare */
#endif
	(reprfunc)SwigPyObject_repr,	    /* tp_repr */    
	&SwigPyObject_as_number,	    /* tp_as_number */
	0,				    /* tp_as_sequence */
	0,				    /* tp_as_mapping */
	(hashfunc)0,			    /* tp_hash */
	(ternaryfunc)0,			    /* tp_call */
	(reprfunc)SwigPyObject_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 */
	(richcmpfunc)SwigPyObject_richcompare,           /* 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
      };
    swigpyobject_type = tmp;
    /* for Python 3 we already assigned ob_type in PyVarObject_HEAD_INIT() */
#if PY_VERSION_HEX < 0x03000000
    swigpyobject_type.ob_type = &PyType_Type;
#endif
    type_init = 1;
  }
  return &swigpyobject_type;
}

SWIGRUNTIME PyObject *
SwigPyObject_New(void *ptr, swig_type_info *ty, int own)
{
  SwigPyObject *sobj = PyObject_NEW(SwigPyObject, SwigPyObject_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;
} SwigPyPacked;

SWIGRUNTIME int
SwigPyPacked_print(SwigPyPacked *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 *
SwigPyPacked_repr(SwigPyPacked *v)
{
  char result[SWIG_BUFFER_SIZE];
  if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
    return SWIG_Python_str_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
  } else {
    return SWIG_Python_str_FromFormat("<Swig Packed %s>", v->ty->name);
  }  
}

SWIGRUNTIME PyObject *
SwigPyPacked_str(SwigPyPacked *v)
{
  char result[SWIG_BUFFER_SIZE];
  if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
    return SWIG_Python_str_FromFormat("%s%s", result, v->ty->name);
  } else {
    return SWIG_Python_str_FromChar(v->ty->name);
  }  
}

SWIGRUNTIME int
SwigPyPacked_compare(SwigPyPacked *v, SwigPyPacked *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*
SwigPyPacked_type(void) {
  static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
  return type;
}

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

SWIGRUNTIME void
SwigPyPacked_dealloc(PyObject *v)
{
  if (SwigPyPacked_Check(v)) {
    SwigPyPacked *sobj = (SwigPyPacked *) 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 swigpypacked_type;
  static int type_init = 0;  
  if (!type_init) {
    const PyTypeObject tmp
      = {
    /* PyObject header changed in Python 3 */
#if PY_VERSION_HEX>=0x03000000
    PyVarObject_HEAD_INIT(&PyType_Type, 0)
#else
	PyObject_HEAD_INIT(NULL)
    0,				    /* ob_size */	
#endif
	(char *)"SwigPyPacked",		    /* tp_name */	
	sizeof(SwigPyPacked),		    /* tp_basicsize */	
	0,				    /* tp_itemsize */	
	(destructor)SwigPyPacked_dealloc,   /* tp_dealloc */	
	(printfunc)SwigPyPacked_print,	    /* tp_print */   	
	(getattrfunc)0,			    /* tp_getattr */ 	
	(setattrfunc)0,			    /* tp_setattr */ 	
#if PY_VERSION_HEX>=0x03000000
    0, /* tp_reserved in 3.0.1 */
#else
    (cmpfunc)SwigPyPacked_compare,	    /* tp_compare */
#endif
	(reprfunc)SwigPyPacked_repr,	    /* tp_repr */
	0,	                            /* tp_as_number */
	0,				    /* tp_as_sequence */
	0,				    /* tp_as_mapping */
	(hashfunc)0,			    /* tp_hash */
	(ternaryfunc)0,			    /* tp_call */
	(reprfunc)SwigPyPacked_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
      };
    swigpypacked_type = tmp;
    /* for Python 3 the ob_type already assigned in PyVarObject_HEAD_INIT() */
#if PY_VERSION_HEX < 0x03000000
    swigpypacked_type.ob_type = &PyType_Type;
#endif
    type_init = 1;
  }
  return &swigpypacked_type;
}

SWIGRUNTIME PyObject *
SwigPyPacked_New(void *ptr, size_t size, swig_type_info *ty)
{
  SwigPyPacked *sobj = PyObject_NEW(SwigPyPacked, SwigPyPacked_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 *
SwigPyPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
{
  if (SwigPyPacked_Check(obj)) {
    SwigPyPacked *sobj = (SwigPyPacked *)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 SWIG_Python_str_FromChar("this");
}

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

/* #define SWIG_PYTHON_SLOW_GETSET_THIS */

/* TODO: I don't know how to implement the fast getset in Python 3 right now */
#if PY_VERSION_HEX>=0x03000000
#define SWIG_PYTHON_SLOW_GETSET_THIS 
#endif

SWIGRUNTIME SwigPyObject *
SWIG_Python_GetSwigThis(PyObject *pyobj) 
{
  if (SwigPyObject_Check(pyobj)) {
    return (SwigPyObject *) 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 && !SwigPyObject_Check(obj)) {
      /* a PyObject is called 'this', try to get the 'real this'
	 SwigPyObject from it */ 
      return SWIG_Python_GetSwigThis(obj);
    }
    return (SwigPyObject *)obj;
  }
}

/* Acquire a pointer value */

SWIGRUNTIME int
SWIG_Python_AcquirePtr(PyObject *obj, int own) {
  if (own == SWIG_POINTER_OWN) {
    SwigPyObject *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 {
    SwigPyObject *sobj = SWIG_Python_GetSwigThis(obj);
    if (own)
      *own = 0;
    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 = (SwigPyObject *)sobj->next;
	  } else {
	    if (ptr) {
              int newmemory = 0;
              *ptr = SWIG_TypeCast(tc,vptr,&newmemory);
              if (newmemory == SWIG_CAST_NEW_MEMORY) {
                assert(own);
                if (own)
                  *own = *own | SWIG_CAST_NEW_MEMORY;
              }
            }
	    break;
	  }
	}
      } else {
	if (ptr) *ptr = vptr;
	break;
      }
    }
    if (sobj) {
      if (own)
        *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) {
	SwigPyClientData *data = ty ? (SwigPyClientData *) 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) {
	      SwigPyObject *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 */
    const 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) {
        int newmemory = 0;
        *ptr = SWIG_TypeCast(tc,vptr,&newmemory);
        assert(!newmemory); /* newmemory handling not yet implemented */
      } else {
        return SWIG_ERROR;
      }
    } 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 = SwigPyPacked_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, without calling __init__, and set the
  'this' attribute.
*/

SWIGRUNTIME PyObject* 
SWIG_Python_NewShadowInstance(SwigPyClientData *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 {
#if PY_VERSION_HEX >= 0x03000000
    inst = PyBaseObject_Type.tp_new((PyTypeObject*) data->newargs, Py_None, Py_None);
    PyObject_SetAttr(inst, SWIG_This(), swig_this);
    Py_TYPE(inst)->tp_flags &= ~Py_TPFLAGS_VALID_VERSION_TAG;
#else
    PyObject *dict = PyDict_New();
    PyDict_SetItem(dict, SWIG_This(), swig_this);
    inst = PyInstance_NewRaw(data->newargs, dict);
    Py_DECREF(dict);
#endif
  }
  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, (char*)"__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 {
    SwigPyObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
    if (sthis) {
      SwigPyObject_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 = SwigPyObject_New(ptr, type, own);
    SwigPyClientData *clientdata = type ? (SwigPyClientData *)(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 ? SwigPyPacked_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) {
      SwigPyClientData *data = (SwigPyClientData *) ty->clientdata;
      if (data) SwigPyClientData_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 */

#if PY_VERSION_HEX >= 0x03000000
 /* Add a dummy module object into sys.modules */
  PyObject *module = PyImport_AddModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION);
#else
  PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
				   swig_empty_runtime_method_table);
#endif
  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(void) {
  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 = SWIG_Python_str_FromChar(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) {
      char *tmp;
      PyObject *old_str = PyObject_Str(value);
      Py_XINCREF(type);
      PyErr_Clear();
      if (infront) {
	PyErr_Format(type, "%s %s", mesg, tmp = SWIG_Python_str_AsChar(old_str));
      } else {
	PyErr_Format(type, "%s %s", tmp = SWIG_Python_str_AsChar(old_str), mesg);
      }
      SWIG_Python_str_DelForPy3(tmp);
      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 *
SwigPyObject_GetDesc(PyObject *self)
{
  SwigPyObject *v = (SwigPyObject *)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 && SwigPyObject_Check(obj)) {
      const char *otype = (const char *) SwigPyObject_GetDesc(obj);
      if (otype) {
	PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'SwigPyObject(%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 ? SWIG_Python_str_AsChar(str) : 0;
	if (cstr) {
	  PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
		       type, otype, cstr);
          SWIG_Python_str_DelForPy3(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 SWIG_POINTER_EXCEPTION
    if (flags) {
      SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
      SWIG_Python_ArgFail(argnum);
    }
#endif
  }
  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_FILE swig_types[0]
#define SWIGTYPE_p__icalarray swig_types[1]
#define SWIGTYPE_p__icaltimezone swig_types[2]
#define SWIGTYPE_p_char swig_types[3]
#define SWIGTYPE_p_f_p_char_size_t_p_void__p_char swig_types[4]
#define SWIGTYPE_p_f_p_icalset_icalcomponent_kind_p_icalgauge__icalsetiter swig_types[5]
#define SWIGTYPE_p_f_p_icalset_p_q_const__char_p_void__p_icalset_impl swig_types[6]
#define SWIGTYPE_p_f_p_q_const__void_p_q_const__void__int swig_types[7]
#define SWIGTYPE_p_f_p_struct_icalcomponent_impl_p_struct_icaltime_span_p_void__void swig_types[8]
#define SWIGTYPE_p_f_p_struct_icalparameter_impl_p_void__void swig_types[9]
#define SWIGTYPE_p_f_p_struct_icalset_impl__icalerrorenum swig_types[10]
#define SWIGTYPE_p_f_p_struct_icalset_impl__p_char swig_types[11]
#define SWIGTYPE_p_f_p_struct_icalset_impl__p_icalcomponent_impl swig_types[12]
#define SWIGTYPE_p_f_p_struct_icalset_impl__void swig_types[13]
#define SWIGTYPE_p_f_p_struct_icalset_impl_enum_icalcomponent_kind__int swig_types[14]
#define SWIGTYPE_p_f_p_struct_icalset_impl_p_q_const__char__int swig_types[15]
#define SWIGTYPE_p_f_p_struct_icalset_impl_p_q_const__char__p_icalcomponent_impl swig_types[16]
#define SWIGTYPE_p_f_p_struct_icalset_impl_p_struct_icalcomponent_impl__icalerrorenum swig_types[17]
#define SWIGTYPE_p_f_p_struct_icalset_impl_p_struct_icalcomponent_impl__p_icalcomponent_impl swig_types[18]
#define SWIGTYPE_p_f_p_struct_icalset_impl_p_struct_icalcomponent_impl_p_struct_icalcomponent_impl__icalerrorenum swig_types[19]
#define SWIGTYPE_p_f_p_struct_icalset_impl_p_struct_icalgauge_impl__icalerrorenum swig_types[20]
#define SWIGTYPE_p_f_p_struct_icalset_impl_p_struct_icalsetiter__p_icalcomponent_impl swig_types[21]
#define SWIGTYPE_p_f_p_unsigned_char_p_void__void swig_types[22]
#define SWIGTYPE_p_f_p_void__p_void swig_types[23]
#define SWIGTYPE_p_f_p_void__void swig_types[24]
#define SWIGTYPE_p_f_p_void_p_struct_sspm_header_p_q_const__char_size_t__void swig_types[25]
#define SWIGTYPE_p_f_p_void_p_void__int swig_types[26]
#define SWIGTYPE_p_f_p_void_p_void__void swig_types[27]
#define SWIGTYPE_p_f_void__p_void swig_types[28]
#define SWIGTYPE_p_ical_unknown_token_handling swig_types[29]
#define SWIGTYPE_p_icalattach_impl swig_types[30]
#define SWIGTYPE_p_icalcalendar_impl swig_types[31]
#define SWIGTYPE_p_icalcluster_impl swig_types[32]
#define SWIGTYPE_p_icalcompiter swig_types[33]
#define SWIGTYPE_p_icalcomponent_impl swig_types[34]
#define SWIGTYPE_p_icalcomponent_kind swig_types[35]
#define SWIGTYPE_p_icaldatetimeperiodtype swig_types[36]
#define SWIGTYPE_p_icaldirset_impl swig_types[37]
#define SWIGTYPE_p_icaldirset_options swig_types[38]
#define SWIGTYPE_p_icaldurationtype swig_types[39]
#define SWIGTYPE_p_icalerrorenum swig_types[40]
#define SWIGTYPE_p_icalerrorstate swig_types[41]
#define SWIGTYPE_p_icalfileset_impl swig_types[42]
#define SWIGTYPE_p_icalfileset_options swig_types[43]
#define SWIGTYPE_p_icalgauge_impl swig_types[44]
#define SWIGTYPE_p_icalgeotype swig_types[45]
#define SWIGTYPE_p_icalparameter_action swig_types[46]
#define SWIGTYPE_p_icalparameter_cutype swig_types[47]
#define SWIGTYPE_p_icalparameter_enable swig_types[48]
#define SWIGTYPE_p_icalparameter_encoding swig_types[49]
#define SWIGTYPE_p_icalparameter_fbtype swig_types[50]
#define SWIGTYPE_p_icalparameter_impl swig_types[51]
#define SWIGTYPE_p_icalparameter_kind swig_types[52]
#define SWIGTYPE_p_icalparameter_local swig_types[53]
#define SWIGTYPE_p_icalparameter_partstat swig_types[54]
#define SWIGTYPE_p_icalparameter_range swig_types[55]
#define SWIGTYPE_p_icalparameter_related swig_types[56]
#define SWIGTYPE_p_icalparameter_reltype swig_types[57]
#define SWIGTYPE_p_icalparameter_role swig_types[58]
#define SWIGTYPE_p_icalparameter_rsvp swig_types[59]
#define SWIGTYPE_p_icalparameter_value swig_types[60]
#define SWIGTYPE_p_icalparameter_xliccomparetype swig_types[61]
#define SWIGTYPE_p_icalparameter_xlicerrortype swig_types[62]
#define SWIGTYPE_p_icalparser_impl swig_types[63]
#define SWIGTYPE_p_icalparser_state swig_types[64]
#define SWIGTYPE_p_icalperiodtype swig_types[65]
#define SWIGTYPE_p_icalproperty_action swig_types[66]
#define SWIGTYPE_p_icalproperty_carlevel swig_types[67]
#define SWIGTYPE_p_icalproperty_class swig_types[68]
#define SWIGTYPE_p_icalproperty_cmd swig_types[69]
#define SWIGTYPE_p_icalproperty_impl swig_types[70]
#define SWIGTYPE_p_icalproperty_kind swig_types[71]
#define SWIGTYPE_p_icalproperty_method swig_types[72]
#define SWIGTYPE_p_icalproperty_querylevel swig_types[73]
#define SWIGTYPE_p_icalproperty_status swig_types[74]
#define SWIGTYPE_p_icalproperty_transp swig_types[75]
#define SWIGTYPE_p_icalproperty_xlicclass swig_types[76]
#define SWIGTYPE_p_icalrecur_iterator_impl swig_types[77]
#define SWIGTYPE_p_icalrecurrencetype swig_types[78]
#define SWIGTYPE_p_icalrecurrencetype_frequency swig_types[79]
#define SWIGTYPE_p_icalrecurrencetype_weekday swig_types[80]
#define SWIGTYPE_p_icalreqstattype swig_types[81]
#define SWIGTYPE_p_icalrequeststatus swig_types[82]
#define SWIGTYPE_p_icalrestriction_kind swig_types[83]
#define SWIGTYPE_p_icalset_impl swig_types[84]
#define SWIGTYPE_p_icalset_kind swig_types[85]
#define SWIGTYPE_p_icalsetiter swig_types[86]
#define SWIGTYPE_p_icalspanlist_impl swig_types[87]
#define SWIGTYPE_p_icaltime_span swig_types[88]
#define SWIGTYPE_p_icaltimetype swig_types[89]
#define SWIGTYPE_p_icaltimezonephase swig_types[90]
#define SWIGTYPE_p_icaltimezonetype swig_types[91]
#define SWIGTYPE_p_icaltriggertype swig_types[92]
#define SWIGTYPE_p_icalvalue_impl swig_types[93]
#define SWIGTYPE_p_icalvalue_kind swig_types[94]
#define SWIGTYPE_p_int swig_types[95]
#define SWIGTYPE_p_mode_t swig_types[96]
#define SWIGTYPE_p_p_char swig_types[97]
#define SWIGTYPE_p_pvl_elem_t swig_types[98]
#define SWIGTYPE_p_pvl_list_t swig_types[99]
#define SWIGTYPE_p_short swig_types[100]
#define SWIGTYPE_p_size_t swig_types[101]
#define SWIGTYPE_p_sspm_action_map swig_types[102]
#define SWIGTYPE_p_sspm_header swig_types[103]
#define SWIGTYPE_p_sspm_part swig_types[104]
#define SWIGTYPE_p_unsigned_char swig_types[105]
#define SWIGTYPE_p_va_list swig_types[106]
#define SWIGTYPE_p_void swig_types[107]
static swig_type_info *swig_types[109];
static swig_module_info swig_module = {swig_types, 108, 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 swig to be run with the '-classic' option"
# endif
#endif

/*-----------------------------------------------
              @(target):= _LibicalWrap.so
  ------------------------------------------------*/
#if PY_VERSION_HEX >= 0x03000000
#  define SWIG_init    PyInit__LibicalWrap

#else
#  define SWIG_init    init_LibicalWrap

#endif
#define SWIG_name    "_LibicalWrap"

#define SWIGVERSION 0x010340 
#define SWIG_VERSION SWIGVERSION


#define SWIG_as_voidptr(a) (void *)((const void *)(a)) 
#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),(void**)(a)) 


#include "libical/ical.h"
#include "libicalss/icalss.h"

#include <sys/types.h> /* for size_t */
#include <time.h>



SWIGINTERN swig_type_info*
SWIG_pchar_descriptor(void)
{
  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((char *)(carray), pchar_descriptor, 0) : SWIG_Py_Void();
    } else {
#if PY_VERSION_HEX >= 0x03000000
      return PyUnicode_FromStringAndSize(carray, (int)(size));
#else
      return PyString_FromStringAndSize(carray, (int)(size));
#endif
    }
  } else {
    return SWIG_Py_Void();
  }
}


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


#include <limits.h>
#if !defined(SWIG_NO_LLONG_MAX)
# if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__)
#   define LLONG_MAX __LONG_LONG_MAX__
#   define LLONG_MIN (-LLONG_MAX - 1LL)
#   define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL)
# endif
#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 = (int)(v);
    }
  }  
  return res;
}


  #define SWIG_From_long   PyInt_FromLong 


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

SWIGINTERN time_t icaltimetype_as_timet(struct icaltimetype *self,icaltimezone const *zone){
        return icaltime_as_timet_with_zone(*(self), zone);
    }
SWIGINTERN struct icaltimetype icaltimetype_from_timet(time_t const tm,int const is_date,icaltimezone const *zone){
        return icaltime_from_timet_with_zone(tm, is_date, zone);
    }

SWIGINTERN int
SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize, int *alloc)
{
#if PY_VERSION_HEX>=0x03000000
  if (PyUnicode_Check(obj))
#else  
  if (PyString_Check(obj))
#endif
  {
    char *cstr; Py_ssize_t len;
#if PY_VERSION_HEX>=0x03000000
    if (!alloc && cptr) {
        /* We can't allow converting without allocation, since the internal
           representation of string in Python 3 is UCS-2/UCS-4 but we require
           a UTF-8 representation.
           TODO(bhy) More detailed explanation */
        return SWIG_RuntimeError;
    }
    obj = PyUnicode_AsUTF8String(obj);
    PyBytes_AsStringAndSize(obj, &cstr, &len);
    if(alloc) *alloc = SWIG_NEWOBJ;
#else
    PyString_AsStringAndSize(obj, &cstr, &len);
#endif
    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 = (char *)memcpy((char *)malloc((len + 1)*sizeof(char)), cstr, sizeof(char)*(len + 1));
	    *alloc = SWIG_NEWOBJ;
	  }
	else {
	  *cptr = cstr;
	  *alloc = SWIG_OLDOBJ;
	}
      } else {
        #if PY_VERSION_HEX>=0x03000000
        assert(0); /* Should never reach here in Python 3 */
        #endif
	*cptr = SWIG_Python_str_AsChar(obj);
      }
    }
    if (psize) *psize = len + 1;
#if PY_VERSION_HEX>=0x03000000
    Py_XDECREF(obj);
#endif
    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;
}





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;
}


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 = (unsigned int)(v);
    }
  }  
  return res;
}


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


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


SWIGINTERNINLINE PyObject *
SWIG_From_short  (short value)
{    
  return SWIG_From_long  (value);
}


SWIGINTERN int
SWIG_AsVal_short (PyObject * obj, short *val)
{
  long v;
  int res = SWIG_AsVal_long (obj, &v);
  if (SWIG_IsOK(res)) {
    if ((v < SHRT_MIN || v > SHRT_MAX)) {
      return SWIG_OverflowError;
    } else {
      if (val) *val = (short)(v);
    }
  }  
  return res;
}


  #define SWIG_From_double   PyFloat_FromDouble 


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 = (float)(v);
    }
  }  
  return res;
}


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


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 = (size_t)(v);
  return res;
}


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) {
	free((char*)cptr);
	res = SWIG_DelNewMask(res);
      }      
      return res;
    }
    if (alloc == SWIG_NEWOBJ) free((char*)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 = (char)(v);
      } else {
	res = SWIG_OverflowError;
      }
    }
  }
  return res;
}


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


// declare some internal functions which are not in the header file.
void icalproperty_set_parent(icalproperty* property,
			     icalcomponent* component);
icalcomponent* icalproperty_get_parent(const icalproperty* property);

void icalvalue_set_parent(icalvalue* value,
			     icalproperty* property);
icalproperty* icalvalue_get_parent(icalvalue* value);

void icalparameter_set_parent(icalparameter* param,
			     icalproperty* property);
icalproperty* icalparameter_get_parent(icalparameter* value);

#ifdef __cplusplus
extern "C" {
#endif
SWIGINTERN PyObject *_wrap_icaltime_span_start_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltime_span *arg1 = (struct icaltime_span *) 0 ;
  time_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:icaltime_span_start_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltime_span, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltime_span_start_set" "', argument " "1"" of type '" "struct icaltime_span *""'"); 
  }
  arg1 = (struct icaltime_span *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icaltime_span_start_set" "', argument " "2"" of type '" "time_t""'");
  } 
  arg2 = (time_t)(val2);
  if (arg1) (arg1)->start = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltime_span_start_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltime_span *arg1 = (struct icaltime_span *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  time_t result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltime_span_start_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltime_span, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltime_span_start_get" "', argument " "1"" of type '" "struct icaltime_span *""'"); 
  }
  arg1 = (struct icaltime_span *)(argp1);
  result = (time_t) ((arg1)->start);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltime_span_end_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltime_span *arg1 = (struct icaltime_span *) 0 ;
  time_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:icaltime_span_end_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltime_span, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltime_span_end_set" "', argument " "1"" of type '" "struct icaltime_span *""'"); 
  }
  arg1 = (struct icaltime_span *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icaltime_span_end_set" "', argument " "2"" of type '" "time_t""'");
  } 
  arg2 = (time_t)(val2);
  if (arg1) (arg1)->end = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltime_span_end_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltime_span *arg1 = (struct icaltime_span *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  time_t result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltime_span_end_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltime_span, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltime_span_end_get" "', argument " "1"" of type '" "struct icaltime_span *""'"); 
  }
  arg1 = (struct icaltime_span *)(argp1);
  result = (time_t) ((arg1)->end);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltime_span_is_busy_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltime_span *arg1 = (struct icaltime_span *) 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:icaltime_span_is_busy_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltime_span, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltime_span_is_busy_set" "', argument " "1"" of type '" "struct icaltime_span *""'"); 
  }
  arg1 = (struct icaltime_span *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icaltime_span_is_busy_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  if (arg1) (arg1)->is_busy = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltime_span_is_busy_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltime_span *arg1 = (struct icaltime_span *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltime_span_is_busy_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltime_span, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltime_span_is_busy_get" "', argument " "1"" of type '" "struct icaltime_span *""'"); 
  }
  arg1 = (struct icaltime_span *)(argp1);
  result = (int) ((arg1)->is_busy);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_icaltime_span(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltime_span *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_icaltime_span")) SWIG_fail;
  result = (struct icaltime_span *)calloc(1, sizeof(struct icaltime_span));
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icaltime_span, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_icaltime_span(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltime_span *arg1 = (struct icaltime_span *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_icaltime_span",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltime_span, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_icaltime_span" "', argument " "1"" of type '" "struct icaltime_span *""'"); 
  }
  arg1 = (struct icaltime_span *)(argp1);
  free((char *) arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


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

SWIGINTERN PyObject *_wrap_icaltimetype_year_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype *arg1 = (struct icaltimetype *) 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:icaltimetype_year_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltimetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimetype_year_set" "', argument " "1"" of type '" "struct icaltimetype *""'"); 
  }
  arg1 = (struct icaltimetype *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icaltimetype_year_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  if (arg1) (arg1)->year = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimetype_year_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype *arg1 = (struct icaltimetype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltimetype_year_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltimetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimetype_year_get" "', argument " "1"" of type '" "struct icaltimetype *""'"); 
  }
  arg1 = (struct icaltimetype *)(argp1);
  result = (int) ((arg1)->year);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimetype_month_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype *arg1 = (struct icaltimetype *) 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:icaltimetype_month_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltimetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimetype_month_set" "', argument " "1"" of type '" "struct icaltimetype *""'"); 
  }
  arg1 = (struct icaltimetype *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icaltimetype_month_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  if (arg1) (arg1)->month = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimetype_month_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype *arg1 = (struct icaltimetype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltimetype_month_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltimetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimetype_month_get" "', argument " "1"" of type '" "struct icaltimetype *""'"); 
  }
  arg1 = (struct icaltimetype *)(argp1);
  result = (int) ((arg1)->month);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimetype_day_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype *arg1 = (struct icaltimetype *) 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:icaltimetype_day_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltimetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimetype_day_set" "', argument " "1"" of type '" "struct icaltimetype *""'"); 
  }
  arg1 = (struct icaltimetype *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icaltimetype_day_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  if (arg1) (arg1)->day = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimetype_day_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype *arg1 = (struct icaltimetype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltimetype_day_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltimetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimetype_day_get" "', argument " "1"" of type '" "struct icaltimetype *""'"); 
  }
  arg1 = (struct icaltimetype *)(argp1);
  result = (int) ((arg1)->day);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimetype_hour_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype *arg1 = (struct icaltimetype *) 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:icaltimetype_hour_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltimetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimetype_hour_set" "', argument " "1"" of type '" "struct icaltimetype *""'"); 
  }
  arg1 = (struct icaltimetype *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icaltimetype_hour_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  if (arg1) (arg1)->hour = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimetype_hour_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype *arg1 = (struct icaltimetype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltimetype_hour_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltimetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimetype_hour_get" "', argument " "1"" of type '" "struct icaltimetype *""'"); 
  }
  arg1 = (struct icaltimetype *)(argp1);
  result = (int) ((arg1)->hour);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimetype_minute_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype *arg1 = (struct icaltimetype *) 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:icaltimetype_minute_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltimetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimetype_minute_set" "', argument " "1"" of type '" "struct icaltimetype *""'"); 
  }
  arg1 = (struct icaltimetype *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icaltimetype_minute_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  if (arg1) (arg1)->minute = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimetype_minute_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype *arg1 = (struct icaltimetype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltimetype_minute_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltimetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimetype_minute_get" "', argument " "1"" of type '" "struct icaltimetype *""'"); 
  }
  arg1 = (struct icaltimetype *)(argp1);
  result = (int) ((arg1)->minute);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimetype_second_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype *arg1 = (struct icaltimetype *) 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:icaltimetype_second_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltimetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimetype_second_set" "', argument " "1"" of type '" "struct icaltimetype *""'"); 
  }
  arg1 = (struct icaltimetype *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icaltimetype_second_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  if (arg1) (arg1)->second = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimetype_second_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype *arg1 = (struct icaltimetype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltimetype_second_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltimetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimetype_second_get" "', argument " "1"" of type '" "struct icaltimetype *""'"); 
  }
  arg1 = (struct icaltimetype *)(argp1);
  result = (int) ((arg1)->second);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimetype_is_utc_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype *arg1 = (struct icaltimetype *) 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:icaltimetype_is_utc_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltimetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimetype_is_utc_set" "', argument " "1"" of type '" "struct icaltimetype *""'"); 
  }
  arg1 = (struct icaltimetype *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icaltimetype_is_utc_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  if (arg1) (arg1)->is_utc = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimetype_is_utc_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype *arg1 = (struct icaltimetype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltimetype_is_utc_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltimetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimetype_is_utc_get" "', argument " "1"" of type '" "struct icaltimetype *""'"); 
  }
  arg1 = (struct icaltimetype *)(argp1);
  result = (int) ((arg1)->is_utc);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimetype_is_date_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype *arg1 = (struct icaltimetype *) 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:icaltimetype_is_date_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltimetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimetype_is_date_set" "', argument " "1"" of type '" "struct icaltimetype *""'"); 
  }
  arg1 = (struct icaltimetype *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icaltimetype_is_date_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  if (arg1) (arg1)->is_date = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimetype_is_date_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype *arg1 = (struct icaltimetype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltimetype_is_date_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltimetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimetype_is_date_get" "', argument " "1"" of type '" "struct icaltimetype *""'"); 
  }
  arg1 = (struct icaltimetype *)(argp1);
  result = (int) ((arg1)->is_date);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimetype_is_daylight_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype *arg1 = (struct icaltimetype *) 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:icaltimetype_is_daylight_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltimetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimetype_is_daylight_set" "', argument " "1"" of type '" "struct icaltimetype *""'"); 
  }
  arg1 = (struct icaltimetype *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icaltimetype_is_daylight_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  if (arg1) (arg1)->is_daylight = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimetype_is_daylight_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype *arg1 = (struct icaltimetype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltimetype_is_daylight_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltimetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimetype_is_daylight_get" "', argument " "1"" of type '" "struct icaltimetype *""'"); 
  }
  arg1 = (struct icaltimetype *)(argp1);
  result = (int) ((arg1)->is_daylight);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimetype_zone_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype *arg1 = (struct icaltimetype *) 0 ;
  icaltimezone *arg2 = (icaltimezone *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icaltimetype_zone_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltimetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimetype_zone_set" "', argument " "1"" of type '" "struct icaltimetype *""'"); 
  }
  arg1 = (struct icaltimetype *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p__icaltimezone, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icaltimetype_zone_set" "', argument " "2"" of type '" "icaltimezone const *""'"); 
  }
  arg2 = (icaltimezone *)(argp2);
  if (arg1) (arg1)->zone = (icaltimezone const *)arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimetype_zone_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype *arg1 = (struct icaltimetype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icaltimezone *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltimetype_zone_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltimetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimetype_zone_get" "', argument " "1"" of type '" "struct icaltimetype *""'"); 
  }
  arg1 = (struct icaltimetype *)(argp1);
  result = (icaltimezone *) ((arg1)->zone);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__icaltimezone, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimetype_as_timet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype *arg1 = (struct icaltimetype *) 0 ;
  icaltimezone *arg2 = (icaltimezone *) NULL ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  time_t result;
  
  if (!PyArg_ParseTuple(args,(char *)"O|O:icaltimetype_as_timet",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltimetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimetype_as_timet" "', argument " "1"" of type '" "struct icaltimetype *""'"); 
  }
  arg1 = (struct icaltimetype *)(argp1);
  if (obj1) {
    res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p__icaltimezone, 0 |  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icaltimetype_as_timet" "', argument " "2"" of type '" "icaltimezone const *""'"); 
    }
    arg2 = (icaltimezone *)(argp2);
  }
  result = (time_t)icaltimetype_as_timet(arg1,(struct _icaltimezone const *)arg2);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimetype_from_timet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  time_t arg1 ;
  int arg2 = (int) (int)0 ;
  icaltimezone *arg3 = (icaltimezone *) NULL ;
  int val1 ;
  int ecode1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  struct icaltimetype result;
  
  if (!PyArg_ParseTuple(args,(char *)"O|OO:icaltimetype_from_timet",&obj0,&obj1,&obj2)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icaltimetype_from_timet" "', argument " "1"" of type '" "time_t""'");
  } 
  arg1 = (time_t)(val1);
  if (obj1) {
    ecode2 = SWIG_AsVal_int(obj1, &val2);
    if (!SWIG_IsOK(ecode2)) {
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icaltimetype_from_timet" "', argument " "2"" of type '" "int""'");
    } 
    arg2 = (int)(val2);
  }
  if (obj2) {
    res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p__icaltimezone, 0 |  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "icaltimetype_from_timet" "', argument " "3"" of type '" "icaltimezone const *""'"); 
    }
    arg3 = (icaltimezone *)(argp3);
  }
  result = icaltimetype_from_timet(arg1,arg2,(struct _icaltimezone const *)arg3);
  resultobj = SWIG_NewPointerObj((struct icaltimetype *)memcpy((struct icaltimetype *)malloc(sizeof(struct icaltimetype)),&result,sizeof(struct icaltimetype)), SWIGTYPE_p_icaltimetype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_icaltimetype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_icaltimetype")) SWIG_fail;
  result = (struct icaltimetype *)calloc(1, sizeof(struct icaltimetype));
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icaltimetype, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_icaltimetype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype *arg1 = (struct icaltimetype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_icaltimetype",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltimetype, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_icaltimetype" "', argument " "1"" of type '" "struct icaltimetype *""'"); 
  }
  arg1 = (struct icaltimetype *)(argp1);
  free((char *) arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


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

SWIGINTERN PyObject *_wrap_icaltime_null_time(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype result;
  
  if (!PyArg_ParseTuple(args,(char *)":icaltime_null_time")) SWIG_fail;
  result = icaltime_null_time();
  resultobj = SWIG_NewPointerObj((struct icaltimetype *)memcpy((struct icaltimetype *)malloc(sizeof(struct icaltimetype)),&result,sizeof(struct icaltimetype)), SWIGTYPE_p_icaltimetype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltime_null_date(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype result;
  
  if (!PyArg_ParseTuple(args,(char *)":icaltime_null_date")) SWIG_fail;
  result = icaltime_null_date();
  resultobj = SWIG_NewPointerObj((struct icaltimetype *)memcpy((struct icaltimetype *)malloc(sizeof(struct icaltimetype)),&result,sizeof(struct icaltimetype)), SWIGTYPE_p_icaltimetype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltime_current_time_with_zone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icaltimezone *arg1 = (icaltimezone *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icaltimetype result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltime_current_time_with_zone",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__icaltimezone, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltime_current_time_with_zone" "', argument " "1"" of type '" "icaltimezone const *""'"); 
  }
  arg1 = (icaltimezone *)(argp1);
  result = icaltime_current_time_with_zone((struct _icaltimezone const *)arg1);
  resultobj = SWIG_NewPointerObj((struct icaltimetype *)memcpy((struct icaltimetype *)malloc(sizeof(struct icaltimetype)),&result,sizeof(struct icaltimetype)), SWIGTYPE_p_icaltimetype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltime_today(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype result;
  
  if (!PyArg_ParseTuple(args,(char *)":icaltime_today")) SWIG_fail;
  result = icaltime_today();
  resultobj = SWIG_NewPointerObj((struct icaltimetype *)memcpy((struct icaltimetype *)malloc(sizeof(struct icaltimetype)),&result,sizeof(struct icaltimetype)), SWIGTYPE_p_icaltimetype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltime_from_timet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  time_t arg1 ;
  int arg2 ;
  int val1 ;
  int ecode1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  struct icaltimetype result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icaltime_from_timet",&obj0,&obj1)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icaltime_from_timet" "', argument " "1"" of type '" "time_t""'");
  } 
  arg1 = (time_t)(val1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icaltime_from_timet" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  result = icaltime_from_timet(arg1,arg2);
  resultobj = SWIG_NewPointerObj((struct icaltimetype *)memcpy((struct icaltimetype *)malloc(sizeof(struct icaltimetype)),&result,sizeof(struct icaltimetype)), SWIGTYPE_p_icaltimetype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltime_from_timet_with_zone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  time_t arg1 ;
  int arg2 ;
  icaltimezone *arg3 = (icaltimezone *) 0 ;
  int val1 ;
  int ecode1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  struct icaltimetype result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:icaltime_from_timet_with_zone",&obj0,&obj1,&obj2)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icaltime_from_timet_with_zone" "', argument " "1"" of type '" "time_t""'");
  } 
  arg1 = (time_t)(val1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icaltime_from_timet_with_zone" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p__icaltimezone, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "icaltime_from_timet_with_zone" "', argument " "3"" of type '" "icaltimezone const *""'"); 
  }
  arg3 = (icaltimezone *)(argp3);
  result = icaltime_from_timet_with_zone(arg1,arg2,(struct _icaltimezone const *)arg3);
  resultobj = SWIG_NewPointerObj((struct icaltimetype *)memcpy((struct icaltimetype *)malloc(sizeof(struct icaltimetype)),&result,sizeof(struct icaltimetype)), SWIGTYPE_p_icaltimetype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltime_from_string(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icaltimetype result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltime_from_string",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltime_from_string" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = icaltime_from_string((char const *)arg1);
  resultobj = SWIG_NewPointerObj((struct icaltimetype *)memcpy((struct icaltimetype *)malloc(sizeof(struct icaltimetype)),&result,sizeof(struct icaltimetype)), SWIGTYPE_p_icaltimetype, SWIG_POINTER_OWN |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltime_from_day_of_year(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int arg1 ;
  int arg2 ;
  int val1 ;
  int ecode1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  struct icaltimetype result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icaltime_from_day_of_year",&obj0,&obj1)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icaltime_from_day_of_year" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = (int)(val1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icaltime_from_day_of_year" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  result = icaltime_from_day_of_year(arg1,arg2);
  resultobj = SWIG_NewPointerObj((struct icaltimetype *)memcpy((struct icaltimetype *)malloc(sizeof(struct icaltimetype)),&result,sizeof(struct icaltimetype)), SWIGTYPE_p_icaltimetype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltime_as_timet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  time_t result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltime_as_timet",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltime_as_timet" "', argument " "1"" of type '" "struct icaltimetype const""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icaltime_as_timet" "', argument " "1"" of type '" "struct icaltimetype const""'");
    } else {
      arg1 = *((struct icaltimetype *)(argp1));
    }
  }
  result = (time_t)icaltime_as_timet(arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltime_as_timet_with_zone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype arg1 ;
  icaltimezone *arg2 = (icaltimezone *) 0 ;
  void *argp1 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  time_t result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icaltime_as_timet_with_zone",&obj0,&obj1)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltime_as_timet_with_zone" "', argument " "1"" of type '" "struct icaltimetype const""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icaltime_as_timet_with_zone" "', argument " "1"" of type '" "struct icaltimetype const""'");
    } else {
      arg1 = *((struct icaltimetype *)(argp1));
    }
  }
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p__icaltimezone, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icaltime_as_timet_with_zone" "', argument " "2"" of type '" "icaltimezone const *""'"); 
  }
  arg2 = (icaltimezone *)(argp2);
  result = (time_t)icaltime_as_timet_with_zone(arg1,(struct _icaltimezone const *)arg2);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltime_as_ical_string(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltime_as_ical_string",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltime_as_ical_string" "', argument " "1"" of type '" "struct icaltimetype const""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icaltime_as_ical_string" "', argument " "1"" of type '" "struct icaltimetype const""'");
    } else {
      arg1 = *((struct icaltimetype *)(argp1));
    }
  }
  result = (char *)icaltime_as_ical_string(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltime_as_ical_string_r(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltime_as_ical_string_r",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltime_as_ical_string_r" "', argument " "1"" of type '" "struct icaltimetype const""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icaltime_as_ical_string_r" "', argument " "1"" of type '" "struct icaltimetype const""'");
    } else {
      arg1 = *((struct icaltimetype *)(argp1));
    }
  }
  result = (char *)icaltime_as_ical_string_r(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltime_get_timezone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icaltimezone *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltime_get_timezone",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltime_get_timezone" "', argument " "1"" of type '" "struct icaltimetype const""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icaltime_get_timezone" "', argument " "1"" of type '" "struct icaltimetype const""'");
    } else {
      arg1 = *((struct icaltimetype *)(argp1));
    }
  }
  result = (icaltimezone *)icaltime_get_timezone(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__icaltimezone, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltime_get_tzid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltime_get_tzid",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltime_get_tzid" "', argument " "1"" of type '" "struct icaltimetype const""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icaltime_get_tzid" "', argument " "1"" of type '" "struct icaltimetype const""'");
    } else {
      arg1 = *((struct icaltimetype *)(argp1));
    }
  }
  result = (char *)icaltime_get_tzid(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltime_set_timezone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype *arg1 = (struct icaltimetype *) 0 ;
  icaltimezone *arg2 = (icaltimezone *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  struct icaltimetype result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icaltime_set_timezone",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltimetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltime_set_timezone" "', argument " "1"" of type '" "struct icaltimetype *""'"); 
  }
  arg1 = (struct icaltimetype *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p__icaltimezone, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icaltime_set_timezone" "', argument " "2"" of type '" "icaltimezone const *""'"); 
  }
  arg2 = (icaltimezone *)(argp2);
  result = icaltime_set_timezone(arg1,(struct _icaltimezone const *)arg2);
  resultobj = SWIG_NewPointerObj((struct icaltimetype *)memcpy((struct icaltimetype *)malloc(sizeof(struct icaltimetype)),&result,sizeof(struct icaltimetype)), SWIGTYPE_p_icaltimetype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltime_day_of_year(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltime_day_of_year",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltime_day_of_year" "', argument " "1"" of type '" "struct icaltimetype const""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icaltime_day_of_year" "', argument " "1"" of type '" "struct icaltimetype const""'");
    } else {
      arg1 = *((struct icaltimetype *)(argp1));
    }
  }
  result = (int)icaltime_day_of_year(arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltime_day_of_week(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltime_day_of_week",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltime_day_of_week" "', argument " "1"" of type '" "struct icaltimetype const""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icaltime_day_of_week" "', argument " "1"" of type '" "struct icaltimetype const""'");
    } else {
      arg1 = *((struct icaltimetype *)(argp1));
    }
  }
  result = (int)icaltime_day_of_week(arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltime_start_doy_week(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype arg1 ;
  int arg2 ;
  void *argp1 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icaltime_start_doy_week",&obj0,&obj1)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltime_start_doy_week" "', argument " "1"" of type '" "struct icaltimetype const""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icaltime_start_doy_week" "', argument " "1"" of type '" "struct icaltimetype const""'");
    } else {
      arg1 = *((struct icaltimetype *)(argp1));
    }
  }
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icaltime_start_doy_week" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  result = (int)icaltime_start_doy_week(arg1,arg2);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltime_week_number(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltime_week_number",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltime_week_number" "', argument " "1"" of type '" "struct icaltimetype const""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icaltime_week_number" "', argument " "1"" of type '" "struct icaltimetype const""'");
    } else {
      arg1 = *((struct icaltimetype *)(argp1));
    }
  }
  result = (int)icaltime_week_number(arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltime_is_null_time(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltime_is_null_time",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltime_is_null_time" "', argument " "1"" of type '" "struct icaltimetype const""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icaltime_is_null_time" "', argument " "1"" of type '" "struct icaltimetype const""'");
    } else {
      arg1 = *((struct icaltimetype *)(argp1));
    }
  }
  result = (int)icaltime_is_null_time(arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltime_is_valid_time(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltime_is_valid_time",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltime_is_valid_time" "', argument " "1"" of type '" "struct icaltimetype const""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icaltime_is_valid_time" "', argument " "1"" of type '" "struct icaltimetype const""'");
    } else {
      arg1 = *((struct icaltimetype *)(argp1));
    }
  }
  result = (int)icaltime_is_valid_time(arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltime_is_date(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltime_is_date",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltime_is_date" "', argument " "1"" of type '" "struct icaltimetype const""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icaltime_is_date" "', argument " "1"" of type '" "struct icaltimetype const""'");
    } else {
      arg1 = *((struct icaltimetype *)(argp1));
    }
  }
  result = (int)icaltime_is_date(arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltime_is_utc(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltime_is_utc",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltime_is_utc" "', argument " "1"" of type '" "struct icaltimetype const""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icaltime_is_utc" "', argument " "1"" of type '" "struct icaltimetype const""'");
    } else {
      arg1 = *((struct icaltimetype *)(argp1));
    }
  }
  result = (int)icaltime_is_utc(arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltime_compare(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype arg1 ;
  struct icaltimetype arg2 ;
  void *argp1 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icaltime_compare",&obj0,&obj1)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltime_compare" "', argument " "1"" of type '" "struct icaltimetype const""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icaltime_compare" "', argument " "1"" of type '" "struct icaltimetype const""'");
    } else {
      arg1 = *((struct icaltimetype *)(argp1));
    }
  }
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icaltime_compare" "', argument " "2"" of type '" "struct icaltimetype const""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icaltime_compare" "', argument " "2"" of type '" "struct icaltimetype const""'");
    } else {
      arg2 = *((struct icaltimetype *)(argp2));
    }
  }
  result = (int)icaltime_compare(arg1,arg2);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltime_compare_date_only(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype arg1 ;
  struct icaltimetype arg2 ;
  void *argp1 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icaltime_compare_date_only",&obj0,&obj1)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltime_compare_date_only" "', argument " "1"" of type '" "struct icaltimetype const""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icaltime_compare_date_only" "', argument " "1"" of type '" "struct icaltimetype const""'");
    } else {
      arg1 = *((struct icaltimetype *)(argp1));
    }
  }
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icaltime_compare_date_only" "', argument " "2"" of type '" "struct icaltimetype const""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icaltime_compare_date_only" "', argument " "2"" of type '" "struct icaltimetype const""'");
    } else {
      arg2 = *((struct icaltimetype *)(argp2));
    }
  }
  result = (int)icaltime_compare_date_only(arg1,arg2);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltime_compare_date_only_tz(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype arg1 ;
  struct icaltimetype arg2 ;
  icaltimezone *arg3 = (icaltimezone *) 0 ;
  void *argp1 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:icaltime_compare_date_only_tz",&obj0,&obj1,&obj2)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltime_compare_date_only_tz" "', argument " "1"" of type '" "struct icaltimetype const""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icaltime_compare_date_only_tz" "', argument " "1"" of type '" "struct icaltimetype const""'");
    } else {
      arg1 = *((struct icaltimetype *)(argp1));
    }
  }
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icaltime_compare_date_only_tz" "', argument " "2"" of type '" "struct icaltimetype const""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icaltime_compare_date_only_tz" "', argument " "2"" of type '" "struct icaltimetype const""'");
    } else {
      arg2 = *((struct icaltimetype *)(argp2));
    }
  }
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p__icaltimezone, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "icaltime_compare_date_only_tz" "', argument " "3"" of type '" "icaltimezone *""'"); 
  }
  arg3 = (icaltimezone *)(argp3);
  result = (int)icaltime_compare_date_only_tz(arg1,arg2,arg3);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltime_adjust(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype *arg1 = (struct icaltimetype *) 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:icaltime_adjust",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltimetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltime_adjust" "', argument " "1"" of type '" "struct icaltimetype *""'"); 
  }
  arg1 = (struct icaltimetype *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icaltime_adjust" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "icaltime_adjust" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = (int)(val3);
  ecode4 = SWIG_AsVal_int(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "icaltime_adjust" "', argument " "4"" of type '" "int""'");
  } 
  arg4 = (int)(val4);
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "icaltime_adjust" "', argument " "5"" of type '" "int""'");
  } 
  arg5 = (int)(val5);
  icaltime_adjust(arg1,arg2,arg3,arg4,arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltime_normalize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icaltimetype result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltime_normalize",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltime_normalize" "', argument " "1"" of type '" "struct icaltimetype const""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icaltime_normalize" "', argument " "1"" of type '" "struct icaltimetype const""'");
    } else {
      arg1 = *((struct icaltimetype *)(argp1));
    }
  }
  result = icaltime_normalize(arg1);
  resultobj = SWIG_NewPointerObj((struct icaltimetype *)memcpy((struct icaltimetype *)malloc(sizeof(struct icaltimetype)),&result,sizeof(struct icaltimetype)), SWIGTYPE_p_icaltimetype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltime_convert_to_zone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype arg1 ;
  icaltimezone *arg2 = (icaltimezone *) 0 ;
  void *argp1 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  struct icaltimetype result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icaltime_convert_to_zone",&obj0,&obj1)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltime_convert_to_zone" "', argument " "1"" of type '" "struct icaltimetype const""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icaltime_convert_to_zone" "', argument " "1"" of type '" "struct icaltimetype const""'");
    } else {
      arg1 = *((struct icaltimetype *)(argp1));
    }
  }
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p__icaltimezone, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icaltime_convert_to_zone" "', argument " "2"" of type '" "icaltimezone *""'"); 
  }
  arg2 = (icaltimezone *)(argp2);
  result = icaltime_convert_to_zone(arg1,arg2);
  resultobj = SWIG_NewPointerObj((struct icaltimetype *)memcpy((struct icaltimetype *)malloc(sizeof(struct icaltimetype)),&result,sizeof(struct icaltimetype)), SWIGTYPE_p_icaltimetype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


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


SWIGINTERN PyObject *_wrap_icaltime_is_leap_year(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltime_is_leap_year",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icaltime_is_leap_year" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = (int)(val1);
  result = (int)icaltime_is_leap_year(arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltime_span_new(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype arg1 ;
  struct icaltimetype arg2 ;
  int arg3 ;
  void *argp1 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  struct icaltime_span result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:icaltime_span_new",&obj0,&obj1,&obj2)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltime_span_new" "', argument " "1"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icaltime_span_new" "', argument " "1"" of type '" "struct icaltimetype""'");
    } else {
      arg1 = *((struct icaltimetype *)(argp1));
    }
  }
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icaltime_span_new" "', argument " "2"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icaltime_span_new" "', argument " "2"" of type '" "struct icaltimetype""'");
    } else {
      arg2 = *((struct icaltimetype *)(argp2));
    }
  }
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "icaltime_span_new" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = (int)(val3);
  result = icaltime_span_new(arg1,arg2,arg3);
  resultobj = SWIG_NewPointerObj((struct icaltime_span *)memcpy((struct icaltime_span *)malloc(sizeof(struct icaltime_span)),&result,sizeof(struct icaltime_span)), SWIGTYPE_p_icaltime_span, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltime_span_overlaps(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icaltime_span *arg1 = (icaltime_span *) 0 ;
  icaltime_span *arg2 = (icaltime_span *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icaltime_span_overlaps",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltime_span, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltime_span_overlaps" "', argument " "1"" of type '" "icaltime_span *""'"); 
  }
  arg1 = (icaltime_span *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icaltime_span, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icaltime_span_overlaps" "', argument " "2"" of type '" "icaltime_span *""'"); 
  }
  arg2 = (icaltime_span *)(argp2);
  result = (int)icaltime_span_overlaps(arg1,arg2);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltime_span_contains(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icaltime_span *arg1 = (icaltime_span *) 0 ;
  icaltime_span *arg2 = (icaltime_span *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icaltime_span_contains",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltime_span, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltime_span_contains" "', argument " "1"" of type '" "icaltime_span *""'"); 
  }
  arg1 = (icaltime_span *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icaltime_span, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icaltime_span_contains" "', argument " "2"" of type '" "icaltime_span *""'"); 
  }
  arg2 = (icaltime_span *)(argp2);
  result = (int)icaltime_span_contains(arg1,arg2);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaldurationtype_is_neg_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaldurationtype *arg1 = (struct icaldurationtype *) 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:icaldurationtype_is_neg_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaldurationtype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaldurationtype_is_neg_set" "', argument " "1"" of type '" "struct icaldurationtype *""'"); 
  }
  arg1 = (struct icaldurationtype *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icaldurationtype_is_neg_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  if (arg1) (arg1)->is_neg = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaldurationtype_is_neg_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaldurationtype *arg1 = (struct icaldurationtype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaldurationtype_is_neg_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaldurationtype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaldurationtype_is_neg_get" "', argument " "1"" of type '" "struct icaldurationtype *""'"); 
  }
  arg1 = (struct icaldurationtype *)(argp1);
  result = (int) ((arg1)->is_neg);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaldurationtype_days_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaldurationtype *arg1 = (struct icaldurationtype *) 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:icaldurationtype_days_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaldurationtype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaldurationtype_days_set" "', argument " "1"" of type '" "struct icaldurationtype *""'"); 
  }
  arg1 = (struct icaldurationtype *)(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icaldurationtype_days_set" "', argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = (unsigned int)(val2);
  if (arg1) (arg1)->days = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaldurationtype_days_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaldurationtype *arg1 = (struct icaldurationtype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  unsigned int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaldurationtype_days_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaldurationtype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaldurationtype_days_get" "', argument " "1"" of type '" "struct icaldurationtype *""'"); 
  }
  arg1 = (struct icaldurationtype *)(argp1);
  result = (unsigned int) ((arg1)->days);
  resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaldurationtype_weeks_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaldurationtype *arg1 = (struct icaldurationtype *) 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:icaldurationtype_weeks_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaldurationtype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaldurationtype_weeks_set" "', argument " "1"" of type '" "struct icaldurationtype *""'"); 
  }
  arg1 = (struct icaldurationtype *)(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icaldurationtype_weeks_set" "', argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = (unsigned int)(val2);
  if (arg1) (arg1)->weeks = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaldurationtype_weeks_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaldurationtype *arg1 = (struct icaldurationtype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  unsigned int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaldurationtype_weeks_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaldurationtype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaldurationtype_weeks_get" "', argument " "1"" of type '" "struct icaldurationtype *""'"); 
  }
  arg1 = (struct icaldurationtype *)(argp1);
  result = (unsigned int) ((arg1)->weeks);
  resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaldurationtype_hours_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaldurationtype *arg1 = (struct icaldurationtype *) 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:icaldurationtype_hours_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaldurationtype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaldurationtype_hours_set" "', argument " "1"" of type '" "struct icaldurationtype *""'"); 
  }
  arg1 = (struct icaldurationtype *)(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icaldurationtype_hours_set" "', argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = (unsigned int)(val2);
  if (arg1) (arg1)->hours = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaldurationtype_hours_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaldurationtype *arg1 = (struct icaldurationtype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  unsigned int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaldurationtype_hours_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaldurationtype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaldurationtype_hours_get" "', argument " "1"" of type '" "struct icaldurationtype *""'"); 
  }
  arg1 = (struct icaldurationtype *)(argp1);
  result = (unsigned int) ((arg1)->hours);
  resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaldurationtype_minutes_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaldurationtype *arg1 = (struct icaldurationtype *) 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:icaldurationtype_minutes_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaldurationtype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaldurationtype_minutes_set" "', argument " "1"" of type '" "struct icaldurationtype *""'"); 
  }
  arg1 = (struct icaldurationtype *)(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icaldurationtype_minutes_set" "', argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = (unsigned int)(val2);
  if (arg1) (arg1)->minutes = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaldurationtype_minutes_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaldurationtype *arg1 = (struct icaldurationtype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  unsigned int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaldurationtype_minutes_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaldurationtype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaldurationtype_minutes_get" "', argument " "1"" of type '" "struct icaldurationtype *""'"); 
  }
  arg1 = (struct icaldurationtype *)(argp1);
  result = (unsigned int) ((arg1)->minutes);
  resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaldurationtype_seconds_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaldurationtype *arg1 = (struct icaldurationtype *) 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:icaldurationtype_seconds_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaldurationtype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaldurationtype_seconds_set" "', argument " "1"" of type '" "struct icaldurationtype *""'"); 
  }
  arg1 = (struct icaldurationtype *)(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icaldurationtype_seconds_set" "', argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = (unsigned int)(val2);
  if (arg1) (arg1)->seconds = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaldurationtype_seconds_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaldurationtype *arg1 = (struct icaldurationtype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  unsigned int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaldurationtype_seconds_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaldurationtype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaldurationtype_seconds_get" "', argument " "1"" of type '" "struct icaldurationtype *""'"); 
  }
  arg1 = (struct icaldurationtype *)(argp1);
  result = (unsigned int) ((arg1)->seconds);
  resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_icaldurationtype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaldurationtype *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_icaldurationtype")) SWIG_fail;
  result = (struct icaldurationtype *)calloc(1, sizeof(struct icaldurationtype));
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icaldurationtype, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_icaldurationtype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaldurationtype *arg1 = (struct icaldurationtype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_icaldurationtype",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaldurationtype, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_icaldurationtype" "', argument " "1"" of type '" "struct icaldurationtype *""'"); 
  }
  arg1 = (struct icaldurationtype *)(argp1);
  free((char *) arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


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

SWIGINTERN PyObject *_wrap_icaldurationtype_from_int(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icaldurationtype result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaldurationtype_from_int",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icaldurationtype_from_int" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = (int)(val1);
  result = icaldurationtype_from_int(arg1);
  resultobj = SWIG_NewPointerObj((struct icaldurationtype *)memcpy((struct icaldurationtype *)malloc(sizeof(struct icaldurationtype)),&result,sizeof(struct icaldurationtype)), SWIGTYPE_p_icaldurationtype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaldurationtype_from_string(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icaldurationtype result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaldurationtype_from_string",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaldurationtype_from_string" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = icaldurationtype_from_string((char const *)arg1);
  resultobj = SWIG_NewPointerObj((struct icaldurationtype *)memcpy((struct icaldurationtype *)malloc(sizeof(struct icaldurationtype)),&result,sizeof(struct icaldurationtype)), SWIGTYPE_p_icaldurationtype, SWIG_POINTER_OWN |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaldurationtype_as_int(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaldurationtype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaldurationtype_as_int",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaldurationtype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaldurationtype_as_int" "', argument " "1"" of type '" "struct icaldurationtype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icaldurationtype_as_int" "', argument " "1"" of type '" "struct icaldurationtype""'");
    } else {
      arg1 = *((struct icaldurationtype *)(argp1));
    }
  }
  result = (int)icaldurationtype_as_int(arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaldurationtype_as_ical_string(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaldurationtype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaldurationtype_as_ical_string",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaldurationtype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaldurationtype_as_ical_string" "', argument " "1"" of type '" "struct icaldurationtype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icaldurationtype_as_ical_string" "', argument " "1"" of type '" "struct icaldurationtype""'");
    } else {
      arg1 = *((struct icaldurationtype *)(argp1));
    }
  }
  result = (char *)icaldurationtype_as_ical_string(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaldurationtype_as_ical_string_r(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaldurationtype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaldurationtype_as_ical_string_r",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaldurationtype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaldurationtype_as_ical_string_r" "', argument " "1"" of type '" "struct icaldurationtype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icaldurationtype_as_ical_string_r" "', argument " "1"" of type '" "struct icaldurationtype""'");
    } else {
      arg1 = *((struct icaldurationtype *)(argp1));
    }
  }
  result = (char *)icaldurationtype_as_ical_string_r(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaldurationtype_null_duration(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaldurationtype result;
  
  if (!PyArg_ParseTuple(args,(char *)":icaldurationtype_null_duration")) SWIG_fail;
  result = icaldurationtype_null_duration();
  resultobj = SWIG_NewPointerObj((struct icaldurationtype *)memcpy((struct icaldurationtype *)malloc(sizeof(struct icaldurationtype)),&result,sizeof(struct icaldurationtype)), SWIGTYPE_p_icaldurationtype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaldurationtype_bad_duration(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaldurationtype result;
  
  if (!PyArg_ParseTuple(args,(char *)":icaldurationtype_bad_duration")) SWIG_fail;
  result = icaldurationtype_bad_duration();
  resultobj = SWIG_NewPointerObj((struct icaldurationtype *)memcpy((struct icaldurationtype *)malloc(sizeof(struct icaldurationtype)),&result,sizeof(struct icaldurationtype)), SWIGTYPE_p_icaldurationtype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaldurationtype_is_null_duration(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaldurationtype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaldurationtype_is_null_duration",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaldurationtype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaldurationtype_is_null_duration" "', argument " "1"" of type '" "struct icaldurationtype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icaldurationtype_is_null_duration" "', argument " "1"" of type '" "struct icaldurationtype""'");
    } else {
      arg1 = *((struct icaldurationtype *)(argp1));
    }
  }
  result = (int)icaldurationtype_is_null_duration(arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaldurationtype_is_bad_duration(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaldurationtype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaldurationtype_is_bad_duration",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaldurationtype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaldurationtype_is_bad_duration" "', argument " "1"" of type '" "struct icaldurationtype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icaldurationtype_is_bad_duration" "', argument " "1"" of type '" "struct icaldurationtype""'");
    } else {
      arg1 = *((struct icaldurationtype *)(argp1));
    }
  }
  result = (int)icaldurationtype_is_bad_duration(arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltime_add(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype arg1 ;
  struct icaldurationtype arg2 ;
  void *argp1 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  struct icaltimetype result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icaltime_add",&obj0,&obj1)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltime_add" "', argument " "1"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icaltime_add" "', argument " "1"" of type '" "struct icaltimetype""'");
    } else {
      arg1 = *((struct icaltimetype *)(argp1));
    }
  }
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_icaldurationtype,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icaltime_add" "', argument " "2"" of type '" "struct icaldurationtype""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icaltime_add" "', argument " "2"" of type '" "struct icaldurationtype""'");
    } else {
      arg2 = *((struct icaldurationtype *)(argp2));
    }
  }
  result = icaltime_add(arg1,arg2);
  resultobj = SWIG_NewPointerObj((struct icaltimetype *)memcpy((struct icaltimetype *)malloc(sizeof(struct icaltimetype)),&result,sizeof(struct icaltimetype)), SWIGTYPE_p_icaltimetype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltime_subtract(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype arg1 ;
  struct icaltimetype arg2 ;
  void *argp1 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  struct icaldurationtype result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icaltime_subtract",&obj0,&obj1)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltime_subtract" "', argument " "1"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icaltime_subtract" "', argument " "1"" of type '" "struct icaltimetype""'");
    } else {
      arg1 = *((struct icaltimetype *)(argp1));
    }
  }
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icaltime_subtract" "', argument " "2"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icaltime_subtract" "', argument " "2"" of type '" "struct icaltimetype""'");
    } else {
      arg2 = *((struct icaltimetype *)(argp2));
    }
  }
  result = icaltime_subtract(arg1,arg2);
  resultobj = SWIG_NewPointerObj((struct icaldurationtype *)memcpy((struct icaldurationtype *)malloc(sizeof(struct icaldurationtype)),&result,sizeof(struct icaldurationtype)), SWIGTYPE_p_icaldurationtype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalperiodtype_start_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalperiodtype *arg1 = (struct icalperiodtype *) 0 ;
  struct icaltimetype *arg2 = (struct icaltimetype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalperiodtype_start_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalperiodtype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalperiodtype_start_set" "', argument " "1"" of type '" "struct icalperiodtype *""'"); 
  }
  arg1 = (struct icalperiodtype *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icaltimetype, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalperiodtype_start_set" "', argument " "2"" of type '" "struct icaltimetype *""'"); 
  }
  arg2 = (struct icaltimetype *)(argp2);
  if (arg1) (arg1)->start = *arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalperiodtype_start_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalperiodtype *arg1 = (struct icalperiodtype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icaltimetype *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalperiodtype_start_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalperiodtype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalperiodtype_start_get" "', argument " "1"" of type '" "struct icalperiodtype *""'"); 
  }
  arg1 = (struct icalperiodtype *)(argp1);
  result = (struct icaltimetype *)& ((arg1)->start);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icaltimetype, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalperiodtype_end_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalperiodtype *arg1 = (struct icalperiodtype *) 0 ;
  struct icaltimetype *arg2 = (struct icaltimetype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalperiodtype_end_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalperiodtype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalperiodtype_end_set" "', argument " "1"" of type '" "struct icalperiodtype *""'"); 
  }
  arg1 = (struct icalperiodtype *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icaltimetype, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalperiodtype_end_set" "', argument " "2"" of type '" "struct icaltimetype *""'"); 
  }
  arg2 = (struct icaltimetype *)(argp2);
  if (arg1) (arg1)->end = *arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalperiodtype_end_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalperiodtype *arg1 = (struct icalperiodtype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icaltimetype *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalperiodtype_end_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalperiodtype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalperiodtype_end_get" "', argument " "1"" of type '" "struct icalperiodtype *""'"); 
  }
  arg1 = (struct icalperiodtype *)(argp1);
  result = (struct icaltimetype *)& ((arg1)->end);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icaltimetype, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalperiodtype_duration_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalperiodtype *arg1 = (struct icalperiodtype *) 0 ;
  struct icaldurationtype *arg2 = (struct icaldurationtype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalperiodtype_duration_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalperiodtype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalperiodtype_duration_set" "', argument " "1"" of type '" "struct icalperiodtype *""'"); 
  }
  arg1 = (struct icalperiodtype *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icaldurationtype, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalperiodtype_duration_set" "', argument " "2"" of type '" "struct icaldurationtype *""'"); 
  }
  arg2 = (struct icaldurationtype *)(argp2);
  if (arg1) (arg1)->duration = *arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalperiodtype_duration_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalperiodtype *arg1 = (struct icalperiodtype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icaldurationtype *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalperiodtype_duration_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalperiodtype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalperiodtype_duration_get" "', argument " "1"" of type '" "struct icalperiodtype *""'"); 
  }
  arg1 = (struct icalperiodtype *)(argp1);
  result = (struct icaldurationtype *)& ((arg1)->duration);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icaldurationtype, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_icalperiodtype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalperiodtype *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_icalperiodtype")) SWIG_fail;
  result = (struct icalperiodtype *)calloc(1, sizeof(struct icalperiodtype));
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalperiodtype, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_icalperiodtype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalperiodtype *arg1 = (struct icalperiodtype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_icalperiodtype",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalperiodtype, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_icalperiodtype" "', argument " "1"" of type '" "struct icalperiodtype *""'"); 
  }
  arg1 = (struct icalperiodtype *)(argp1);
  free((char *) arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


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

SWIGINTERN PyObject *_wrap_icalperiodtype_from_string(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icalperiodtype result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalperiodtype_from_string",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalperiodtype_from_string" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = icalperiodtype_from_string((char const *)arg1);
  resultobj = SWIG_NewPointerObj((struct icalperiodtype *)memcpy((struct icalperiodtype *)malloc(sizeof(struct icalperiodtype)),&result,sizeof(struct icalperiodtype)), SWIGTYPE_p_icalperiodtype, SWIG_POINTER_OWN |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalperiodtype_as_ical_string(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalperiodtype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalperiodtype_as_ical_string",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icalperiodtype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalperiodtype_as_ical_string" "', argument " "1"" of type '" "struct icalperiodtype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalperiodtype_as_ical_string" "', argument " "1"" of type '" "struct icalperiodtype""'");
    } else {
      arg1 = *((struct icalperiodtype *)(argp1));
    }
  }
  result = (char *)icalperiodtype_as_ical_string(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalperiodtype_as_ical_string_r(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalperiodtype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalperiodtype_as_ical_string_r",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icalperiodtype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalperiodtype_as_ical_string_r" "', argument " "1"" of type '" "struct icalperiodtype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalperiodtype_as_ical_string_r" "', argument " "1"" of type '" "struct icalperiodtype""'");
    } else {
      arg1 = *((struct icalperiodtype *)(argp1));
    }
  }
  result = (char *)icalperiodtype_as_ical_string_r(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalperiodtype_null_period(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalperiodtype result;
  
  if (!PyArg_ParseTuple(args,(char *)":icalperiodtype_null_period")) SWIG_fail;
  result = icalperiodtype_null_period();
  resultobj = SWIG_NewPointerObj((struct icalperiodtype *)memcpy((struct icalperiodtype *)malloc(sizeof(struct icalperiodtype)),&result,sizeof(struct icalperiodtype)), SWIGTYPE_p_icalperiodtype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalperiodtype_is_null_period(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalperiodtype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalperiodtype_is_null_period",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icalperiodtype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalperiodtype_is_null_period" "', argument " "1"" of type '" "struct icalperiodtype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalperiodtype_is_null_period" "', argument " "1"" of type '" "struct icalperiodtype""'");
    } else {
      arg1 = *((struct icalperiodtype *)(argp1));
    }
  }
  result = (int)icalperiodtype_is_null_period(arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalperiodtype_is_valid_period(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalperiodtype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalperiodtype_is_valid_period",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icalperiodtype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalperiodtype_is_valid_period" "', argument " "1"" of type '" "struct icalperiodtype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalperiodtype_is_valid_period" "', argument " "1"" of type '" "struct icalperiodtype""'");
    } else {
      arg1 = *((struct icalperiodtype *)(argp1));
    }
  }
  result = (int)icalperiodtype_is_valid_period(arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalenum_reqstat_desc(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalrequeststatus arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalenum_reqstat_desc",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalenum_reqstat_desc" "', argument " "1"" of type '" "icalrequeststatus""'");
  } 
  arg1 = (icalrequeststatus)(val1);
  result = (char *)icalenum_reqstat_desc(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalenum_reqstat_major(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalrequeststatus arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  short result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalenum_reqstat_major",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalenum_reqstat_major" "', argument " "1"" of type '" "icalrequeststatus""'");
  } 
  arg1 = (icalrequeststatus)(val1);
  result = (short)icalenum_reqstat_major(arg1);
  resultobj = SWIG_From_short((short)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalenum_reqstat_minor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalrequeststatus arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  short result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalenum_reqstat_minor",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalenum_reqstat_minor" "', argument " "1"" of type '" "icalrequeststatus""'");
  } 
  arg1 = (icalrequeststatus)(val1);
  result = (short)icalenum_reqstat_minor(arg1);
  resultobj = SWIG_From_short((short)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalenum_num_to_reqstat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  short arg1 ;
  short arg2 ;
  short val1 ;
  int ecode1 = 0 ;
  short val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  icalrequeststatus result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalenum_num_to_reqstat",&obj0,&obj1)) SWIG_fail;
  ecode1 = SWIG_AsVal_short(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalenum_num_to_reqstat" "', argument " "1"" of type '" "short""'");
  } 
  arg1 = (short)(val1);
  ecode2 = SWIG_AsVal_short(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalenum_num_to_reqstat" "', argument " "2"" of type '" "short""'");
  } 
  arg2 = (short)(val2);
  result = (icalrequeststatus)icalenum_num_to_reqstat(arg1,arg2);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalenum_reqstat_code(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalrequeststatus arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalenum_reqstat_code",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalenum_reqstat_code" "', argument " "1"" of type '" "icalrequeststatus""'");
  } 
  arg1 = (icalrequeststatus)(val1);
  result = (char *)icalenum_reqstat_code(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalenum_reqstat_code_r(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalrequeststatus arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalenum_reqstat_code_r",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalenum_reqstat_code_r" "', argument " "1"" of type '" "icalrequeststatus""'");
  } 
  arg1 = (icalrequeststatus)(val1);
  result = (char *)icalenum_reqstat_code_r(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalgeotype_lat_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalgeotype *arg1 = (struct icalgeotype *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalgeotype_lat_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalgeotype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalgeotype_lat_set" "', argument " "1"" of type '" "struct icalgeotype *""'"); 
  }
  arg1 = (struct icalgeotype *)(argp1);
  ecode2 = SWIG_AsVal_double(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalgeotype_lat_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = (double)(val2);
  if (arg1) (arg1)->lat = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalgeotype_lat_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalgeotype *arg1 = (struct icalgeotype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  double result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalgeotype_lat_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalgeotype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalgeotype_lat_get" "', argument " "1"" of type '" "struct icalgeotype *""'"); 
  }
  arg1 = (struct icalgeotype *)(argp1);
  result = (double) ((arg1)->lat);
  resultobj = SWIG_From_double((double)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalgeotype_lon_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalgeotype *arg1 = (struct icalgeotype *) 0 ;
  double arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalgeotype_lon_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalgeotype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalgeotype_lon_set" "', argument " "1"" of type '" "struct icalgeotype *""'"); 
  }
  arg1 = (struct icalgeotype *)(argp1);
  ecode2 = SWIG_AsVal_double(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalgeotype_lon_set" "', argument " "2"" of type '" "double""'");
  } 
  arg2 = (double)(val2);
  if (arg1) (arg1)->lon = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalgeotype_lon_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalgeotype *arg1 = (struct icalgeotype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  double result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalgeotype_lon_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalgeotype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalgeotype_lon_get" "', argument " "1"" of type '" "struct icalgeotype *""'"); 
  }
  arg1 = (struct icalgeotype *)(argp1);
  result = (double) ((arg1)->lon);
  resultobj = SWIG_From_double((double)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_icalgeotype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalgeotype *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_icalgeotype")) SWIG_fail;
  result = (struct icalgeotype *)calloc(1, sizeof(struct icalgeotype));
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalgeotype, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_icalgeotype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalgeotype *arg1 = (struct icalgeotype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_icalgeotype",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalgeotype, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_icalgeotype" "', argument " "1"" of type '" "struct icalgeotype *""'"); 
  }
  arg1 = (struct icalgeotype *)(argp1);
  free((char *) arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


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

SWIGINTERN PyObject *_wrap_icaldatetimeperiodtype_time_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaldatetimeperiodtype *arg1 = (struct icaldatetimeperiodtype *) 0 ;
  struct icaltimetype *arg2 = (struct icaltimetype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icaldatetimeperiodtype_time_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaldatetimeperiodtype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaldatetimeperiodtype_time_set" "', argument " "1"" of type '" "struct icaldatetimeperiodtype *""'"); 
  }
  arg1 = (struct icaldatetimeperiodtype *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icaltimetype, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icaldatetimeperiodtype_time_set" "', argument " "2"" of type '" "struct icaltimetype *""'"); 
  }
  arg2 = (struct icaltimetype *)(argp2);
  if (arg1) (arg1)->time = *arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaldatetimeperiodtype_time_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaldatetimeperiodtype *arg1 = (struct icaldatetimeperiodtype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icaltimetype *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaldatetimeperiodtype_time_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaldatetimeperiodtype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaldatetimeperiodtype_time_get" "', argument " "1"" of type '" "struct icaldatetimeperiodtype *""'"); 
  }
  arg1 = (struct icaldatetimeperiodtype *)(argp1);
  result = (struct icaltimetype *)& ((arg1)->time);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icaltimetype, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaldatetimeperiodtype_period_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaldatetimeperiodtype *arg1 = (struct icaldatetimeperiodtype *) 0 ;
  struct icalperiodtype *arg2 = (struct icalperiodtype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icaldatetimeperiodtype_period_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaldatetimeperiodtype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaldatetimeperiodtype_period_set" "', argument " "1"" of type '" "struct icaldatetimeperiodtype *""'"); 
  }
  arg1 = (struct icaldatetimeperiodtype *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icalperiodtype, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icaldatetimeperiodtype_period_set" "', argument " "2"" of type '" "struct icalperiodtype *""'"); 
  }
  arg2 = (struct icalperiodtype *)(argp2);
  if (arg1) (arg1)->period = *arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaldatetimeperiodtype_period_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaldatetimeperiodtype *arg1 = (struct icaldatetimeperiodtype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icalperiodtype *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaldatetimeperiodtype_period_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaldatetimeperiodtype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaldatetimeperiodtype_period_get" "', argument " "1"" of type '" "struct icaldatetimeperiodtype *""'"); 
  }
  arg1 = (struct icaldatetimeperiodtype *)(argp1);
  result = (struct icalperiodtype *)& ((arg1)->period);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalperiodtype, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_icaldatetimeperiodtype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaldatetimeperiodtype *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_icaldatetimeperiodtype")) SWIG_fail;
  result = (struct icaldatetimeperiodtype *)calloc(1, sizeof(struct icaldatetimeperiodtype));
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icaldatetimeperiodtype, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_icaldatetimeperiodtype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaldatetimeperiodtype *arg1 = (struct icaldatetimeperiodtype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_icaldatetimeperiodtype",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaldatetimeperiodtype, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_icaldatetimeperiodtype" "', argument " "1"" of type '" "struct icaldatetimeperiodtype *""'"); 
  }
  arg1 = (struct icaldatetimeperiodtype *)(argp1);
  free((char *) arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


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

SWIGINTERN PyObject *_wrap_icaltriggertype_time_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltriggertype *arg1 = (struct icaltriggertype *) 0 ;
  struct icaltimetype *arg2 = (struct icaltimetype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icaltriggertype_time_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltriggertype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltriggertype_time_set" "', argument " "1"" of type '" "struct icaltriggertype *""'"); 
  }
  arg1 = (struct icaltriggertype *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icaltimetype, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icaltriggertype_time_set" "', argument " "2"" of type '" "struct icaltimetype *""'"); 
  }
  arg2 = (struct icaltimetype *)(argp2);
  if (arg1) (arg1)->time = *arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltriggertype_time_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltriggertype *arg1 = (struct icaltriggertype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icaltimetype *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltriggertype_time_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltriggertype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltriggertype_time_get" "', argument " "1"" of type '" "struct icaltriggertype *""'"); 
  }
  arg1 = (struct icaltriggertype *)(argp1);
  result = (struct icaltimetype *)& ((arg1)->time);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icaltimetype, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltriggertype_duration_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltriggertype *arg1 = (struct icaltriggertype *) 0 ;
  struct icaldurationtype *arg2 = (struct icaldurationtype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icaltriggertype_duration_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltriggertype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltriggertype_duration_set" "', argument " "1"" of type '" "struct icaltriggertype *""'"); 
  }
  arg1 = (struct icaltriggertype *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icaldurationtype, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icaltriggertype_duration_set" "', argument " "2"" of type '" "struct icaldurationtype *""'"); 
  }
  arg2 = (struct icaldurationtype *)(argp2);
  if (arg1) (arg1)->duration = *arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltriggertype_duration_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltriggertype *arg1 = (struct icaltriggertype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icaldurationtype *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltriggertype_duration_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltriggertype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltriggertype_duration_get" "', argument " "1"" of type '" "struct icaltriggertype *""'"); 
  }
  arg1 = (struct icaltriggertype *)(argp1);
  result = (struct icaldurationtype *)& ((arg1)->duration);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icaldurationtype, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_icaltriggertype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltriggertype *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_icaltriggertype")) SWIG_fail;
  result = (struct icaltriggertype *)calloc(1, sizeof(struct icaltriggertype));
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icaltriggertype, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_icaltriggertype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltriggertype *arg1 = (struct icaltriggertype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_icaltriggertype",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltriggertype, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_icaltriggertype" "', argument " "1"" of type '" "struct icaltriggertype *""'"); 
  }
  arg1 = (struct icaltriggertype *)(argp1);
  free((char *) arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


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

SWIGINTERN PyObject *_wrap_icaltriggertype_from_int(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icaltriggertype result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltriggertype_from_int",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icaltriggertype_from_int" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = (int)(val1);
  result = icaltriggertype_from_int(arg1);
  resultobj = SWIG_NewPointerObj((struct icaltriggertype *)memcpy((struct icaltriggertype *)malloc(sizeof(struct icaltriggertype)),&result,sizeof(struct icaltriggertype)), SWIGTYPE_p_icaltriggertype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltriggertype_from_string(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icaltriggertype result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltriggertype_from_string",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltriggertype_from_string" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = icaltriggertype_from_string((char const *)arg1);
  resultobj = SWIG_NewPointerObj((struct icaltriggertype *)memcpy((struct icaltriggertype *)malloc(sizeof(struct icaltriggertype)),&result,sizeof(struct icaltriggertype)), SWIGTYPE_p_icaltriggertype, SWIG_POINTER_OWN |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltriggertype_is_null_trigger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltriggertype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltriggertype_is_null_trigger",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltriggertype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltriggertype_is_null_trigger" "', argument " "1"" of type '" "struct icaltriggertype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icaltriggertype_is_null_trigger" "', argument " "1"" of type '" "struct icaltriggertype""'");
    } else {
      arg1 = *((struct icaltriggertype *)(argp1));
    }
  }
  result = (int)icaltriggertype_is_null_trigger(arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltriggertype_is_bad_trigger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltriggertype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltriggertype_is_bad_trigger",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltriggertype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltriggertype_is_bad_trigger" "', argument " "1"" of type '" "struct icaltriggertype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icaltriggertype_is_bad_trigger" "', argument " "1"" of type '" "struct icaltriggertype""'");
    } else {
      arg1 = *((struct icaltriggertype *)(argp1));
    }
  }
  result = (int)icaltriggertype_is_bad_trigger(arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalreqstattype_code_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalreqstattype *arg1 = (struct icalreqstattype *) 0 ;
  icalrequeststatus arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalreqstattype_code_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalreqstattype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalreqstattype_code_set" "', argument " "1"" of type '" "struct icalreqstattype *""'"); 
  }
  arg1 = (struct icalreqstattype *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalreqstattype_code_set" "', argument " "2"" of type '" "icalrequeststatus""'");
  } 
  arg2 = (icalrequeststatus)(val2);
  if (arg1) (arg1)->code = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalreqstattype_code_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalreqstattype *arg1 = (struct icalreqstattype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalrequeststatus result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalreqstattype_code_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalreqstattype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalreqstattype_code_get" "', argument " "1"" of type '" "struct icalreqstattype *""'"); 
  }
  arg1 = (struct icalreqstattype *)(argp1);
  result = (icalrequeststatus) ((arg1)->code);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalreqstattype_desc_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalreqstattype *arg1 = (struct icalreqstattype *) 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:icalreqstattype_desc_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalreqstattype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalreqstattype_desc_set" "', argument " "1"" of type '" "struct icalreqstattype *""'"); 
  }
  arg1 = (struct icalreqstattype *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalreqstattype_desc_set" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  if (arg2) {
    size_t size = strlen((const char *)((const char *)(arg2))) + 1;
    arg1->desc = (char const *)(char *)memcpy((char *)malloc((size)*sizeof(char)), arg2, sizeof(char)*(size));
  } else {
    arg1->desc = 0;
  }
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalreqstattype_desc_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalreqstattype *arg1 = (struct icalreqstattype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalreqstattype_desc_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalreqstattype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalreqstattype_desc_get" "', argument " "1"" of type '" "struct icalreqstattype *""'"); 
  }
  arg1 = (struct icalreqstattype *)(argp1);
  result = (char *) ((arg1)->desc);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalreqstattype_debug_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalreqstattype *arg1 = (struct icalreqstattype *) 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:icalreqstattype_debug_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalreqstattype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalreqstattype_debug_set" "', argument " "1"" of type '" "struct icalreqstattype *""'"); 
  }
  arg1 = (struct icalreqstattype *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalreqstattype_debug_set" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  if (arg2) {
    size_t size = strlen((const char *)((const char *)(arg2))) + 1;
    arg1->debug = (char const *)(char *)memcpy((char *)malloc((size)*sizeof(char)), arg2, sizeof(char)*(size));
  } else {
    arg1->debug = 0;
  }
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalreqstattype_debug_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalreqstattype *arg1 = (struct icalreqstattype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalreqstattype_debug_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalreqstattype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalreqstattype_debug_get" "', argument " "1"" of type '" "struct icalreqstattype *""'"); 
  }
  arg1 = (struct icalreqstattype *)(argp1);
  result = (char *) ((arg1)->debug);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_icalreqstattype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalreqstattype *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_icalreqstattype")) SWIG_fail;
  result = (struct icalreqstattype *)calloc(1, sizeof(struct icalreqstattype));
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalreqstattype, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_icalreqstattype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalreqstattype *arg1 = (struct icalreqstattype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_icalreqstattype",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalreqstattype, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_icalreqstattype" "', argument " "1"" of type '" "struct icalreqstattype *""'"); 
  }
  arg1 = (struct icalreqstattype *)(argp1);
  free((char *) arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


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

SWIGINTERN PyObject *_wrap_icalreqstattype_from_string(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icalreqstattype result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalreqstattype_from_string",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalreqstattype_from_string" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = icalreqstattype_from_string((char const *)arg1);
  resultobj = SWIG_NewPointerObj((struct icalreqstattype *)memcpy((struct icalreqstattype *)malloc(sizeof(struct icalreqstattype)),&result,sizeof(struct icalreqstattype)), SWIGTYPE_p_icalreqstattype, SWIG_POINTER_OWN |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalreqstattype_as_string(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalreqstattype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalreqstattype_as_string",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icalreqstattype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalreqstattype_as_string" "', argument " "1"" of type '" "struct icalreqstattype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalreqstattype_as_string" "', argument " "1"" of type '" "struct icalreqstattype""'");
    } else {
      arg1 = *((struct icalreqstattype *)(argp1));
    }
  }
  result = (char *)icalreqstattype_as_string(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalreqstattype_as_string_r(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalreqstattype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalreqstattype_as_string_r",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icalreqstattype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalreqstattype_as_string_r" "', argument " "1"" of type '" "struct icalreqstattype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalreqstattype_as_string_r" "', argument " "1"" of type '" "struct icalreqstattype""'");
    } else {
      arg1 = *((struct icalreqstattype *)(argp1));
    }
  }
  result = (char *)icalreqstattype_as_string_r(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimezonephase_tzname_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimezonephase *arg1 = (struct icaltimezonephase *) 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:icaltimezonephase_tzname_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltimezonephase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimezonephase_tzname_set" "', argument " "1"" of type '" "struct icaltimezonephase *""'"); 
  }
  arg1 = (struct icaltimezonephase *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icaltimezonephase_tzname_set" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  if (arg2) {
    size_t size = strlen((const char *)((const char *)(arg2))) + 1;
    arg1->tzname = (char const *)(char *)memcpy((char *)malloc((size)*sizeof(char)), arg2, sizeof(char)*(size));
  } else {
    arg1->tzname = 0;
  }
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimezonephase_tzname_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimezonephase *arg1 = (struct icaltimezonephase *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltimezonephase_tzname_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltimezonephase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimezonephase_tzname_get" "', argument " "1"" of type '" "struct icaltimezonephase *""'"); 
  }
  arg1 = (struct icaltimezonephase *)(argp1);
  result = (char *) ((arg1)->tzname);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimezonephase_is_stdandard_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimezonephase *arg1 = (struct icaltimezonephase *) 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:icaltimezonephase_is_stdandard_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltimezonephase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimezonephase_is_stdandard_set" "', argument " "1"" of type '" "struct icaltimezonephase *""'"); 
  }
  arg1 = (struct icaltimezonephase *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icaltimezonephase_is_stdandard_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  if (arg1) (arg1)->is_stdandard = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimezonephase_is_stdandard_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimezonephase *arg1 = (struct icaltimezonephase *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltimezonephase_is_stdandard_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltimezonephase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimezonephase_is_stdandard_get" "', argument " "1"" of type '" "struct icaltimezonephase *""'"); 
  }
  arg1 = (struct icaltimezonephase *)(argp1);
  result = (int) ((arg1)->is_stdandard);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimezonephase_dtstart_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimezonephase *arg1 = (struct icaltimezonephase *) 0 ;
  struct icaltimetype *arg2 = (struct icaltimetype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icaltimezonephase_dtstart_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltimezonephase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimezonephase_dtstart_set" "', argument " "1"" of type '" "struct icaltimezonephase *""'"); 
  }
  arg1 = (struct icaltimezonephase *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icaltimetype, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icaltimezonephase_dtstart_set" "', argument " "2"" of type '" "struct icaltimetype *""'"); 
  }
  arg2 = (struct icaltimetype *)(argp2);
  if (arg1) (arg1)->dtstart = *arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimezonephase_dtstart_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimezonephase *arg1 = (struct icaltimezonephase *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icaltimetype *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltimezonephase_dtstart_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltimezonephase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimezonephase_dtstart_get" "', argument " "1"" of type '" "struct icaltimezonephase *""'"); 
  }
  arg1 = (struct icaltimezonephase *)(argp1);
  result = (struct icaltimetype *)& ((arg1)->dtstart);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icaltimetype, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimezonephase_offsetto_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimezonephase *arg1 = (struct icaltimezonephase *) 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:icaltimezonephase_offsetto_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltimezonephase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimezonephase_offsetto_set" "', argument " "1"" of type '" "struct icaltimezonephase *""'"); 
  }
  arg1 = (struct icaltimezonephase *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icaltimezonephase_offsetto_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  if (arg1) (arg1)->offsetto = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimezonephase_offsetto_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimezonephase *arg1 = (struct icaltimezonephase *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltimezonephase_offsetto_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltimezonephase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimezonephase_offsetto_get" "', argument " "1"" of type '" "struct icaltimezonephase *""'"); 
  }
  arg1 = (struct icaltimezonephase *)(argp1);
  result = (int) ((arg1)->offsetto);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimezonephase_tzoffsetfrom_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimezonephase *arg1 = (struct icaltimezonephase *) 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:icaltimezonephase_tzoffsetfrom_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltimezonephase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimezonephase_tzoffsetfrom_set" "', argument " "1"" of type '" "struct icaltimezonephase *""'"); 
  }
  arg1 = (struct icaltimezonephase *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icaltimezonephase_tzoffsetfrom_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  if (arg1) (arg1)->tzoffsetfrom = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimezonephase_tzoffsetfrom_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimezonephase *arg1 = (struct icaltimezonephase *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltimezonephase_tzoffsetfrom_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltimezonephase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimezonephase_tzoffsetfrom_get" "', argument " "1"" of type '" "struct icaltimezonephase *""'"); 
  }
  arg1 = (struct icaltimezonephase *)(argp1);
  result = (int) ((arg1)->tzoffsetfrom);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimezonephase_comment_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimezonephase *arg1 = (struct icaltimezonephase *) 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:icaltimezonephase_comment_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltimezonephase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimezonephase_comment_set" "', argument " "1"" of type '" "struct icaltimezonephase *""'"); 
  }
  arg1 = (struct icaltimezonephase *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icaltimezonephase_comment_set" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  if (arg2) {
    size_t size = strlen((const char *)((const char *)(arg2))) + 1;
    arg1->comment = (char const *)(char *)memcpy((char *)malloc((size)*sizeof(char)), arg2, sizeof(char)*(size));
  } else {
    arg1->comment = 0;
  }
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimezonephase_comment_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimezonephase *arg1 = (struct icaltimezonephase *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltimezonephase_comment_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltimezonephase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimezonephase_comment_get" "', argument " "1"" of type '" "struct icaltimezonephase *""'"); 
  }
  arg1 = (struct icaltimezonephase *)(argp1);
  result = (char *) ((arg1)->comment);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimezonephase_rdate_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimezonephase *arg1 = (struct icaltimezonephase *) 0 ;
  struct icaldatetimeperiodtype *arg2 = (struct icaldatetimeperiodtype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icaltimezonephase_rdate_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltimezonephase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimezonephase_rdate_set" "', argument " "1"" of type '" "struct icaltimezonephase *""'"); 
  }
  arg1 = (struct icaltimezonephase *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icaldatetimeperiodtype, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icaltimezonephase_rdate_set" "', argument " "2"" of type '" "struct icaldatetimeperiodtype *""'"); 
  }
  arg2 = (struct icaldatetimeperiodtype *)(argp2);
  if (arg1) (arg1)->rdate = *arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimezonephase_rdate_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimezonephase *arg1 = (struct icaltimezonephase *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icaldatetimeperiodtype *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltimezonephase_rdate_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltimezonephase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimezonephase_rdate_get" "', argument " "1"" of type '" "struct icaltimezonephase *""'"); 
  }
  arg1 = (struct icaltimezonephase *)(argp1);
  result = (struct icaldatetimeperiodtype *)& ((arg1)->rdate);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icaldatetimeperiodtype, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimezonephase_rrule_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimezonephase *arg1 = (struct icaltimezonephase *) 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:icaltimezonephase_rrule_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltimezonephase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimezonephase_rrule_set" "', argument " "1"" of type '" "struct icaltimezonephase *""'"); 
  }
  arg1 = (struct icaltimezonephase *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icaltimezonephase_rrule_set" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  if (arg2) {
    size_t size = strlen((const char *)((const char *)(arg2))) + 1;
    arg1->rrule = (char const *)(char *)memcpy((char *)malloc((size)*sizeof(char)), arg2, sizeof(char)*(size));
  } else {
    arg1->rrule = 0;
  }
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimezonephase_rrule_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimezonephase *arg1 = (struct icaltimezonephase *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltimezonephase_rrule_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltimezonephase, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimezonephase_rrule_get" "', argument " "1"" of type '" "struct icaltimezonephase *""'"); 
  }
  arg1 = (struct icaltimezonephase *)(argp1);
  result = (char *) ((arg1)->rrule);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_icaltimezonephase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimezonephase *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_icaltimezonephase")) SWIG_fail;
  result = (struct icaltimezonephase *)calloc(1, sizeof(struct icaltimezonephase));
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icaltimezonephase, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_icaltimezonephase(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimezonephase *arg1 = (struct icaltimezonephase *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_icaltimezonephase",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltimezonephase, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_icaltimezonephase" "', argument " "1"" of type '" "struct icaltimezonephase *""'"); 
  }
  arg1 = (struct icaltimezonephase *)(argp1);
  free((char *) arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


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

SWIGINTERN PyObject *_wrap_icaltimezonetype_tzid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimezonetype *arg1 = (struct icaltimezonetype *) 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:icaltimezonetype_tzid_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltimezonetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimezonetype_tzid_set" "', argument " "1"" of type '" "struct icaltimezonetype *""'"); 
  }
  arg1 = (struct icaltimezonetype *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icaltimezonetype_tzid_set" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  if (arg2) {
    size_t size = strlen((const char *)((const char *)(arg2))) + 1;
    arg1->tzid = (char const *)(char *)memcpy((char *)malloc((size)*sizeof(char)), arg2, sizeof(char)*(size));
  } else {
    arg1->tzid = 0;
  }
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimezonetype_tzid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimezonetype *arg1 = (struct icaltimezonetype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltimezonetype_tzid_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltimezonetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimezonetype_tzid_get" "', argument " "1"" of type '" "struct icaltimezonetype *""'"); 
  }
  arg1 = (struct icaltimezonetype *)(argp1);
  result = (char *) ((arg1)->tzid);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimezonetype_last_mod_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimezonetype *arg1 = (struct icaltimezonetype *) 0 ;
  struct icaltimetype *arg2 = (struct icaltimetype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icaltimezonetype_last_mod_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltimezonetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimezonetype_last_mod_set" "', argument " "1"" of type '" "struct icaltimezonetype *""'"); 
  }
  arg1 = (struct icaltimezonetype *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icaltimetype, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icaltimezonetype_last_mod_set" "', argument " "2"" of type '" "struct icaltimetype *""'"); 
  }
  arg2 = (struct icaltimetype *)(argp2);
  if (arg1) (arg1)->last_mod = *arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimezonetype_last_mod_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimezonetype *arg1 = (struct icaltimezonetype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icaltimetype *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltimezonetype_last_mod_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltimezonetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimezonetype_last_mod_get" "', argument " "1"" of type '" "struct icaltimezonetype *""'"); 
  }
  arg1 = (struct icaltimezonetype *)(argp1);
  result = (struct icaltimetype *)& ((arg1)->last_mod);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icaltimetype, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimezonetype_tzurl_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimezonetype *arg1 = (struct icaltimezonetype *) 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:icaltimezonetype_tzurl_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltimezonetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimezonetype_tzurl_set" "', argument " "1"" of type '" "struct icaltimezonetype *""'"); 
  }
  arg1 = (struct icaltimezonetype *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icaltimezonetype_tzurl_set" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  if (arg2) {
    size_t size = strlen((const char *)((const char *)(arg2))) + 1;
    arg1->tzurl = (char const *)(char *)memcpy((char *)malloc((size)*sizeof(char)), arg2, sizeof(char)*(size));
  } else {
    arg1->tzurl = 0;
  }
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimezonetype_tzurl_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimezonetype *arg1 = (struct icaltimezonetype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltimezonetype_tzurl_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltimezonetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimezonetype_tzurl_get" "', argument " "1"" of type '" "struct icaltimezonetype *""'"); 
  }
  arg1 = (struct icaltimezonetype *)(argp1);
  result = (char *) ((arg1)->tzurl);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimezonetype_phases_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimezonetype *arg1 = (struct icaltimezonetype *) 0 ;
  struct icaltimezonephase *arg2 = (struct icaltimezonephase *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icaltimezonetype_phases_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltimezonetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimezonetype_phases_set" "', argument " "1"" of type '" "struct icaltimezonetype *""'"); 
  }
  arg1 = (struct icaltimezonetype *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icaltimezonephase, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icaltimezonetype_phases_set" "', argument " "2"" of type '" "struct icaltimezonephase *""'"); 
  }
  arg2 = (struct icaltimezonephase *)(argp2);
  if (arg1) (arg1)->phases = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimezonetype_phases_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimezonetype *arg1 = (struct icaltimezonetype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icaltimezonephase *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltimezonetype_phases_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltimezonetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimezonetype_phases_get" "', argument " "1"" of type '" "struct icaltimezonetype *""'"); 
  }
  arg1 = (struct icaltimezonetype *)(argp1);
  result = (struct icaltimezonephase *) ((arg1)->phases);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icaltimezonephase, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_icaltimezonetype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimezonetype *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_icaltimezonetype")) SWIG_fail;
  result = (struct icaltimezonetype *)calloc(1, sizeof(struct icaltimezonetype));
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icaltimezonetype, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_icaltimezonetype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimezonetype *arg1 = (struct icaltimezonetype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_icaltimezonetype",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltimezonetype, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_icaltimezonetype" "', argument " "1"" of type '" "struct icaltimezonetype *""'"); 
  }
  arg1 = (struct icaltimezonetype *)(argp1);
  free((char *) arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


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

SWIGINTERN PyObject *_wrap_ical_get_unknown_token_handling_setting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  ical_unknown_token_handling result;
  
  if (!PyArg_ParseTuple(args,(char *)":ical_get_unknown_token_handling_setting")) SWIG_fail;
  result = (ical_unknown_token_handling)ical_get_unknown_token_handling_setting();
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_ical_set_unknown_token_handling_setting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  ical_unknown_token_handling arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:ical_set_unknown_token_handling_setting",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ical_set_unknown_token_handling_setting" "', argument " "1"" of type '" "ical_unknown_token_handling""'");
  } 
  arg1 = (ical_unknown_token_handling)(val1);
  ical_set_unknown_token_handling_setting(arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalrecurrencetype_freq_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalrecurrencetype *arg1 = (struct icalrecurrencetype *) 0 ;
  icalrecurrencetype_frequency arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalrecurrencetype_freq_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalrecurrencetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalrecurrencetype_freq_set" "', argument " "1"" of type '" "struct icalrecurrencetype *""'"); 
  }
  arg1 = (struct icalrecurrencetype *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalrecurrencetype_freq_set" "', argument " "2"" of type '" "icalrecurrencetype_frequency""'");
  } 
  arg2 = (icalrecurrencetype_frequency)(val2);
  if (arg1) (arg1)->freq = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalrecurrencetype_freq_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalrecurrencetype *arg1 = (struct icalrecurrencetype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalrecurrencetype_frequency result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalrecurrencetype_freq_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalrecurrencetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalrecurrencetype_freq_get" "', argument " "1"" of type '" "struct icalrecurrencetype *""'"); 
  }
  arg1 = (struct icalrecurrencetype *)(argp1);
  result = (icalrecurrencetype_frequency) ((arg1)->freq);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalrecurrencetype_until_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalrecurrencetype *arg1 = (struct icalrecurrencetype *) 0 ;
  struct icaltimetype *arg2 = (struct icaltimetype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalrecurrencetype_until_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalrecurrencetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalrecurrencetype_until_set" "', argument " "1"" of type '" "struct icalrecurrencetype *""'"); 
  }
  arg1 = (struct icalrecurrencetype *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icaltimetype, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalrecurrencetype_until_set" "', argument " "2"" of type '" "struct icaltimetype *""'"); 
  }
  arg2 = (struct icaltimetype *)(argp2);
  if (arg1) (arg1)->until = *arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalrecurrencetype_until_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalrecurrencetype *arg1 = (struct icalrecurrencetype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icaltimetype *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalrecurrencetype_until_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalrecurrencetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalrecurrencetype_until_get" "', argument " "1"" of type '" "struct icalrecurrencetype *""'"); 
  }
  arg1 = (struct icalrecurrencetype *)(argp1);
  result = (struct icaltimetype *)& ((arg1)->until);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icaltimetype, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalrecurrencetype_count_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalrecurrencetype *arg1 = (struct icalrecurrencetype *) 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:icalrecurrencetype_count_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalrecurrencetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalrecurrencetype_count_set" "', argument " "1"" of type '" "struct icalrecurrencetype *""'"); 
  }
  arg1 = (struct icalrecurrencetype *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalrecurrencetype_count_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  if (arg1) (arg1)->count = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalrecurrencetype_count_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalrecurrencetype *arg1 = (struct icalrecurrencetype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalrecurrencetype_count_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalrecurrencetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalrecurrencetype_count_get" "', argument " "1"" of type '" "struct icalrecurrencetype *""'"); 
  }
  arg1 = (struct icalrecurrencetype *)(argp1);
  result = (int) ((arg1)->count);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalrecurrencetype_interval_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalrecurrencetype *arg1 = (struct icalrecurrencetype *) 0 ;
  short arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  short val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalrecurrencetype_interval_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalrecurrencetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalrecurrencetype_interval_set" "', argument " "1"" of type '" "struct icalrecurrencetype *""'"); 
  }
  arg1 = (struct icalrecurrencetype *)(argp1);
  ecode2 = SWIG_AsVal_short(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalrecurrencetype_interval_set" "', argument " "2"" of type '" "short""'");
  } 
  arg2 = (short)(val2);
  if (arg1) (arg1)->interval = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalrecurrencetype_interval_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalrecurrencetype *arg1 = (struct icalrecurrencetype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  short result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalrecurrencetype_interval_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalrecurrencetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalrecurrencetype_interval_get" "', argument " "1"" of type '" "struct icalrecurrencetype *""'"); 
  }
  arg1 = (struct icalrecurrencetype *)(argp1);
  result = (short) ((arg1)->interval);
  resultobj = SWIG_From_short((short)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalrecurrencetype_week_start_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalrecurrencetype *arg1 = (struct icalrecurrencetype *) 0 ;
  icalrecurrencetype_weekday arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalrecurrencetype_week_start_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalrecurrencetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalrecurrencetype_week_start_set" "', argument " "1"" of type '" "struct icalrecurrencetype *""'"); 
  }
  arg1 = (struct icalrecurrencetype *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalrecurrencetype_week_start_set" "', argument " "2"" of type '" "icalrecurrencetype_weekday""'");
  } 
  arg2 = (icalrecurrencetype_weekday)(val2);
  if (arg1) (arg1)->week_start = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalrecurrencetype_week_start_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalrecurrencetype *arg1 = (struct icalrecurrencetype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalrecurrencetype_weekday result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalrecurrencetype_week_start_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalrecurrencetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalrecurrencetype_week_start_get" "', argument " "1"" of type '" "struct icalrecurrencetype *""'"); 
  }
  arg1 = (struct icalrecurrencetype *)(argp1);
  result = (icalrecurrencetype_weekday) ((arg1)->week_start);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalrecurrencetype_by_second_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalrecurrencetype *arg1 = (struct icalrecurrencetype *) 0 ;
  short *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:icalrecurrencetype_by_second_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalrecurrencetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalrecurrencetype_by_second_set" "', argument " "1"" of type '" "struct icalrecurrencetype *""'"); 
  }
  arg1 = (struct icalrecurrencetype *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_short, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalrecurrencetype_by_second_set" "', argument " "2"" of type '" "short [61]""'"); 
  } 
  arg2 = (short *)(argp2);
  {
    if (arg2) {
      size_t ii = 0;
      for (; ii < (size_t)61; ++ii) arg1->by_second[ii] = arg2[ii];
    } else {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""by_second""' of type '""short [61]""'");
    }
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalrecurrencetype_by_second_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalrecurrencetype *arg1 = (struct icalrecurrencetype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  short *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalrecurrencetype_by_second_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalrecurrencetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalrecurrencetype_by_second_get" "', argument " "1"" of type '" "struct icalrecurrencetype *""'"); 
  }
  arg1 = (struct icalrecurrencetype *)(argp1);
  result = (short *)(short *) ((arg1)->by_second);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_short, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalrecurrencetype_by_minute_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalrecurrencetype *arg1 = (struct icalrecurrencetype *) 0 ;
  short *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:icalrecurrencetype_by_minute_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalrecurrencetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalrecurrencetype_by_minute_set" "', argument " "1"" of type '" "struct icalrecurrencetype *""'"); 
  }
  arg1 = (struct icalrecurrencetype *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_short, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalrecurrencetype_by_minute_set" "', argument " "2"" of type '" "short [61]""'"); 
  } 
  arg2 = (short *)(argp2);
  {
    if (arg2) {
      size_t ii = 0;
      for (; ii < (size_t)61; ++ii) arg1->by_minute[ii] = arg2[ii];
    } else {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""by_minute""' of type '""short [61]""'");
    }
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalrecurrencetype_by_minute_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalrecurrencetype *arg1 = (struct icalrecurrencetype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  short *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalrecurrencetype_by_minute_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalrecurrencetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalrecurrencetype_by_minute_get" "', argument " "1"" of type '" "struct icalrecurrencetype *""'"); 
  }
  arg1 = (struct icalrecurrencetype *)(argp1);
  result = (short *)(short *) ((arg1)->by_minute);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_short, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalrecurrencetype_by_hour_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalrecurrencetype *arg1 = (struct icalrecurrencetype *) 0 ;
  short *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:icalrecurrencetype_by_hour_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalrecurrencetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalrecurrencetype_by_hour_set" "', argument " "1"" of type '" "struct icalrecurrencetype *""'"); 
  }
  arg1 = (struct icalrecurrencetype *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_short, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalrecurrencetype_by_hour_set" "', argument " "2"" of type '" "short [25]""'"); 
  } 
  arg2 = (short *)(argp2);
  {
    if (arg2) {
      size_t ii = 0;
      for (; ii < (size_t)25; ++ii) arg1->by_hour[ii] = arg2[ii];
    } else {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""by_hour""' of type '""short [25]""'");
    }
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalrecurrencetype_by_hour_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalrecurrencetype *arg1 = (struct icalrecurrencetype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  short *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalrecurrencetype_by_hour_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalrecurrencetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalrecurrencetype_by_hour_get" "', argument " "1"" of type '" "struct icalrecurrencetype *""'"); 
  }
  arg1 = (struct icalrecurrencetype *)(argp1);
  result = (short *)(short *) ((arg1)->by_hour);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_short, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalrecurrencetype_by_day_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalrecurrencetype *arg1 = (struct icalrecurrencetype *) 0 ;
  short *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:icalrecurrencetype_by_day_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalrecurrencetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalrecurrencetype_by_day_set" "', argument " "1"" of type '" "struct icalrecurrencetype *""'"); 
  }
  arg1 = (struct icalrecurrencetype *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_short, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalrecurrencetype_by_day_set" "', argument " "2"" of type '" "short [364]""'"); 
  } 
  arg2 = (short *)(argp2);
  {
    if (arg2) {
      size_t ii = 0;
      for (; ii < (size_t)364; ++ii) arg1->by_day[ii] = arg2[ii];
    } else {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""by_day""' of type '""short [364]""'");
    }
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalrecurrencetype_by_day_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalrecurrencetype *arg1 = (struct icalrecurrencetype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  short *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalrecurrencetype_by_day_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalrecurrencetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalrecurrencetype_by_day_get" "', argument " "1"" of type '" "struct icalrecurrencetype *""'"); 
  }
  arg1 = (struct icalrecurrencetype *)(argp1);
  result = (short *)(short *) ((arg1)->by_day);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_short, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalrecurrencetype_by_month_day_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalrecurrencetype *arg1 = (struct icalrecurrencetype *) 0 ;
  short *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:icalrecurrencetype_by_month_day_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalrecurrencetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalrecurrencetype_by_month_day_set" "', argument " "1"" of type '" "struct icalrecurrencetype *""'"); 
  }
  arg1 = (struct icalrecurrencetype *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_short, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalrecurrencetype_by_month_day_set" "', argument " "2"" of type '" "short [32]""'"); 
  } 
  arg2 = (short *)(argp2);
  {
    if (arg2) {
      size_t ii = 0;
      for (; ii < (size_t)32; ++ii) arg1->by_month_day[ii] = arg2[ii];
    } else {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""by_month_day""' of type '""short [32]""'");
    }
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalrecurrencetype_by_month_day_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalrecurrencetype *arg1 = (struct icalrecurrencetype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  short *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalrecurrencetype_by_month_day_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalrecurrencetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalrecurrencetype_by_month_day_get" "', argument " "1"" of type '" "struct icalrecurrencetype *""'"); 
  }
  arg1 = (struct icalrecurrencetype *)(argp1);
  result = (short *)(short *) ((arg1)->by_month_day);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_short, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalrecurrencetype_by_year_day_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalrecurrencetype *arg1 = (struct icalrecurrencetype *) 0 ;
  short *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:icalrecurrencetype_by_year_day_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalrecurrencetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalrecurrencetype_by_year_day_set" "', argument " "1"" of type '" "struct icalrecurrencetype *""'"); 
  }
  arg1 = (struct icalrecurrencetype *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_short, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalrecurrencetype_by_year_day_set" "', argument " "2"" of type '" "short [367]""'"); 
  } 
  arg2 = (short *)(argp2);
  {
    if (arg2) {
      size_t ii = 0;
      for (; ii < (size_t)367; ++ii) arg1->by_year_day[ii] = arg2[ii];
    } else {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""by_year_day""' of type '""short [367]""'");
    }
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalrecurrencetype_by_year_day_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalrecurrencetype *arg1 = (struct icalrecurrencetype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  short *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalrecurrencetype_by_year_day_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalrecurrencetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalrecurrencetype_by_year_day_get" "', argument " "1"" of type '" "struct icalrecurrencetype *""'"); 
  }
  arg1 = (struct icalrecurrencetype *)(argp1);
  result = (short *)(short *) ((arg1)->by_year_day);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_short, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalrecurrencetype_by_week_no_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalrecurrencetype *arg1 = (struct icalrecurrencetype *) 0 ;
  short *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:icalrecurrencetype_by_week_no_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalrecurrencetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalrecurrencetype_by_week_no_set" "', argument " "1"" of type '" "struct icalrecurrencetype *""'"); 
  }
  arg1 = (struct icalrecurrencetype *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_short, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalrecurrencetype_by_week_no_set" "', argument " "2"" of type '" "short [54]""'"); 
  } 
  arg2 = (short *)(argp2);
  {
    if (arg2) {
      size_t ii = 0;
      for (; ii < (size_t)54; ++ii) arg1->by_week_no[ii] = arg2[ii];
    } else {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""by_week_no""' of type '""short [54]""'");
    }
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalrecurrencetype_by_week_no_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalrecurrencetype *arg1 = (struct icalrecurrencetype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  short *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalrecurrencetype_by_week_no_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalrecurrencetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalrecurrencetype_by_week_no_get" "', argument " "1"" of type '" "struct icalrecurrencetype *""'"); 
  }
  arg1 = (struct icalrecurrencetype *)(argp1);
  result = (short *)(short *) ((arg1)->by_week_no);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_short, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalrecurrencetype_by_month_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalrecurrencetype *arg1 = (struct icalrecurrencetype *) 0 ;
  short *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:icalrecurrencetype_by_month_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalrecurrencetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalrecurrencetype_by_month_set" "', argument " "1"" of type '" "struct icalrecurrencetype *""'"); 
  }
  arg1 = (struct icalrecurrencetype *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_short, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalrecurrencetype_by_month_set" "', argument " "2"" of type '" "short [13]""'"); 
  } 
  arg2 = (short *)(argp2);
  {
    if (arg2) {
      size_t ii = 0;
      for (; ii < (size_t)13; ++ii) arg1->by_month[ii] = arg2[ii];
    } else {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""by_month""' of type '""short [13]""'");
    }
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalrecurrencetype_by_month_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalrecurrencetype *arg1 = (struct icalrecurrencetype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  short *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalrecurrencetype_by_month_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalrecurrencetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalrecurrencetype_by_month_get" "', argument " "1"" of type '" "struct icalrecurrencetype *""'"); 
  }
  arg1 = (struct icalrecurrencetype *)(argp1);
  result = (short *)(short *) ((arg1)->by_month);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_short, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalrecurrencetype_by_set_pos_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalrecurrencetype *arg1 = (struct icalrecurrencetype *) 0 ;
  short *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:icalrecurrencetype_by_set_pos_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalrecurrencetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalrecurrencetype_by_set_pos_set" "', argument " "1"" of type '" "struct icalrecurrencetype *""'"); 
  }
  arg1 = (struct icalrecurrencetype *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_short, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalrecurrencetype_by_set_pos_set" "', argument " "2"" of type '" "short [367]""'"); 
  } 
  arg2 = (short *)(argp2);
  {
    if (arg2) {
      size_t ii = 0;
      for (; ii < (size_t)367; ++ii) arg1->by_set_pos[ii] = arg2[ii];
    } else {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""by_set_pos""' of type '""short [367]""'");
    }
  }
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalrecurrencetype_by_set_pos_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalrecurrencetype *arg1 = (struct icalrecurrencetype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  short *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalrecurrencetype_by_set_pos_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalrecurrencetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalrecurrencetype_by_set_pos_get" "', argument " "1"" of type '" "struct icalrecurrencetype *""'"); 
  }
  arg1 = (struct icalrecurrencetype *)(argp1);
  result = (short *)(short *) ((arg1)->by_set_pos);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_short, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_icalrecurrencetype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalrecurrencetype *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_icalrecurrencetype")) SWIG_fail;
  result = (struct icalrecurrencetype *)calloc(1, sizeof(struct icalrecurrencetype));
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalrecurrencetype, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_icalrecurrencetype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalrecurrencetype *arg1 = (struct icalrecurrencetype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_icalrecurrencetype",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalrecurrencetype, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_icalrecurrencetype" "', argument " "1"" of type '" "struct icalrecurrencetype *""'"); 
  }
  arg1 = (struct icalrecurrencetype *)(argp1);
  free((char *) arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


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

SWIGINTERN PyObject *_wrap_icalrecurrencetype_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalrecurrencetype *arg1 = (struct icalrecurrencetype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalrecurrencetype_clear",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalrecurrencetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalrecurrencetype_clear" "', argument " "1"" of type '" "struct icalrecurrencetype *""'"); 
  }
  arg1 = (struct icalrecurrencetype *)(argp1);
  icalrecurrencetype_clear(arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalrecurrencetype_day_day_of_week(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  short arg1 ;
  short val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  enum icalrecurrencetype_weekday result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalrecurrencetype_day_day_of_week",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_short(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalrecurrencetype_day_day_of_week" "', argument " "1"" of type '" "short""'");
  } 
  arg1 = (short)(val1);
  result = (enum icalrecurrencetype_weekday)icalrecurrencetype_day_day_of_week(arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalrecurrencetype_day_position(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  short arg1 ;
  short val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalrecurrencetype_day_position",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_short(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalrecurrencetype_day_position" "', argument " "1"" of type '" "short""'");
  } 
  arg1 = (short)(val1);
  result = (int)icalrecurrencetype_day_position(arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalrecur_string_to_weekday(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalrecurrencetype_weekday result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalrecur_string_to_weekday",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalrecur_string_to_weekday" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalrecurrencetype_weekday)icalrecur_string_to_weekday((char const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalrecurrencetype_from_string(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icalrecurrencetype result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalrecurrencetype_from_string",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalrecurrencetype_from_string" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = icalrecurrencetype_from_string((char const *)arg1);
  resultobj = SWIG_NewPointerObj((struct icalrecurrencetype *)memcpy((struct icalrecurrencetype *)malloc(sizeof(struct icalrecurrencetype)),&result,sizeof(struct icalrecurrencetype)), SWIGTYPE_p_icalrecurrencetype, SWIG_POINTER_OWN |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalrecurrencetype_as_string(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalrecurrencetype *arg1 = (struct icalrecurrencetype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalrecurrencetype_as_string",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalrecurrencetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalrecurrencetype_as_string" "', argument " "1"" of type '" "struct icalrecurrencetype *""'"); 
  }
  arg1 = (struct icalrecurrencetype *)(argp1);
  result = (char *)icalrecurrencetype_as_string(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalrecurrencetype_as_string_r(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalrecurrencetype *arg1 = (struct icalrecurrencetype *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalrecurrencetype_as_string_r",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalrecurrencetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalrecurrencetype_as_string_r" "', argument " "1"" of type '" "struct icalrecurrencetype *""'"); 
  }
  arg1 = (struct icalrecurrencetype *)(argp1);
  result = (char *)icalrecurrencetype_as_string_r(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalrecur_iterator_new(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalrecurrencetype arg1 ;
  struct icaltimetype arg2 ;
  void *argp1 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  icalrecur_iterator *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalrecur_iterator_new",&obj0,&obj1)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icalrecurrencetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalrecur_iterator_new" "', argument " "1"" of type '" "struct icalrecurrencetype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalrecur_iterator_new" "', argument " "1"" of type '" "struct icalrecurrencetype""'");
    } else {
      arg1 = *((struct icalrecurrencetype *)(argp1));
    }
  }
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalrecur_iterator_new" "', argument " "2"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalrecur_iterator_new" "', argument " "2"" of type '" "struct icaltimetype""'");
    } else {
      arg2 = *((struct icaltimetype *)(argp2));
    }
  }
  result = (icalrecur_iterator *)icalrecur_iterator_new(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalrecur_iterator_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalrecur_iterator_next(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalrecur_iterator *arg1 = (icalrecur_iterator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icaltimetype result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalrecur_iterator_next",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalrecur_iterator_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalrecur_iterator_next" "', argument " "1"" of type '" "icalrecur_iterator *""'"); 
  }
  arg1 = (icalrecur_iterator *)(argp1);
  result = icalrecur_iterator_next(arg1);
  resultobj = SWIG_NewPointerObj((struct icaltimetype *)memcpy((struct icaltimetype *)malloc(sizeof(struct icaltimetype)),&result,sizeof(struct icaltimetype)), SWIGTYPE_p_icaltimetype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalrecur_iterator_free(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalrecur_iterator *arg1 = (icalrecur_iterator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalrecur_iterator_free",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalrecur_iterator_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalrecur_iterator_free" "', argument " "1"" of type '" "icalrecur_iterator *""'"); 
  }
  arg1 = (icalrecur_iterator *)(argp1);
  icalrecur_iterator_free(arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalrecur_expand_recurrence(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  time_t arg2 ;
  int arg3 ;
  time_t *arg4 = (time_t *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 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 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:icalrecur_expand_recurrence",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalrecur_expand_recurrence" "', argument " "1"" of type '" "char *""'");
  }
  arg1 = (char *)(buf1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalrecur_expand_recurrence" "', argument " "2"" of type '" "time_t""'");
  } 
  arg2 = (time_t)(val2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "icalrecur_expand_recurrence" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = (int)(val3);
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_int, 0 |  0 );
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "icalrecur_expand_recurrence" "', argument " "4"" of type '" "time_t *""'"); 
  }
  arg4 = (time_t *)(argp4);
  result = (int)icalrecur_expand_recurrence(arg1,arg2,arg3,arg4);
  resultobj = SWIG_From_int((int)(result));
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalattach_new_from_url(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalattach *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalattach_new_from_url",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalattach_new_from_url" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalattach *)icalattach_new_from_url((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalattach_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalattach_new_from_data(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  icalattach_free_fn_t arg2 = (icalattach_free_fn_t) 0 ;
  void *arg3 = (void *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  int res3 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  icalattach *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:icalattach_new_from_data",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalattach_new_from_data" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  {
    int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_unsigned_char_p_void__void);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "icalattach_new_from_data" "', argument " "2"" of type '" "icalattach_free_fn_t""'"); 
    }
  }
  res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "icalattach_new_from_data" "', argument " "3"" of type '" "void *""'"); 
  }
  result = (icalattach *)icalattach_new_from_data((char const *)arg1,arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalattach_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalattach_ref(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalattach *arg1 = (icalattach *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalattach_ref",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalattach_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalattach_ref" "', argument " "1"" of type '" "icalattach *""'"); 
  }
  arg1 = (icalattach *)(argp1);
  icalattach_ref(arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalattach_unref(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalattach *arg1 = (icalattach *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalattach_unref",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalattach_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalattach_unref" "', argument " "1"" of type '" "icalattach *""'"); 
  }
  arg1 = (icalattach *)(argp1);
  icalattach_unref(arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalattach_get_is_url(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalattach *arg1 = (icalattach *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalattach_get_is_url",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalattach_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalattach_get_is_url" "', argument " "1"" of type '" "icalattach *""'"); 
  }
  arg1 = (icalattach *)(argp1);
  result = (int)icalattach_get_is_url(arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalattach_get_url(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalattach *arg1 = (icalattach *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalattach_get_url",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalattach_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalattach_get_url" "', argument " "1"" of type '" "icalattach *""'"); 
  }
  arg1 = (icalattach *)(argp1);
  result = (char *)icalattach_get_url(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalattach_get_data(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalattach *arg1 = (icalattach *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  unsigned char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalattach_get_data",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalattach_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalattach_get_data" "', argument " "1"" of type '" "icalattach *""'"); 
  }
  arg1 = (icalattach *)(argp1);
  result = (unsigned char *)icalattach_get_data(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_set_x(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 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:icalvalue_set_x",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_set_x" "', argument " "1"" of type '" "icalvalue *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalvalue_set_x" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalvalue_set_x(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_new_x(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalvalue *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_new_x",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_new_x" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalvalue *)icalvalue_new_x((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_get_x(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_get_x",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_get_x" "', argument " "1"" of type '" "icalvalue const *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  result = (char *)icalvalue_get_x((struct icalvalue_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_new_recur(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalrecurrencetype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalvalue *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_new_recur",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icalrecurrencetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_new_recur" "', argument " "1"" of type '" "struct icalrecurrencetype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalvalue_new_recur" "', argument " "1"" of type '" "struct icalrecurrencetype""'");
    } else {
      arg1 = *((struct icalrecurrencetype *)(argp1));
    }
  }
  result = (icalvalue *)icalvalue_new_recur(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_set_recur(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  struct icalrecurrencetype arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalvalue_set_recur",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_set_recur" "', argument " "1"" of type '" "icalvalue *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_icalrecurrencetype,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalvalue_set_recur" "', argument " "2"" of type '" "struct icalrecurrencetype""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalvalue_set_recur" "', argument " "2"" of type '" "struct icalrecurrencetype""'");
    } else {
      arg2 = *((struct icalrecurrencetype *)(argp2));
    }
  }
  icalvalue_set_recur(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_get_recur(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icalrecurrencetype result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_get_recur",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_get_recur" "', argument " "1"" of type '" "icalvalue const *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  result = icalvalue_get_recur((struct icalvalue_impl const *)arg1);
  resultobj = SWIG_NewPointerObj((struct icalrecurrencetype *)memcpy((struct icalrecurrencetype *)malloc(sizeof(struct icalrecurrencetype)),&result,sizeof(struct icalrecurrencetype)), SWIGTYPE_p_icalrecurrencetype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_new_trigger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltriggertype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalvalue *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_new_trigger",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltriggertype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_new_trigger" "', argument " "1"" of type '" "struct icaltriggertype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalvalue_new_trigger" "', argument " "1"" of type '" "struct icaltriggertype""'");
    } else {
      arg1 = *((struct icaltriggertype *)(argp1));
    }
  }
  result = (icalvalue *)icalvalue_new_trigger(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_set_trigger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  struct icaltriggertype arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalvalue_set_trigger",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_set_trigger" "', argument " "1"" of type '" "icalvalue *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_icaltriggertype,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalvalue_set_trigger" "', argument " "2"" of type '" "struct icaltriggertype""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalvalue_set_trigger" "', argument " "2"" of type '" "struct icaltriggertype""'");
    } else {
      arg2 = *((struct icaltriggertype *)(argp2));
    }
  }
  icalvalue_set_trigger(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_get_trigger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icaltriggertype result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_get_trigger",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_get_trigger" "', argument " "1"" of type '" "icalvalue const *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  result = icalvalue_get_trigger((struct icalvalue_impl const *)arg1);
  resultobj = SWIG_NewPointerObj((struct icaltriggertype *)memcpy((struct icaltriggertype *)malloc(sizeof(struct icaltriggertype)),&result,sizeof(struct icaltriggertype)), SWIGTYPE_p_icaltriggertype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_new_datetime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalvalue *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_new_datetime",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_new_datetime" "', argument " "1"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalvalue_new_datetime" "', argument " "1"" of type '" "struct icaltimetype""'");
    } else {
      arg1 = *((struct icaltimetype *)(argp1));
    }
  }
  result = (icalvalue *)icalvalue_new_datetime(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_get_datetime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icaltimetype result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_get_datetime",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_get_datetime" "', argument " "1"" of type '" "icalvalue const *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  result = icalvalue_get_datetime((struct icalvalue_impl const *)arg1);
  resultobj = SWIG_NewPointerObj((struct icaltimetype *)memcpy((struct icaltimetype *)malloc(sizeof(struct icaltimetype)),&result,sizeof(struct icaltimetype)), SWIGTYPE_p_icaltimetype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_set_datetime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  struct icaltimetype arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalvalue_set_datetime",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_set_datetime" "', argument " "1"" of type '" "icalvalue *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalvalue_set_datetime" "', argument " "2"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalvalue_set_datetime" "', argument " "2"" of type '" "struct icaltimetype""'");
    } else {
      arg2 = *((struct icaltimetype *)(argp2));
    }
  }
  icalvalue_set_datetime(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_new_datetimeperiod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaldatetimeperiodtype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalvalue *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_new_datetimeperiod",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaldatetimeperiodtype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_new_datetimeperiod" "', argument " "1"" of type '" "struct icaldatetimeperiodtype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalvalue_new_datetimeperiod" "', argument " "1"" of type '" "struct icaldatetimeperiodtype""'");
    } else {
      arg1 = *((struct icaldatetimeperiodtype *)(argp1));
    }
  }
  result = (icalvalue *)icalvalue_new_datetimeperiod(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_set_datetimeperiod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  struct icaldatetimeperiodtype arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalvalue_set_datetimeperiod",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_set_datetimeperiod" "', argument " "1"" of type '" "icalvalue *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_icaldatetimeperiodtype,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalvalue_set_datetimeperiod" "', argument " "2"" of type '" "struct icaldatetimeperiodtype""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalvalue_set_datetimeperiod" "', argument " "2"" of type '" "struct icaldatetimeperiodtype""'");
    } else {
      arg2 = *((struct icaldatetimeperiodtype *)(argp2));
    }
  }
  icalvalue_set_datetimeperiod(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_get_datetimeperiod(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icaldatetimeperiodtype result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_get_datetimeperiod",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_get_datetimeperiod" "', argument " "1"" of type '" "icalvalue const *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  result = icalvalue_get_datetimeperiod((struct icalvalue_impl const *)arg1);
  resultobj = SWIG_NewPointerObj((struct icaldatetimeperiodtype *)memcpy((struct icaldatetimeperiodtype *)malloc(sizeof(struct icaldatetimeperiodtype)),&result,sizeof(struct icaldatetimeperiodtype)), SWIGTYPE_p_icaldatetimeperiodtype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_new_geo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalgeotype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalvalue *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_new_geo",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icalgeotype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_new_geo" "', argument " "1"" of type '" "struct icalgeotype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalvalue_new_geo" "', argument " "1"" of type '" "struct icalgeotype""'");
    } else {
      arg1 = *((struct icalgeotype *)(argp1));
    }
  }
  result = (icalvalue *)icalvalue_new_geo(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_get_geo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icalgeotype result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_get_geo",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_get_geo" "', argument " "1"" of type '" "icalvalue const *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  result = icalvalue_get_geo((struct icalvalue_impl const *)arg1);
  resultobj = SWIG_NewPointerObj((struct icalgeotype *)memcpy((struct icalgeotype *)malloc(sizeof(struct icalgeotype)),&result,sizeof(struct icalgeotype)), SWIGTYPE_p_icalgeotype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_set_geo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  struct icalgeotype arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalvalue_set_geo",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_set_geo" "', argument " "1"" of type '" "icalvalue *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_icalgeotype,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalvalue_set_geo" "', argument " "2"" of type '" "struct icalgeotype""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalvalue_set_geo" "', argument " "2"" of type '" "struct icalgeotype""'");
    } else {
      arg2 = *((struct icalgeotype *)(argp2));
    }
  }
  icalvalue_set_geo(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_new_attach(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalattach *arg1 = (icalattach *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalvalue *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_new_attach",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalattach_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_new_attach" "', argument " "1"" of type '" "icalattach *""'"); 
  }
  arg1 = (icalattach *)(argp1);
  result = (icalvalue *)icalvalue_new_attach(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_set_attach(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  icalattach *arg2 = (icalattach *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalvalue_set_attach",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_set_attach" "', argument " "1"" of type '" "icalvalue *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icalattach_impl, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalvalue_set_attach" "', argument " "2"" of type '" "icalattach *""'"); 
  }
  arg2 = (icalattach *)(argp2);
  icalvalue_set_attach(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_get_attach(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalattach *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_get_attach",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_get_attach" "', argument " "1"" of type '" "icalvalue const *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  result = (icalattach *)icalvalue_get_attach((struct icalvalue_impl const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalattach_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_reset_kind(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_reset_kind",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_reset_kind" "', argument " "1"" of type '" "icalvalue *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  icalvalue_reset_kind(arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_new_query(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalvalue *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_new_query",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_new_query" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalvalue *)icalvalue_new_query((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_get_query(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_get_query",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_get_query" "', argument " "1"" of type '" "icalvalue const *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  result = (char *)icalvalue_get_query((struct icalvalue_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_set_query(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 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:icalvalue_set_query",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_set_query" "', argument " "1"" of type '" "icalvalue *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalvalue_set_query" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalvalue_set_query(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_new_date(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalvalue *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_new_date",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_new_date" "', argument " "1"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalvalue_new_date" "', argument " "1"" of type '" "struct icaltimetype""'");
    } else {
      arg1 = *((struct icaltimetype *)(argp1));
    }
  }
  result = (icalvalue *)icalvalue_new_date(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_get_date(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icaltimetype result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_get_date",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_get_date" "', argument " "1"" of type '" "icalvalue const *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  result = icalvalue_get_date((struct icalvalue_impl const *)arg1);
  resultobj = SWIG_NewPointerObj((struct icaltimetype *)memcpy((struct icaltimetype *)malloc(sizeof(struct icaltimetype)),&result,sizeof(struct icaltimetype)), SWIGTYPE_p_icaltimetype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_set_date(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  struct icaltimetype arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalvalue_set_date",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_set_date" "', argument " "1"" of type '" "icalvalue *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalvalue_set_date" "', argument " "2"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalvalue_set_date" "', argument " "2"" of type '" "struct icaltimetype""'");
    } else {
      arg2 = *((struct icaltimetype *)(argp2));
    }
  }
  icalvalue_set_date(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_new_status(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  enum icalproperty_status arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalvalue *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_new_status",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalvalue_new_status" "', argument " "1"" of type '" "enum icalproperty_status""'");
  } 
  arg1 = (enum icalproperty_status)(val1);
  result = (icalvalue *)icalvalue_new_status(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_get_status(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  enum icalproperty_status result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_get_status",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_get_status" "', argument " "1"" of type '" "icalvalue const *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  result = (enum icalproperty_status)icalvalue_get_status((struct icalvalue_impl const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_set_status(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  enum icalproperty_status arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalvalue_set_status",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_set_status" "', argument " "1"" of type '" "icalvalue *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalvalue_set_status" "', argument " "2"" of type '" "enum icalproperty_status""'");
  } 
  arg2 = (enum icalproperty_status)(val2);
  icalvalue_set_status(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_new_transp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  enum icalproperty_transp arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalvalue *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_new_transp",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalvalue_new_transp" "', argument " "1"" of type '" "enum icalproperty_transp""'");
  } 
  arg1 = (enum icalproperty_transp)(val1);
  result = (icalvalue *)icalvalue_new_transp(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_get_transp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  enum icalproperty_transp result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_get_transp",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_get_transp" "', argument " "1"" of type '" "icalvalue const *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  result = (enum icalproperty_transp)icalvalue_get_transp((struct icalvalue_impl const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_set_transp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  enum icalproperty_transp arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalvalue_set_transp",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_set_transp" "', argument " "1"" of type '" "icalvalue *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalvalue_set_transp" "', argument " "2"" of type '" "enum icalproperty_transp""'");
  } 
  arg2 = (enum icalproperty_transp)(val2);
  icalvalue_set_transp(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_new_string(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalvalue *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_new_string",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_new_string" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalvalue *)icalvalue_new_string((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_get_string(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_get_string",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_get_string" "', argument " "1"" of type '" "icalvalue const *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  result = (char *)icalvalue_get_string((struct icalvalue_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_set_string(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 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:icalvalue_set_string",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_set_string" "', argument " "1"" of type '" "icalvalue *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalvalue_set_string" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalvalue_set_string(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_new_text(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalvalue *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_new_text",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_new_text" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalvalue *)icalvalue_new_text((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_get_text(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_get_text",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_get_text" "', argument " "1"" of type '" "icalvalue const *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  result = (char *)icalvalue_get_text((struct icalvalue_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_set_text(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 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:icalvalue_set_text",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_set_text" "', argument " "1"" of type '" "icalvalue *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalvalue_set_text" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalvalue_set_text(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_new_requeststatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalreqstattype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalvalue *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_new_requeststatus",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icalreqstattype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_new_requeststatus" "', argument " "1"" of type '" "struct icalreqstattype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalvalue_new_requeststatus" "', argument " "1"" of type '" "struct icalreqstattype""'");
    } else {
      arg1 = *((struct icalreqstattype *)(argp1));
    }
  }
  result = (icalvalue *)icalvalue_new_requeststatus(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_get_requeststatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icalreqstattype result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_get_requeststatus",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_get_requeststatus" "', argument " "1"" of type '" "icalvalue const *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  result = icalvalue_get_requeststatus((struct icalvalue_impl const *)arg1);
  resultobj = SWIG_NewPointerObj((struct icalreqstattype *)memcpy((struct icalreqstattype *)malloc(sizeof(struct icalreqstattype)),&result,sizeof(struct icalreqstattype)), SWIGTYPE_p_icalreqstattype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_set_requeststatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  struct icalreqstattype arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalvalue_set_requeststatus",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_set_requeststatus" "', argument " "1"" of type '" "icalvalue *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_icalreqstattype,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalvalue_set_requeststatus" "', argument " "2"" of type '" "struct icalreqstattype""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalvalue_set_requeststatus" "', argument " "2"" of type '" "struct icalreqstattype""'");
    } else {
      arg2 = *((struct icalreqstattype *)(argp2));
    }
  }
  icalvalue_set_requeststatus(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_new_cmd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  enum icalproperty_cmd arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalvalue *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_new_cmd",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalvalue_new_cmd" "', argument " "1"" of type '" "enum icalproperty_cmd""'");
  } 
  arg1 = (enum icalproperty_cmd)(val1);
  result = (icalvalue *)icalvalue_new_cmd(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_get_cmd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  enum icalproperty_cmd result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_get_cmd",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_get_cmd" "', argument " "1"" of type '" "icalvalue const *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  result = (enum icalproperty_cmd)icalvalue_get_cmd((struct icalvalue_impl const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_set_cmd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  enum icalproperty_cmd arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalvalue_set_cmd",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_set_cmd" "', argument " "1"" of type '" "icalvalue *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalvalue_set_cmd" "', argument " "2"" of type '" "enum icalproperty_cmd""'");
  } 
  arg2 = (enum icalproperty_cmd)(val2);
  icalvalue_set_cmd(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_new_binary(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalvalue *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_new_binary",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_new_binary" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalvalue *)icalvalue_new_binary((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_get_binary(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_get_binary",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_get_binary" "', argument " "1"" of type '" "icalvalue const *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  result = (char *)icalvalue_get_binary((struct icalvalue_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_set_binary(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 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:icalvalue_set_binary",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_set_binary" "', argument " "1"" of type '" "icalvalue *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalvalue_set_binary" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalvalue_set_binary(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_new_querylevel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  enum icalproperty_querylevel arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalvalue *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_new_querylevel",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalvalue_new_querylevel" "', argument " "1"" of type '" "enum icalproperty_querylevel""'");
  } 
  arg1 = (enum icalproperty_querylevel)(val1);
  result = (icalvalue *)icalvalue_new_querylevel(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_get_querylevel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  enum icalproperty_querylevel result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_get_querylevel",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_get_querylevel" "', argument " "1"" of type '" "icalvalue const *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  result = (enum icalproperty_querylevel)icalvalue_get_querylevel((struct icalvalue_impl const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_set_querylevel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  enum icalproperty_querylevel arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalvalue_set_querylevel",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_set_querylevel" "', argument " "1"" of type '" "icalvalue *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalvalue_set_querylevel" "', argument " "2"" of type '" "enum icalproperty_querylevel""'");
  } 
  arg2 = (enum icalproperty_querylevel)(val2);
  icalvalue_set_querylevel(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_new_period(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalperiodtype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalvalue *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_new_period",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icalperiodtype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_new_period" "', argument " "1"" of type '" "struct icalperiodtype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalvalue_new_period" "', argument " "1"" of type '" "struct icalperiodtype""'");
    } else {
      arg1 = *((struct icalperiodtype *)(argp1));
    }
  }
  result = (icalvalue *)icalvalue_new_period(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_get_period(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icalperiodtype result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_get_period",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_get_period" "', argument " "1"" of type '" "icalvalue const *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  result = icalvalue_get_period((struct icalvalue_impl const *)arg1);
  resultobj = SWIG_NewPointerObj((struct icalperiodtype *)memcpy((struct icalperiodtype *)malloc(sizeof(struct icalperiodtype)),&result,sizeof(struct icalperiodtype)), SWIGTYPE_p_icalperiodtype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_set_period(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  struct icalperiodtype arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalvalue_set_period",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_set_period" "', argument " "1"" of type '" "icalvalue *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_icalperiodtype,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalvalue_set_period" "', argument " "2"" of type '" "struct icalperiodtype""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalvalue_set_period" "', argument " "2"" of type '" "struct icalperiodtype""'");
    } else {
      arg2 = *((struct icalperiodtype *)(argp2));
    }
  }
  icalvalue_set_period(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_new_float(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  float arg1 ;
  float val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalvalue *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_new_float",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_float(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalvalue_new_float" "', argument " "1"" of type '" "float""'");
  } 
  arg1 = (float)(val1);
  result = (icalvalue *)icalvalue_new_float(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_get_float(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  float result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_get_float",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_get_float" "', argument " "1"" of type '" "icalvalue const *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  result = (float)icalvalue_get_float((struct icalvalue_impl const *)arg1);
  resultobj = SWIG_From_float((float)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_set_float(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 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:icalvalue_set_float",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_set_float" "', argument " "1"" of type '" "icalvalue *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  ecode2 = SWIG_AsVal_float(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalvalue_set_float" "', argument " "2"" of type '" "float""'");
  } 
  arg2 = (float)(val2);
  icalvalue_set_float(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_new_carlevel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  enum icalproperty_carlevel arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalvalue *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_new_carlevel",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalvalue_new_carlevel" "', argument " "1"" of type '" "enum icalproperty_carlevel""'");
  } 
  arg1 = (enum icalproperty_carlevel)(val1);
  result = (icalvalue *)icalvalue_new_carlevel(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_get_carlevel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  enum icalproperty_carlevel result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_get_carlevel",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_get_carlevel" "', argument " "1"" of type '" "icalvalue const *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  result = (enum icalproperty_carlevel)icalvalue_get_carlevel((struct icalvalue_impl const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_set_carlevel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  enum icalproperty_carlevel arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalvalue_set_carlevel",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_set_carlevel" "', argument " "1"" of type '" "icalvalue *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalvalue_set_carlevel" "', argument " "2"" of type '" "enum icalproperty_carlevel""'");
  } 
  arg2 = (enum icalproperty_carlevel)(val2);
  icalvalue_set_carlevel(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_new_integer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalvalue *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_new_integer",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalvalue_new_integer" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = (int)(val1);
  result = (icalvalue *)icalvalue_new_integer(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_get_integer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_get_integer",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_get_integer" "', argument " "1"" of type '" "icalvalue const *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  result = (int)icalvalue_get_integer((struct icalvalue_impl const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_set_integer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 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:icalvalue_set_integer",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_set_integer" "', argument " "1"" of type '" "icalvalue *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalvalue_set_integer" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  icalvalue_set_integer(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_new_uri(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalvalue *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_new_uri",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_new_uri" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalvalue *)icalvalue_new_uri((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_get_uri(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_get_uri",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_get_uri" "', argument " "1"" of type '" "icalvalue const *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  result = (char *)icalvalue_get_uri((struct icalvalue_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_set_uri(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 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:icalvalue_set_uri",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_set_uri" "', argument " "1"" of type '" "icalvalue *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalvalue_set_uri" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalvalue_set_uri(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_new_duration(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaldurationtype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalvalue *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_new_duration",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaldurationtype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_new_duration" "', argument " "1"" of type '" "struct icaldurationtype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalvalue_new_duration" "', argument " "1"" of type '" "struct icaldurationtype""'");
    } else {
      arg1 = *((struct icaldurationtype *)(argp1));
    }
  }
  result = (icalvalue *)icalvalue_new_duration(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_get_duration(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icaldurationtype result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_get_duration",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_get_duration" "', argument " "1"" of type '" "icalvalue const *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  result = icalvalue_get_duration((struct icalvalue_impl const *)arg1);
  resultobj = SWIG_NewPointerObj((struct icaldurationtype *)memcpy((struct icaldurationtype *)malloc(sizeof(struct icaldurationtype)),&result,sizeof(struct icaldurationtype)), SWIGTYPE_p_icaldurationtype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_set_duration(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  struct icaldurationtype arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalvalue_set_duration",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_set_duration" "', argument " "1"" of type '" "icalvalue *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_icaldurationtype,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalvalue_set_duration" "', argument " "2"" of type '" "struct icaldurationtype""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalvalue_set_duration" "', argument " "2"" of type '" "struct icaldurationtype""'");
    } else {
      arg2 = *((struct icaldurationtype *)(argp2));
    }
  }
  icalvalue_set_duration(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_new_boolean(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalvalue *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_new_boolean",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalvalue_new_boolean" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = (int)(val1);
  result = (icalvalue *)icalvalue_new_boolean(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_get_boolean(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_get_boolean",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_get_boolean" "', argument " "1"" of type '" "icalvalue const *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  result = (int)icalvalue_get_boolean((struct icalvalue_impl const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_set_boolean(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 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:icalvalue_set_boolean",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_set_boolean" "', argument " "1"" of type '" "icalvalue *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalvalue_set_boolean" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  icalvalue_set_boolean(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_new_caladdress(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalvalue *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_new_caladdress",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_new_caladdress" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalvalue *)icalvalue_new_caladdress((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_get_caladdress(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_get_caladdress",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_get_caladdress" "', argument " "1"" of type '" "icalvalue const *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  result = (char *)icalvalue_get_caladdress((struct icalvalue_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_set_caladdress(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 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:icalvalue_set_caladdress",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_set_caladdress" "', argument " "1"" of type '" "icalvalue *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalvalue_set_caladdress" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalvalue_set_caladdress(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_new_xlicclass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  enum icalproperty_xlicclass arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalvalue *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_new_xlicclass",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalvalue_new_xlicclass" "', argument " "1"" of type '" "enum icalproperty_xlicclass""'");
  } 
  arg1 = (enum icalproperty_xlicclass)(val1);
  result = (icalvalue *)icalvalue_new_xlicclass(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_get_xlicclass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  enum icalproperty_xlicclass result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_get_xlicclass",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_get_xlicclass" "', argument " "1"" of type '" "icalvalue const *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  result = (enum icalproperty_xlicclass)icalvalue_get_xlicclass((struct icalvalue_impl const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_set_xlicclass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  enum icalproperty_xlicclass arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalvalue_set_xlicclass",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_set_xlicclass" "', argument " "1"" of type '" "icalvalue *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalvalue_set_xlicclass" "', argument " "2"" of type '" "enum icalproperty_xlicclass""'");
  } 
  arg2 = (enum icalproperty_xlicclass)(val2);
  icalvalue_set_xlicclass(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_new_action(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  enum icalproperty_action arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalvalue *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_new_action",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalvalue_new_action" "', argument " "1"" of type '" "enum icalproperty_action""'");
  } 
  arg1 = (enum icalproperty_action)(val1);
  result = (icalvalue *)icalvalue_new_action(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_get_action(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  enum icalproperty_action result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_get_action",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_get_action" "', argument " "1"" of type '" "icalvalue const *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  result = (enum icalproperty_action)icalvalue_get_action((struct icalvalue_impl const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_set_action(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  enum icalproperty_action arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalvalue_set_action",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_set_action" "', argument " "1"" of type '" "icalvalue *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalvalue_set_action" "', argument " "2"" of type '" "enum icalproperty_action""'");
  } 
  arg2 = (enum icalproperty_action)(val2);
  icalvalue_set_action(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_new_utcoffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalvalue *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_new_utcoffset",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalvalue_new_utcoffset" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = (int)(val1);
  result = (icalvalue *)icalvalue_new_utcoffset(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_get_utcoffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_get_utcoffset",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_get_utcoffset" "', argument " "1"" of type '" "icalvalue const *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  result = (int)icalvalue_get_utcoffset((struct icalvalue_impl const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_set_utcoffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 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:icalvalue_set_utcoffset",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_set_utcoffset" "', argument " "1"" of type '" "icalvalue *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalvalue_set_utcoffset" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  icalvalue_set_utcoffset(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_new_method(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  enum icalproperty_method arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalvalue *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_new_method",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalvalue_new_method" "', argument " "1"" of type '" "enum icalproperty_method""'");
  } 
  arg1 = (enum icalproperty_method)(val1);
  result = (icalvalue *)icalvalue_new_method(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_get_method(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  enum icalproperty_method result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_get_method",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_get_method" "', argument " "1"" of type '" "icalvalue const *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  result = (enum icalproperty_method)icalvalue_get_method((struct icalvalue_impl const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_set_method(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  enum icalproperty_method arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalvalue_set_method",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_set_method" "', argument " "1"" of type '" "icalvalue *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalvalue_set_method" "', argument " "2"" of type '" "enum icalproperty_method""'");
  } 
  arg2 = (enum icalproperty_method)(val2);
  icalvalue_set_method(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_new_class(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  enum icalproperty_class arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalvalue *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_new_class",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalvalue_new_class" "', argument " "1"" of type '" "enum icalproperty_class""'");
  } 
  arg1 = (enum icalproperty_class)(val1);
  result = (icalvalue *)icalvalue_new_class(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_get_class(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  enum icalproperty_class result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_get_class",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_get_class" "', argument " "1"" of type '" "icalvalue const *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  result = (enum icalproperty_class)icalvalue_get_class((struct icalvalue_impl const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_set_class(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  enum icalproperty_class arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalvalue_set_class",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_set_class" "', argument " "1"" of type '" "icalvalue *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalvalue_set_class" "', argument " "2"" of type '" "enum icalproperty_class""'");
  } 
  arg2 = (enum icalproperty_class)(val2);
  icalvalue_set_class(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_enum_to_string(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_enum_to_string",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalparameter_enum_to_string" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = (int)(val1);
  result = (char *)icalparameter_enum_to_string(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


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


SWIGINTERN PyObject *_wrap_icalparameter_new_actionparam(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter_action arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_new_actionparam",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalparameter_new_actionparam" "', argument " "1"" of type '" "icalparameter_action""'");
  } 
  arg1 = (icalparameter_action)(val1);
  result = (icalparameter *)icalparameter_new_actionparam(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_get_actionparam(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter_action result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_get_actionparam",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_get_actionparam" "', argument " "1"" of type '" "icalparameter const *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  result = (icalparameter_action)icalparameter_get_actionparam((struct icalparameter_impl const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_set_actionparam(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  icalparameter_action arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalparameter_set_actionparam",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_set_actionparam" "', argument " "1"" of type '" "icalparameter *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalparameter_set_actionparam" "', argument " "2"" of type '" "icalparameter_action""'");
  } 
  arg2 = (icalparameter_action)(val2);
  icalparameter_set_actionparam(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_new_altrep(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_new_altrep",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_new_altrep" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalparameter *)icalparameter_new_altrep((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_get_altrep(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_get_altrep",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_get_altrep" "', argument " "1"" of type '" "icalparameter const *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  result = (char *)icalparameter_get_altrep((struct icalparameter_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_set_altrep(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 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:icalparameter_set_altrep",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_set_altrep" "', argument " "1"" of type '" "icalparameter *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalparameter_set_altrep" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalparameter_set_altrep(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_new_charset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_new_charset",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_new_charset" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalparameter *)icalparameter_new_charset((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_get_charset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_get_charset",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_get_charset" "', argument " "1"" of type '" "icalparameter const *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  result = (char *)icalparameter_get_charset((struct icalparameter_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_set_charset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 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:icalparameter_set_charset",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_set_charset" "', argument " "1"" of type '" "icalparameter *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalparameter_set_charset" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalparameter_set_charset(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_new_cn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_new_cn",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_new_cn" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalparameter *)icalparameter_new_cn((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_get_cn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_get_cn",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_get_cn" "', argument " "1"" of type '" "icalparameter const *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  result = (char *)icalparameter_get_cn((struct icalparameter_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_set_cn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 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:icalparameter_set_cn",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_set_cn" "', argument " "1"" of type '" "icalparameter *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalparameter_set_cn" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalparameter_set_cn(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_new_cutype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter_cutype arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_new_cutype",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalparameter_new_cutype" "', argument " "1"" of type '" "icalparameter_cutype""'");
  } 
  arg1 = (icalparameter_cutype)(val1);
  result = (icalparameter *)icalparameter_new_cutype(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_get_cutype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter_cutype result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_get_cutype",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_get_cutype" "', argument " "1"" of type '" "icalparameter const *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  result = (icalparameter_cutype)icalparameter_get_cutype((struct icalparameter_impl const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_set_cutype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  icalparameter_cutype arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalparameter_set_cutype",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_set_cutype" "', argument " "1"" of type '" "icalparameter *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalparameter_set_cutype" "', argument " "2"" of type '" "icalparameter_cutype""'");
  } 
  arg2 = (icalparameter_cutype)(val2);
  icalparameter_set_cutype(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_new_delegatedfrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_new_delegatedfrom",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_new_delegatedfrom" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalparameter *)icalparameter_new_delegatedfrom((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_get_delegatedfrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_get_delegatedfrom",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_get_delegatedfrom" "', argument " "1"" of type '" "icalparameter const *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  result = (char *)icalparameter_get_delegatedfrom((struct icalparameter_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_set_delegatedfrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 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:icalparameter_set_delegatedfrom",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_set_delegatedfrom" "', argument " "1"" of type '" "icalparameter *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalparameter_set_delegatedfrom" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalparameter_set_delegatedfrom(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_new_delegatedto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_new_delegatedto",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_new_delegatedto" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalparameter *)icalparameter_new_delegatedto((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_get_delegatedto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_get_delegatedto",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_get_delegatedto" "', argument " "1"" of type '" "icalparameter const *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  result = (char *)icalparameter_get_delegatedto((struct icalparameter_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_set_delegatedto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 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:icalparameter_set_delegatedto",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_set_delegatedto" "', argument " "1"" of type '" "icalparameter *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalparameter_set_delegatedto" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalparameter_set_delegatedto(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_new_dir(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_new_dir",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_new_dir" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalparameter *)icalparameter_new_dir((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_get_dir(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_get_dir",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_get_dir" "', argument " "1"" of type '" "icalparameter const *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  result = (char *)icalparameter_get_dir((struct icalparameter_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_set_dir(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 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:icalparameter_set_dir",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_set_dir" "', argument " "1"" of type '" "icalparameter *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalparameter_set_dir" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalparameter_set_dir(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_new_enable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter_enable arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_new_enable",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalparameter_new_enable" "', argument " "1"" of type '" "icalparameter_enable""'");
  } 
  arg1 = (icalparameter_enable)(val1);
  result = (icalparameter *)icalparameter_new_enable(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_get_enable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter_enable result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_get_enable",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_get_enable" "', argument " "1"" of type '" "icalparameter const *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  result = (icalparameter_enable)icalparameter_get_enable((struct icalparameter_impl const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_set_enable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  icalparameter_enable arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalparameter_set_enable",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_set_enable" "', argument " "1"" of type '" "icalparameter *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalparameter_set_enable" "', argument " "2"" of type '" "icalparameter_enable""'");
  } 
  arg2 = (icalparameter_enable)(val2);
  icalparameter_set_enable(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_new_encoding(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter_encoding arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_new_encoding",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalparameter_new_encoding" "', argument " "1"" of type '" "icalparameter_encoding""'");
  } 
  arg1 = (icalparameter_encoding)(val1);
  result = (icalparameter *)icalparameter_new_encoding(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_get_encoding(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter_encoding result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_get_encoding",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_get_encoding" "', argument " "1"" of type '" "icalparameter const *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  result = (icalparameter_encoding)icalparameter_get_encoding((struct icalparameter_impl const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_set_encoding(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  icalparameter_encoding arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalparameter_set_encoding",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_set_encoding" "', argument " "1"" of type '" "icalparameter *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalparameter_set_encoding" "', argument " "2"" of type '" "icalparameter_encoding""'");
  } 
  arg2 = (icalparameter_encoding)(val2);
  icalparameter_set_encoding(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_new_fbtype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter_fbtype arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_new_fbtype",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalparameter_new_fbtype" "', argument " "1"" of type '" "icalparameter_fbtype""'");
  } 
  arg1 = (icalparameter_fbtype)(val1);
  result = (icalparameter *)icalparameter_new_fbtype(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_get_fbtype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter_fbtype result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_get_fbtype",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_get_fbtype" "', argument " "1"" of type '" "icalparameter const *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  result = (icalparameter_fbtype)icalparameter_get_fbtype((struct icalparameter_impl const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_set_fbtype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  icalparameter_fbtype arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalparameter_set_fbtype",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_set_fbtype" "', argument " "1"" of type '" "icalparameter *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalparameter_set_fbtype" "', argument " "2"" of type '" "icalparameter_fbtype""'");
  } 
  arg2 = (icalparameter_fbtype)(val2);
  icalparameter_set_fbtype(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_new_fmttype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_new_fmttype",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_new_fmttype" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalparameter *)icalparameter_new_fmttype((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_get_fmttype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_get_fmttype",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_get_fmttype" "', argument " "1"" of type '" "icalparameter const *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  result = (char *)icalparameter_get_fmttype((struct icalparameter_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_set_fmttype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 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:icalparameter_set_fmttype",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_set_fmttype" "', argument " "1"" of type '" "icalparameter *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalparameter_set_fmttype" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalparameter_set_fmttype(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_new_iana(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_new_iana",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_new_iana" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalparameter *)icalparameter_new_iana((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_get_iana(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_get_iana",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_get_iana" "', argument " "1"" of type '" "icalparameter const *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  result = (char *)icalparameter_get_iana((struct icalparameter_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_set_iana(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 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:icalparameter_set_iana",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_set_iana" "', argument " "1"" of type '" "icalparameter *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalparameter_set_iana" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalparameter_set_iana(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_new_id(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_new_id",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_new_id" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalparameter *)icalparameter_new_id((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_get_id(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_get_id",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_get_id" "', argument " "1"" of type '" "icalparameter const *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  result = (char *)icalparameter_get_id((struct icalparameter_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_set_id(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 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:icalparameter_set_id",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_set_id" "', argument " "1"" of type '" "icalparameter *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalparameter_set_id" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalparameter_set_id(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_new_language(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_new_language",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_new_language" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalparameter *)icalparameter_new_language((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_get_language(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_get_language",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_get_language" "', argument " "1"" of type '" "icalparameter const *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  result = (char *)icalparameter_get_language((struct icalparameter_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_set_language(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 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:icalparameter_set_language",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_set_language" "', argument " "1"" of type '" "icalparameter *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalparameter_set_language" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalparameter_set_language(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_new_latency(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_new_latency",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_new_latency" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalparameter *)icalparameter_new_latency((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_get_latency(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_get_latency",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_get_latency" "', argument " "1"" of type '" "icalparameter const *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  result = (char *)icalparameter_get_latency((struct icalparameter_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_set_latency(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 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:icalparameter_set_latency",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_set_latency" "', argument " "1"" of type '" "icalparameter *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalparameter_set_latency" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalparameter_set_latency(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_new_local(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter_local arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_new_local",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalparameter_new_local" "', argument " "1"" of type '" "icalparameter_local""'");
  } 
  arg1 = (icalparameter_local)(val1);
  result = (icalparameter *)icalparameter_new_local(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_get_local(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter_local result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_get_local",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_get_local" "', argument " "1"" of type '" "icalparameter const *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  result = (icalparameter_local)icalparameter_get_local((struct icalparameter_impl const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_set_local(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  icalparameter_local arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalparameter_set_local",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_set_local" "', argument " "1"" of type '" "icalparameter *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalparameter_set_local" "', argument " "2"" of type '" "icalparameter_local""'");
  } 
  arg2 = (icalparameter_local)(val2);
  icalparameter_set_local(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_new_localize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_new_localize",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_new_localize" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalparameter *)icalparameter_new_localize((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_get_localize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_get_localize",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_get_localize" "', argument " "1"" of type '" "icalparameter const *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  result = (char *)icalparameter_get_localize((struct icalparameter_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_set_localize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 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:icalparameter_set_localize",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_set_localize" "', argument " "1"" of type '" "icalparameter *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalparameter_set_localize" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalparameter_set_localize(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_new_member(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_new_member",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_new_member" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalparameter *)icalparameter_new_member((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_get_member(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_get_member",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_get_member" "', argument " "1"" of type '" "icalparameter const *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  result = (char *)icalparameter_get_member((struct icalparameter_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_set_member(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 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:icalparameter_set_member",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_set_member" "', argument " "1"" of type '" "icalparameter *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalparameter_set_member" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalparameter_set_member(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_new_options(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_new_options",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_new_options" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalparameter *)icalparameter_new_options((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_get_options(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_get_options",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_get_options" "', argument " "1"" of type '" "icalparameter const *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  result = (char *)icalparameter_get_options((struct icalparameter_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_set_options(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 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:icalparameter_set_options",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_set_options" "', argument " "1"" of type '" "icalparameter *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalparameter_set_options" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalparameter_set_options(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_new_partstat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter_partstat arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_new_partstat",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalparameter_new_partstat" "', argument " "1"" of type '" "icalparameter_partstat""'");
  } 
  arg1 = (icalparameter_partstat)(val1);
  result = (icalparameter *)icalparameter_new_partstat(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_get_partstat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter_partstat result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_get_partstat",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_get_partstat" "', argument " "1"" of type '" "icalparameter const *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  result = (icalparameter_partstat)icalparameter_get_partstat((struct icalparameter_impl const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_set_partstat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  icalparameter_partstat arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalparameter_set_partstat",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_set_partstat" "', argument " "1"" of type '" "icalparameter *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalparameter_set_partstat" "', argument " "2"" of type '" "icalparameter_partstat""'");
  } 
  arg2 = (icalparameter_partstat)(val2);
  icalparameter_set_partstat(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_new_range(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter_range arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_new_range",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalparameter_new_range" "', argument " "1"" of type '" "icalparameter_range""'");
  } 
  arg1 = (icalparameter_range)(val1);
  result = (icalparameter *)icalparameter_new_range(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_get_range(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter_range result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_get_range",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_get_range" "', argument " "1"" of type '" "icalparameter const *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  result = (icalparameter_range)icalparameter_get_range((struct icalparameter_impl const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_set_range(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  icalparameter_range arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalparameter_set_range",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_set_range" "', argument " "1"" of type '" "icalparameter *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalparameter_set_range" "', argument " "2"" of type '" "icalparameter_range""'");
  } 
  arg2 = (icalparameter_range)(val2);
  icalparameter_set_range(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_new_related(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter_related arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_new_related",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalparameter_new_related" "', argument " "1"" of type '" "icalparameter_related""'");
  } 
  arg1 = (icalparameter_related)(val1);
  result = (icalparameter *)icalparameter_new_related(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_get_related(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter_related result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_get_related",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_get_related" "', argument " "1"" of type '" "icalparameter const *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  result = (icalparameter_related)icalparameter_get_related((struct icalparameter_impl const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_set_related(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  icalparameter_related arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalparameter_set_related",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_set_related" "', argument " "1"" of type '" "icalparameter *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalparameter_set_related" "', argument " "2"" of type '" "icalparameter_related""'");
  } 
  arg2 = (icalparameter_related)(val2);
  icalparameter_set_related(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_new_reltype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter_reltype arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_new_reltype",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalparameter_new_reltype" "', argument " "1"" of type '" "icalparameter_reltype""'");
  } 
  arg1 = (icalparameter_reltype)(val1);
  result = (icalparameter *)icalparameter_new_reltype(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_get_reltype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter_reltype result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_get_reltype",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_get_reltype" "', argument " "1"" of type '" "icalparameter const *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  result = (icalparameter_reltype)icalparameter_get_reltype((struct icalparameter_impl const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_set_reltype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  icalparameter_reltype arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalparameter_set_reltype",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_set_reltype" "', argument " "1"" of type '" "icalparameter *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalparameter_set_reltype" "', argument " "2"" of type '" "icalparameter_reltype""'");
  } 
  arg2 = (icalparameter_reltype)(val2);
  icalparameter_set_reltype(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_new_role(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter_role arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_new_role",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalparameter_new_role" "', argument " "1"" of type '" "icalparameter_role""'");
  } 
  arg1 = (icalparameter_role)(val1);
  result = (icalparameter *)icalparameter_new_role(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_get_role(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter_role result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_get_role",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_get_role" "', argument " "1"" of type '" "icalparameter const *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  result = (icalparameter_role)icalparameter_get_role((struct icalparameter_impl const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_set_role(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  icalparameter_role arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalparameter_set_role",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_set_role" "', argument " "1"" of type '" "icalparameter *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalparameter_set_role" "', argument " "2"" of type '" "icalparameter_role""'");
  } 
  arg2 = (icalparameter_role)(val2);
  icalparameter_set_role(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_new_rsvp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter_rsvp arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_new_rsvp",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalparameter_new_rsvp" "', argument " "1"" of type '" "icalparameter_rsvp""'");
  } 
  arg1 = (icalparameter_rsvp)(val1);
  result = (icalparameter *)icalparameter_new_rsvp(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_get_rsvp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter_rsvp result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_get_rsvp",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_get_rsvp" "', argument " "1"" of type '" "icalparameter const *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  result = (icalparameter_rsvp)icalparameter_get_rsvp((struct icalparameter_impl const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_set_rsvp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  icalparameter_rsvp arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalparameter_set_rsvp",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_set_rsvp" "', argument " "1"" of type '" "icalparameter *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalparameter_set_rsvp" "', argument " "2"" of type '" "icalparameter_rsvp""'");
  } 
  arg2 = (icalparameter_rsvp)(val2);
  icalparameter_set_rsvp(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_new_sentby(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_new_sentby",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_new_sentby" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalparameter *)icalparameter_new_sentby((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_get_sentby(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_get_sentby",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_get_sentby" "', argument " "1"" of type '" "icalparameter const *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  result = (char *)icalparameter_get_sentby((struct icalparameter_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_set_sentby(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 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:icalparameter_set_sentby",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_set_sentby" "', argument " "1"" of type '" "icalparameter *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalparameter_set_sentby" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalparameter_set_sentby(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_new_tzid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_new_tzid",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_new_tzid" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalparameter *)icalparameter_new_tzid((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_get_tzid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_get_tzid",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_get_tzid" "', argument " "1"" of type '" "icalparameter const *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  result = (char *)icalparameter_get_tzid((struct icalparameter_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_set_tzid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 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:icalparameter_set_tzid",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_set_tzid" "', argument " "1"" of type '" "icalparameter *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalparameter_set_tzid" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalparameter_set_tzid(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_new_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter_value arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_new_value",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalparameter_new_value" "', argument " "1"" of type '" "icalparameter_value""'");
  } 
  arg1 = (icalparameter_value)(val1);
  result = (icalparameter *)icalparameter_new_value(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_get_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter_value result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_get_value",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_get_value" "', argument " "1"" of type '" "icalparameter const *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  result = (icalparameter_value)icalparameter_get_value((struct icalparameter_impl const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_set_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  icalparameter_value arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalparameter_set_value",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_set_value" "', argument " "1"" of type '" "icalparameter *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalparameter_set_value" "', argument " "2"" of type '" "icalparameter_value""'");
  } 
  arg2 = (icalparameter_value)(val2);
  icalparameter_set_value(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_new_x(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_new_x",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_new_x" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalparameter *)icalparameter_new_x((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_get_x(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_get_x",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_get_x" "', argument " "1"" of type '" "icalparameter const *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  result = (char *)icalparameter_get_x((struct icalparameter_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_set_x(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 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:icalparameter_set_x",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_set_x" "', argument " "1"" of type '" "icalparameter *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalparameter_set_x" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalparameter_set_x(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_new_xliccomparetype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter_xliccomparetype arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_new_xliccomparetype",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalparameter_new_xliccomparetype" "', argument " "1"" of type '" "icalparameter_xliccomparetype""'");
  } 
  arg1 = (icalparameter_xliccomparetype)(val1);
  result = (icalparameter *)icalparameter_new_xliccomparetype(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_get_xliccomparetype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter_xliccomparetype result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_get_xliccomparetype",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_get_xliccomparetype" "', argument " "1"" of type '" "icalparameter const *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  result = (icalparameter_xliccomparetype)icalparameter_get_xliccomparetype((struct icalparameter_impl const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_set_xliccomparetype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  icalparameter_xliccomparetype arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalparameter_set_xliccomparetype",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_set_xliccomparetype" "', argument " "1"" of type '" "icalparameter *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalparameter_set_xliccomparetype" "', argument " "2"" of type '" "icalparameter_xliccomparetype""'");
  } 
  arg2 = (icalparameter_xliccomparetype)(val2);
  icalparameter_set_xliccomparetype(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_new_xlicerrortype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter_xlicerrortype arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_new_xlicerrortype",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalparameter_new_xlicerrortype" "', argument " "1"" of type '" "icalparameter_xlicerrortype""'");
  } 
  arg1 = (icalparameter_xlicerrortype)(val1);
  result = (icalparameter *)icalparameter_new_xlicerrortype(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_get_xlicerrortype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter_xlicerrortype result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_get_xlicerrortype",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_get_xlicerrortype" "', argument " "1"" of type '" "icalparameter const *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  result = (icalparameter_xlicerrortype)icalparameter_get_xlicerrortype((struct icalparameter_impl const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_set_xlicerrortype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  icalparameter_xlicerrortype arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalparameter_set_xlicerrortype",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_set_xlicerrortype" "', argument " "1"" of type '" "icalparameter *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalparameter_set_xlicerrortype" "', argument " "2"" of type '" "icalparameter_xlicerrortype""'");
  } 
  arg2 = (icalparameter_xlicerrortype)(val2);
  icalparameter_set_xlicerrortype(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_new(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue_kind arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalvalue *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_new",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalvalue_new" "', argument " "1"" of type '" "icalvalue_kind""'");
  } 
  arg1 = (icalvalue_kind)(val1);
  result = (icalvalue *)icalvalue_new(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_new_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalvalue *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_new_clone",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_new_clone" "', argument " "1"" of type '" "icalvalue const *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  result = (icalvalue *)icalvalue_new_clone((struct icalvalue_impl const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_new_from_string(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue_kind arg1 ;
  char *arg2 = (char *) 0 ;
  int val1 ;
  int ecode1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  icalvalue *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalvalue_new_from_string",&obj0,&obj1)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalvalue_new_from_string" "', argument " "1"" of type '" "icalvalue_kind""'");
  } 
  arg1 = (icalvalue_kind)(val1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalvalue_new_from_string" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  result = (icalvalue *)icalvalue_new_from_string(arg1,(char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_free(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_free",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_free" "', argument " "1"" of type '" "icalvalue *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  icalvalue_free(arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_is_valid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_is_valid",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_is_valid" "', argument " "1"" of type '" "icalvalue const *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  result = (int)icalvalue_is_valid((struct icalvalue_impl const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_as_ical_string(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_as_ical_string",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_as_ical_string" "', argument " "1"" of type '" "icalvalue const *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  result = (char *)icalvalue_as_ical_string((struct icalvalue_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_as_ical_string_r(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_as_ical_string_r",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_as_ical_string_r" "', argument " "1"" of type '" "icalvalue const *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  result = (char *)icalvalue_as_ical_string_r((struct icalvalue_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_isa(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalvalue_kind result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_isa",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_isa" "', argument " "1"" of type '" "icalvalue const *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  result = (icalvalue_kind)icalvalue_isa((struct icalvalue_impl const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_isa_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  void *arg1 = (void *) 0 ;
  int res1 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_isa_value",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0,SWIG_as_voidptrptr(&arg1), 0, 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_isa_value" "', argument " "1"" of type '" "void *""'"); 
  }
  result = (int)icalvalue_isa_value(arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_compare(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  icalvalue *arg2 = (icalvalue *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  icalparameter_xliccomparetype result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalvalue_compare",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_compare" "', argument " "1"" of type '" "icalvalue const *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalvalue_compare" "', argument " "2"" of type '" "icalvalue const *""'"); 
  }
  arg2 = (icalvalue *)(argp2);
  result = (icalparameter_xliccomparetype)icalvalue_compare((struct icalvalue_impl const *)arg1,(struct icalvalue_impl const *)arg2);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_string_to_kind(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalvalue_kind result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_string_to_kind",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_string_to_kind" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalvalue_kind)icalvalue_string_to_kind((char const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_kind_to_string(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue_kind arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_kind_to_string",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalvalue_kind_to_string" "', argument " "1"" of type '" "icalvalue_kind""'");
  } 
  arg1 = (icalvalue_kind)(val1);
  result = (char *)icalvalue_kind_to_string(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_kind_is_valid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue_kind arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_kind_is_valid",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalvalue_kind_is_valid" "', argument " "1"" of type '" "icalvalue_kind""'");
  } 
  arg1 = (icalvalue_kind)(val1);
  result = (int)icalvalue_kind_is_valid(arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_encode_ical_string(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:icalvalue_encode_ical_string",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_encode_ical_string" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalvalue_encode_ical_string" "', argument " "2"" of type '" "char *""'");
  }
  arg2 = (char *)(buf2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "icalvalue_encode_ical_string" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = (int)(val3);
  result = (int)icalvalue_encode_ical_string((char const *)arg1,arg2,arg3);
  resultobj = SWIG_From_int((int)(result));
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_decode_ical_string(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  char *arg2 = (char *) 0 ;
  int arg3 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int val3 ;
  int ecode3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:icalvalue_decode_ical_string",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_decode_ical_string" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalvalue_decode_ical_string" "', argument " "2"" of type '" "char *""'");
  }
  arg2 = (char *)(buf2);
  ecode3 = SWIG_AsVal_int(obj2, &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "icalvalue_decode_ical_string" "', argument " "3"" of type '" "int""'");
  } 
  arg3 = (int)(val3);
  result = (int)icalvalue_decode_ical_string((char const *)arg1,arg2,arg3);
  resultobj = SWIG_From_int((int)(result));
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_new(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter_kind arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_new",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalparameter_new" "', argument " "1"" of type '" "icalparameter_kind""'");
  } 
  arg1 = (icalparameter_kind)(val1);
  result = (icalparameter *)icalparameter_new(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_new_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_new_clone",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_new_clone" "', argument " "1"" of type '" "icalparameter *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  result = (icalparameter *)icalparameter_new_clone(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_new_from_string(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_new_from_string",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_new_from_string" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalparameter *)icalparameter_new_from_string((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_new_from_value_string(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter_kind arg1 ;
  char *arg2 = (char *) 0 ;
  int val1 ;
  int ecode1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  icalparameter *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalparameter_new_from_value_string",&obj0,&obj1)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalparameter_new_from_value_string" "', argument " "1"" of type '" "icalparameter_kind""'");
  } 
  arg1 = (icalparameter_kind)(val1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalparameter_new_from_value_string" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  result = (icalparameter *)icalparameter_new_from_value_string(arg1,(char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_free(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_free",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_free" "', argument " "1"" of type '" "icalparameter *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  icalparameter_free(arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_as_ical_string(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_as_ical_string",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_as_ical_string" "', argument " "1"" of type '" "icalparameter *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  result = (char *)icalparameter_as_ical_string(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_as_ical_string_r(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_as_ical_string_r",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_as_ical_string_r" "', argument " "1"" of type '" "icalparameter *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  result = (char *)icalparameter_as_ical_string_r(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_isa(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter_kind result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_isa",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_isa" "', argument " "1"" of type '" "icalparameter *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  result = (icalparameter_kind)icalparameter_isa(arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_isa_parameter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  void *arg1 = (void *) 0 ;
  int res1 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_isa_parameter",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0,SWIG_as_voidptrptr(&arg1), 0, 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_isa_parameter" "', argument " "1"" of type '" "void *""'"); 
  }
  result = (int)icalparameter_isa_parameter(arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_set_xname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 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:icalparameter_set_xname",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_set_xname" "', argument " "1"" of type '" "icalparameter *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalparameter_set_xname" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalparameter_set_xname(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_get_xname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_get_xname",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_get_xname" "', argument " "1"" of type '" "icalparameter *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  result = (char *)icalparameter_get_xname(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_set_xvalue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 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:icalparameter_set_xvalue",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_set_xvalue" "', argument " "1"" of type '" "icalparameter *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalparameter_set_xvalue" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalparameter_set_xvalue(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_get_xvalue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_get_xvalue",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_get_xvalue" "', argument " "1"" of type '" "icalparameter *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  result = (char *)icalparameter_get_xvalue(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_set_iana_name(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 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:icalparameter_set_iana_name",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_set_iana_name" "', argument " "1"" of type '" "icalparameter *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalparameter_set_iana_name" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalparameter_set_iana_name(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_get_iana_name(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_get_iana_name",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_get_iana_name" "', argument " "1"" of type '" "icalparameter *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  result = (char *)icalparameter_get_iana_name(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_set_iana_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 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:icalparameter_set_iana_value",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_set_iana_value" "', argument " "1"" of type '" "icalparameter *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalparameter_set_iana_value" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalparameter_set_iana_value(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_get_iana_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_get_iana_value",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_get_iana_value" "', argument " "1"" of type '" "icalparameter *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  result = (char *)icalparameter_get_iana_value(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_has_same_name(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  icalparameter *arg2 = (icalparameter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalparameter_has_same_name",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_has_same_name" "', argument " "1"" of type '" "icalparameter *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalparameter_has_same_name" "', argument " "2"" of type '" "icalparameter *""'"); 
  }
  arg2 = (icalparameter *)(argp2);
  result = (int)icalparameter_has_same_name(arg1,arg2);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_kind_to_string(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter_kind arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_kind_to_string",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalparameter_kind_to_string" "', argument " "1"" of type '" "icalparameter_kind""'");
  } 
  arg1 = (icalparameter_kind)(val1);
  result = (char *)icalparameter_kind_to_string(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_string_to_kind(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter_kind result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_string_to_kind",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_string_to_kind" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalparameter_kind)icalparameter_string_to_kind((char const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_action(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  enum icalproperty_action arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_action",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalproperty_new_action" "', argument " "1"" of type '" "enum icalproperty_action""'");
  } 
  arg1 = (enum icalproperty_action)(val1);
  result = (icalproperty *)icalproperty_new_action(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_action(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  enum icalproperty_action arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalproperty_set_action",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_action" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalproperty_set_action" "', argument " "2"" of type '" "enum icalproperty_action""'");
  } 
  arg2 = (enum icalproperty_action)(val2);
  icalproperty_set_action(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_action(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  enum icalproperty_action result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_action",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_action" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (enum icalproperty_action)icalproperty_get_action((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_action__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  enum icalproperty_action arg1 ;
  void *arg2 = 0 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_action",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalproperty_vanew_action" "', argument " "1"" of type '" "enum icalproperty_action""'");
  } 
  arg1 = (enum icalproperty_action)(val1);
  result = (icalproperty *)icalproperty_vanew_action(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_action(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_icalproperty_vanew_action__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_allowconflict(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_allowconflict",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_allowconflict" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_allowconflict((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_allowconflict(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_allowconflict",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_allowconflict" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_allowconflict" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_allowconflict(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_allowconflict(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_allowconflict",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_allowconflict" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_allowconflict((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_allowconflict__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_allowconflict",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_allowconflict" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_allowconflict((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_allowconflict(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_icalproperty_vanew_allowconflict__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_attach(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalattach *arg1 = (icalattach *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_attach",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalattach_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_attach" "', argument " "1"" of type '" "icalattach *""'"); 
  }
  arg1 = (icalattach *)(argp1);
  result = (icalproperty *)icalproperty_new_attach(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_attach(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  icalattach *arg2 = (icalattach *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalproperty_set_attach",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_attach" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icalattach_impl, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_attach" "', argument " "2"" of type '" "icalattach *""'"); 
  }
  arg2 = (icalattach *)(argp2);
  icalproperty_set_attach(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_attach(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalattach *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_attach",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_attach" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (icalattach *)icalproperty_get_attach((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalattach_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_attach__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  icalattach *arg1 = (icalattach *) 0 ;
  void *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_attach",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalattach_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_attach" "', argument " "1"" of type '" "icalattach *""'"); 
  }
  arg1 = (icalattach *)(argp1);
  result = (icalproperty *)icalproperty_vanew_attach(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_attach(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_icalproperty_vanew_attach__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_attendee(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_attendee",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_attendee" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_attendee((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_attendee(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_attendee",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_attendee" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_attendee" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_attendee(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_attendee(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_attendee",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_attendee" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_attendee((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_attendee__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_attendee",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_attendee" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_attendee((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_attendee(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_icalproperty_vanew_attendee__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_calid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_calid",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_calid" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_calid((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_calid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_calid",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_calid" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_calid" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_calid(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_calid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_calid",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_calid" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_calid((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_calid__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_calid",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_calid" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_calid((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_calid(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_icalproperty_vanew_calid__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_calmaster(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_calmaster",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_calmaster" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_calmaster((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_calmaster(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_calmaster",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_calmaster" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_calmaster" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_calmaster(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_calmaster(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_calmaster",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_calmaster" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_calmaster((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_calmaster__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_calmaster",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_calmaster" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_calmaster((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_calmaster(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_icalproperty_vanew_calmaster__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_calscale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_calscale",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_calscale" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_calscale((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_calscale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_calscale",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_calscale" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_calscale" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_calscale(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_calscale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_calscale",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_calscale" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_calscale((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_calscale__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_calscale",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_calscale" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_calscale((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_calscale(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_icalproperty_vanew_calscale__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_capversion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_capversion",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_capversion" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_capversion((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_capversion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_capversion",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_capversion" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_capversion" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_capversion(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_capversion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_capversion",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_capversion" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_capversion((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_capversion__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_capversion",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_capversion" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_capversion((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_capversion(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_icalproperty_vanew_capversion__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_carlevel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  enum icalproperty_carlevel arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_carlevel",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalproperty_new_carlevel" "', argument " "1"" of type '" "enum icalproperty_carlevel""'");
  } 
  arg1 = (enum icalproperty_carlevel)(val1);
  result = (icalproperty *)icalproperty_new_carlevel(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_carlevel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  enum icalproperty_carlevel arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalproperty_set_carlevel",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_carlevel" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalproperty_set_carlevel" "', argument " "2"" of type '" "enum icalproperty_carlevel""'");
  } 
  arg2 = (enum icalproperty_carlevel)(val2);
  icalproperty_set_carlevel(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_carlevel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  enum icalproperty_carlevel result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_carlevel",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_carlevel" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (enum icalproperty_carlevel)icalproperty_get_carlevel((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_carlevel__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  enum icalproperty_carlevel arg1 ;
  void *arg2 = 0 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_carlevel",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalproperty_vanew_carlevel" "', argument " "1"" of type '" "enum icalproperty_carlevel""'");
  } 
  arg1 = (enum icalproperty_carlevel)(val1);
  result = (icalproperty *)icalproperty_vanew_carlevel(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_carlevel(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_icalproperty_vanew_carlevel__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_carid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_carid",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_carid" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_carid((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_carid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_carid",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_carid" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_carid" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_carid(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_carid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_carid",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_carid" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_carid((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_carid__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_carid",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_carid" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_carid((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_carid(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_icalproperty_vanew_carid__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_categories(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_categories",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_categories" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_categories((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_categories(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_categories",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_categories" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_categories" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_categories(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_categories(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_categories",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_categories" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_categories((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_categories__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_categories",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_categories" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_categories((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_categories(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_icalproperty_vanew_categories__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_class(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  enum icalproperty_class arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_class",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalproperty_new_class" "', argument " "1"" of type '" "enum icalproperty_class""'");
  } 
  arg1 = (enum icalproperty_class)(val1);
  result = (icalproperty *)icalproperty_new_class(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_class(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  enum icalproperty_class arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalproperty_set_class",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_class" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalproperty_set_class" "', argument " "2"" of type '" "enum icalproperty_class""'");
  } 
  arg2 = (enum icalproperty_class)(val2);
  icalproperty_set_class(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_class(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  enum icalproperty_class result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_class",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_class" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (enum icalproperty_class)icalproperty_get_class((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_class__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  enum icalproperty_class arg1 ;
  void *arg2 = 0 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_class",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalproperty_vanew_class" "', argument " "1"" of type '" "enum icalproperty_class""'");
  } 
  arg1 = (enum icalproperty_class)(val1);
  result = (icalproperty *)icalproperty_vanew_class(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_class(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_icalproperty_vanew_class__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_cmd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  enum icalproperty_cmd arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_cmd",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalproperty_new_cmd" "', argument " "1"" of type '" "enum icalproperty_cmd""'");
  } 
  arg1 = (enum icalproperty_cmd)(val1);
  result = (icalproperty *)icalproperty_new_cmd(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_cmd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  enum icalproperty_cmd arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalproperty_set_cmd",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_cmd" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalproperty_set_cmd" "', argument " "2"" of type '" "enum icalproperty_cmd""'");
  } 
  arg2 = (enum icalproperty_cmd)(val2);
  icalproperty_set_cmd(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_cmd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  enum icalproperty_cmd result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_cmd",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_cmd" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (enum icalproperty_cmd)icalproperty_get_cmd((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_cmd__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  enum icalproperty_cmd arg1 ;
  void *arg2 = 0 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_cmd",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalproperty_vanew_cmd" "', argument " "1"" of type '" "enum icalproperty_cmd""'");
  } 
  arg1 = (enum icalproperty_cmd)(val1);
  result = (icalproperty *)icalproperty_vanew_cmd(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_cmd(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_icalproperty_vanew_cmd__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_comment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_comment",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_comment" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_comment((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_comment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_comment",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_comment" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_comment" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_comment(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_comment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_comment",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_comment" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_comment((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_comment__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_comment",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_comment" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_comment((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_comment(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_icalproperty_vanew_comment__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_completed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_completed",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_completed" "', argument " "1"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_new_completed" "', argument " "1"" of type '" "struct icaltimetype""'");
    } else {
      arg1 = *((struct icaltimetype *)(argp1));
    }
  }
  result = (icalproperty *)icalproperty_new_completed(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_completed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  struct icaltimetype arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalproperty_set_completed",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_completed" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_completed" "', argument " "2"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_set_completed" "', argument " "2"" of type '" "struct icaltimetype""'");
    } else {
      arg2 = *((struct icaltimetype *)(argp2));
    }
  }
  icalproperty_set_completed(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_completed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icaltimetype result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_completed",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_completed" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = icalproperty_get_completed((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_NewPointerObj((struct icaltimetype *)memcpy((struct icaltimetype *)malloc(sizeof(struct icaltimetype)),&result,sizeof(struct icaltimetype)), SWIGTYPE_p_icaltimetype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_completed__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  struct icaltimetype arg1 ;
  void *arg2 = 0 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_completed",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_completed" "', argument " "1"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_vanew_completed" "', argument " "1"" of type '" "struct icaltimetype""'");
    } else {
      arg1 = *((struct icaltimetype *)(argp1));
    }
  }
  result = (icalproperty *)icalproperty_vanew_completed(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_completed(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_icalproperty_vanew_completed__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_components(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_components",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_components" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_components((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_components(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_components",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_components" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_components" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_components(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_components(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_components",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_components" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_components((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_components__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_components",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_components" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_components((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_components(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_icalproperty_vanew_components__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_contact(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_contact",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_contact" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_contact((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_contact(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_contact",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_contact" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_contact" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_contact(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_contact(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_contact",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_contact" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_contact((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_contact__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_contact",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_contact" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_contact((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_contact(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_icalproperty_vanew_contact__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_created(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_created",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_created" "', argument " "1"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_new_created" "', argument " "1"" of type '" "struct icaltimetype""'");
    } else {
      arg1 = *((struct icaltimetype *)(argp1));
    }
  }
  result = (icalproperty *)icalproperty_new_created(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_created(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  struct icaltimetype arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalproperty_set_created",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_created" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_created" "', argument " "2"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_set_created" "', argument " "2"" of type '" "struct icaltimetype""'");
    } else {
      arg2 = *((struct icaltimetype *)(argp2));
    }
  }
  icalproperty_set_created(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_created(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icaltimetype result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_created",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_created" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = icalproperty_get_created((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_NewPointerObj((struct icaltimetype *)memcpy((struct icaltimetype *)malloc(sizeof(struct icaltimetype)),&result,sizeof(struct icaltimetype)), SWIGTYPE_p_icaltimetype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_created__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  struct icaltimetype arg1 ;
  void *arg2 = 0 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_created",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_created" "', argument " "1"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_vanew_created" "', argument " "1"" of type '" "struct icaltimetype""'");
    } else {
      arg1 = *((struct icaltimetype *)(argp1));
    }
  }
  result = (icalproperty *)icalproperty_vanew_created(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_created(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_icalproperty_vanew_created__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_csid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_csid",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_csid" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_csid((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_csid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_csid",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_csid" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_csid" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_csid(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_csid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_csid",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_csid" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_csid((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_csid__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_csid",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_csid" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_csid((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_csid(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_icalproperty_vanew_csid__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_datemax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_datemax",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_datemax" "', argument " "1"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_new_datemax" "', argument " "1"" of type '" "struct icaltimetype""'");
    } else {
      arg1 = *((struct icaltimetype *)(argp1));
    }
  }
  result = (icalproperty *)icalproperty_new_datemax(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_datemax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  struct icaltimetype arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalproperty_set_datemax",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_datemax" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_datemax" "', argument " "2"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_set_datemax" "', argument " "2"" of type '" "struct icaltimetype""'");
    } else {
      arg2 = *((struct icaltimetype *)(argp2));
    }
  }
  icalproperty_set_datemax(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_datemax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icaltimetype result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_datemax",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_datemax" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = icalproperty_get_datemax((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_NewPointerObj((struct icaltimetype *)memcpy((struct icaltimetype *)malloc(sizeof(struct icaltimetype)),&result,sizeof(struct icaltimetype)), SWIGTYPE_p_icaltimetype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_datemax__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  struct icaltimetype arg1 ;
  void *arg2 = 0 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_datemax",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_datemax" "', argument " "1"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_vanew_datemax" "', argument " "1"" of type '" "struct icaltimetype""'");
    } else {
      arg1 = *((struct icaltimetype *)(argp1));
    }
  }
  result = (icalproperty *)icalproperty_vanew_datemax(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_datemax(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_icalproperty_vanew_datemax__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_datemin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_datemin",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_datemin" "', argument " "1"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_new_datemin" "', argument " "1"" of type '" "struct icaltimetype""'");
    } else {
      arg1 = *((struct icaltimetype *)(argp1));
    }
  }
  result = (icalproperty *)icalproperty_new_datemin(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_datemin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  struct icaltimetype arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalproperty_set_datemin",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_datemin" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_datemin" "', argument " "2"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_set_datemin" "', argument " "2"" of type '" "struct icaltimetype""'");
    } else {
      arg2 = *((struct icaltimetype *)(argp2));
    }
  }
  icalproperty_set_datemin(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_datemin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icaltimetype result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_datemin",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_datemin" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = icalproperty_get_datemin((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_NewPointerObj((struct icaltimetype *)memcpy((struct icaltimetype *)malloc(sizeof(struct icaltimetype)),&result,sizeof(struct icaltimetype)), SWIGTYPE_p_icaltimetype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_datemin__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  struct icaltimetype arg1 ;
  void *arg2 = 0 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_datemin",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_datemin" "', argument " "1"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_vanew_datemin" "', argument " "1"" of type '" "struct icaltimetype""'");
    } else {
      arg1 = *((struct icaltimetype *)(argp1));
    }
  }
  result = (icalproperty *)icalproperty_vanew_datemin(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_datemin(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_icalproperty_vanew_datemin__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_decreed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_decreed",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_decreed" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_decreed((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_decreed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_decreed",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_decreed" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_decreed" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_decreed(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_decreed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_decreed",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_decreed" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_decreed((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_decreed__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_decreed",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_decreed" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_decreed((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_decreed(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_icalproperty_vanew_decreed__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_defaultcharset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_defaultcharset",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_defaultcharset" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_defaultcharset((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_defaultcharset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_defaultcharset",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_defaultcharset" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_defaultcharset" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_defaultcharset(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_defaultcharset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_defaultcharset",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_defaultcharset" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_defaultcharset((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_defaultcharset__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_defaultcharset",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_defaultcharset" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_defaultcharset((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_defaultcharset(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_icalproperty_vanew_defaultcharset__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_defaultlocale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_defaultlocale",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_defaultlocale" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_defaultlocale((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_defaultlocale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_defaultlocale",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_defaultlocale" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_defaultlocale" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_defaultlocale(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_defaultlocale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_defaultlocale",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_defaultlocale" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_defaultlocale((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_defaultlocale__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_defaultlocale",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_defaultlocale" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_defaultlocale((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_defaultlocale(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_icalproperty_vanew_defaultlocale__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_defaulttzid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_defaulttzid",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_defaulttzid" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_defaulttzid((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_defaulttzid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_defaulttzid",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_defaulttzid" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_defaulttzid" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_defaulttzid(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_defaulttzid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_defaulttzid",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_defaulttzid" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_defaulttzid((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_defaulttzid__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_defaulttzid",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_defaulttzid" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_defaulttzid((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_defaulttzid(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_icalproperty_vanew_defaulttzid__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_defaultvcars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_defaultvcars",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_defaultvcars" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_defaultvcars((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_defaultvcars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_defaultvcars",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_defaultvcars" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_defaultvcars" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_defaultvcars(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_defaultvcars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_defaultvcars",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_defaultvcars" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_defaultvcars((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_defaultvcars__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_defaultvcars",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_defaultvcars" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_defaultvcars((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_defaultvcars(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_icalproperty_vanew_defaultvcars__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_deny(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_deny",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_deny" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_deny((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_deny(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_deny",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_deny" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_deny" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_deny(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_deny(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_deny",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_deny" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_deny((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_deny__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_deny",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_deny" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_deny((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_deny(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_icalproperty_vanew_deny__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_description(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_description",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_description" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_description((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_description(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_description",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_description" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_description" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_description(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_description(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_description",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_description" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_description((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_description__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_description",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_description" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_description((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_description(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_icalproperty_vanew_description__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_dtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_dtend",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_dtend" "', argument " "1"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_new_dtend" "', argument " "1"" of type '" "struct icaltimetype""'");
    } else {
      arg1 = *((struct icaltimetype *)(argp1));
    }
  }
  result = (icalproperty *)icalproperty_new_dtend(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_dtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  struct icaltimetype arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalproperty_set_dtend",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_dtend" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_dtend" "', argument " "2"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_set_dtend" "', argument " "2"" of type '" "struct icaltimetype""'");
    } else {
      arg2 = *((struct icaltimetype *)(argp2));
    }
  }
  icalproperty_set_dtend(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_dtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icaltimetype result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_dtend",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_dtend" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = icalproperty_get_dtend((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_NewPointerObj((struct icaltimetype *)memcpy((struct icaltimetype *)malloc(sizeof(struct icaltimetype)),&result,sizeof(struct icaltimetype)), SWIGTYPE_p_icaltimetype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_dtend__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  struct icaltimetype arg1 ;
  void *arg2 = 0 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_dtend",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_dtend" "', argument " "1"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_vanew_dtend" "', argument " "1"" of type '" "struct icaltimetype""'");
    } else {
      arg1 = *((struct icaltimetype *)(argp1));
    }
  }
  result = (icalproperty *)icalproperty_vanew_dtend(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_dtend(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_icalproperty_vanew_dtend__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_dtstamp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_dtstamp",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_dtstamp" "', argument " "1"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_new_dtstamp" "', argument " "1"" of type '" "struct icaltimetype""'");
    } else {
      arg1 = *((struct icaltimetype *)(argp1));
    }
  }
  result = (icalproperty *)icalproperty_new_dtstamp(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_dtstamp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  struct icaltimetype arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalproperty_set_dtstamp",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_dtstamp" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_dtstamp" "', argument " "2"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_set_dtstamp" "', argument " "2"" of type '" "struct icaltimetype""'");
    } else {
      arg2 = *((struct icaltimetype *)(argp2));
    }
  }
  icalproperty_set_dtstamp(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_dtstamp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icaltimetype result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_dtstamp",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_dtstamp" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = icalproperty_get_dtstamp((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_NewPointerObj((struct icaltimetype *)memcpy((struct icaltimetype *)malloc(sizeof(struct icaltimetype)),&result,sizeof(struct icaltimetype)), SWIGTYPE_p_icaltimetype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_dtstamp__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  struct icaltimetype arg1 ;
  void *arg2 = 0 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_dtstamp",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_dtstamp" "', argument " "1"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_vanew_dtstamp" "', argument " "1"" of type '" "struct icaltimetype""'");
    } else {
      arg1 = *((struct icaltimetype *)(argp1));
    }
  }
  result = (icalproperty *)icalproperty_vanew_dtstamp(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_dtstamp(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_icalproperty_vanew_dtstamp__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_dtstart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_dtstart",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_dtstart" "', argument " "1"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_new_dtstart" "', argument " "1"" of type '" "struct icaltimetype""'");
    } else {
      arg1 = *((struct icaltimetype *)(argp1));
    }
  }
  result = (icalproperty *)icalproperty_new_dtstart(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_dtstart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  struct icaltimetype arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalproperty_set_dtstart",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_dtstart" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_dtstart" "', argument " "2"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_set_dtstart" "', argument " "2"" of type '" "struct icaltimetype""'");
    } else {
      arg2 = *((struct icaltimetype *)(argp2));
    }
  }
  icalproperty_set_dtstart(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_dtstart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icaltimetype result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_dtstart",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_dtstart" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = icalproperty_get_dtstart((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_NewPointerObj((struct icaltimetype *)memcpy((struct icaltimetype *)malloc(sizeof(struct icaltimetype)),&result,sizeof(struct icaltimetype)), SWIGTYPE_p_icaltimetype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_dtstart__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  struct icaltimetype arg1 ;
  void *arg2 = 0 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_dtstart",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_dtstart" "', argument " "1"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_vanew_dtstart" "', argument " "1"" of type '" "struct icaltimetype""'");
    } else {
      arg1 = *((struct icaltimetype *)(argp1));
    }
  }
  result = (icalproperty *)icalproperty_vanew_dtstart(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_dtstart(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_icalproperty_vanew_dtstart__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_due(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_due",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_due" "', argument " "1"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_new_due" "', argument " "1"" of type '" "struct icaltimetype""'");
    } else {
      arg1 = *((struct icaltimetype *)(argp1));
    }
  }
  result = (icalproperty *)icalproperty_new_due(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_due(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  struct icaltimetype arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalproperty_set_due",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_due" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_due" "', argument " "2"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_set_due" "', argument " "2"" of type '" "struct icaltimetype""'");
    } else {
      arg2 = *((struct icaltimetype *)(argp2));
    }
  }
  icalproperty_set_due(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_due(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icaltimetype result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_due",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_due" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = icalproperty_get_due((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_NewPointerObj((struct icaltimetype *)memcpy((struct icaltimetype *)malloc(sizeof(struct icaltimetype)),&result,sizeof(struct icaltimetype)), SWIGTYPE_p_icaltimetype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_due__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  struct icaltimetype arg1 ;
  void *arg2 = 0 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_due",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_due" "', argument " "1"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_vanew_due" "', argument " "1"" of type '" "struct icaltimetype""'");
    } else {
      arg1 = *((struct icaltimetype *)(argp1));
    }
  }
  result = (icalproperty *)icalproperty_vanew_due(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_due(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_icalproperty_vanew_due__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_duration(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaldurationtype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_duration",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaldurationtype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_duration" "', argument " "1"" of type '" "struct icaldurationtype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_new_duration" "', argument " "1"" of type '" "struct icaldurationtype""'");
    } else {
      arg1 = *((struct icaldurationtype *)(argp1));
    }
  }
  result = (icalproperty *)icalproperty_new_duration(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_duration(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  struct icaldurationtype arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalproperty_set_duration",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_duration" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_icaldurationtype,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_duration" "', argument " "2"" of type '" "struct icaldurationtype""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_set_duration" "', argument " "2"" of type '" "struct icaldurationtype""'");
    } else {
      arg2 = *((struct icaldurationtype *)(argp2));
    }
  }
  icalproperty_set_duration(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_duration(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icaldurationtype result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_duration",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_duration" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = icalproperty_get_duration((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_NewPointerObj((struct icaldurationtype *)memcpy((struct icaldurationtype *)malloc(sizeof(struct icaldurationtype)),&result,sizeof(struct icaldurationtype)), SWIGTYPE_p_icaldurationtype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_duration__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  struct icaldurationtype arg1 ;
  void *arg2 = 0 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_duration",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaldurationtype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_duration" "', argument " "1"" of type '" "struct icaldurationtype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_vanew_duration" "', argument " "1"" of type '" "struct icaldurationtype""'");
    } else {
      arg1 = *((struct icaldurationtype *)(argp1));
    }
  }
  result = (icalproperty *)icalproperty_vanew_duration(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_duration(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_icalproperty_vanew_duration__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_exdate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_exdate",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_exdate" "', argument " "1"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_new_exdate" "', argument " "1"" of type '" "struct icaltimetype""'");
    } else {
      arg1 = *((struct icaltimetype *)(argp1));
    }
  }
  result = (icalproperty *)icalproperty_new_exdate(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_exdate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  struct icaltimetype arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalproperty_set_exdate",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_exdate" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_exdate" "', argument " "2"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_set_exdate" "', argument " "2"" of type '" "struct icaltimetype""'");
    } else {
      arg2 = *((struct icaltimetype *)(argp2));
    }
  }
  icalproperty_set_exdate(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_exdate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icaltimetype result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_exdate",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_exdate" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = icalproperty_get_exdate((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_NewPointerObj((struct icaltimetype *)memcpy((struct icaltimetype *)malloc(sizeof(struct icaltimetype)),&result,sizeof(struct icaltimetype)), SWIGTYPE_p_icaltimetype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_exdate__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  struct icaltimetype arg1 ;
  void *arg2 = 0 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_exdate",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_exdate" "', argument " "1"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_vanew_exdate" "', argument " "1"" of type '" "struct icaltimetype""'");
    } else {
      arg1 = *((struct icaltimetype *)(argp1));
    }
  }
  result = (icalproperty *)icalproperty_vanew_exdate(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_exdate(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_icalproperty_vanew_exdate__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_expand(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_expand",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalproperty_new_expand" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = (int)(val1);
  result = (icalproperty *)icalproperty_new_expand(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_expand(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_expand",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_expand" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalproperty_set_expand" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  icalproperty_set_expand(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_expand(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_expand",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_expand" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (int)icalproperty_get_expand((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_expand__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  int arg1 ;
  void *arg2 = 0 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_expand",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalproperty_vanew_expand" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = (int)(val1);
  result = (icalproperty *)icalproperty_vanew_expand(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_expand(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_icalproperty_vanew_expand__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_exrule(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalrecurrencetype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_exrule",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icalrecurrencetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_exrule" "', argument " "1"" of type '" "struct icalrecurrencetype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_new_exrule" "', argument " "1"" of type '" "struct icalrecurrencetype""'");
    } else {
      arg1 = *((struct icalrecurrencetype *)(argp1));
    }
  }
  result = (icalproperty *)icalproperty_new_exrule(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_exrule(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  struct icalrecurrencetype arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalproperty_set_exrule",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_exrule" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_icalrecurrencetype,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_exrule" "', argument " "2"" of type '" "struct icalrecurrencetype""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_set_exrule" "', argument " "2"" of type '" "struct icalrecurrencetype""'");
    } else {
      arg2 = *((struct icalrecurrencetype *)(argp2));
    }
  }
  icalproperty_set_exrule(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_exrule(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icalrecurrencetype result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_exrule",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_exrule" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = icalproperty_get_exrule((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_NewPointerObj((struct icalrecurrencetype *)memcpy((struct icalrecurrencetype *)malloc(sizeof(struct icalrecurrencetype)),&result,sizeof(struct icalrecurrencetype)), SWIGTYPE_p_icalrecurrencetype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_exrule__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  struct icalrecurrencetype arg1 ;
  void *arg2 = 0 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_exrule",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icalrecurrencetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_exrule" "', argument " "1"" of type '" "struct icalrecurrencetype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_vanew_exrule" "', argument " "1"" of type '" "struct icalrecurrencetype""'");
    } else {
      arg1 = *((struct icalrecurrencetype *)(argp1));
    }
  }
  result = (icalproperty *)icalproperty_vanew_exrule(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_exrule(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_icalproperty_vanew_exrule__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_freebusy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalperiodtype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_freebusy",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icalperiodtype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_freebusy" "', argument " "1"" of type '" "struct icalperiodtype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_new_freebusy" "', argument " "1"" of type '" "struct icalperiodtype""'");
    } else {
      arg1 = *((struct icalperiodtype *)(argp1));
    }
  }
  result = (icalproperty *)icalproperty_new_freebusy(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_freebusy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  struct icalperiodtype arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalproperty_set_freebusy",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_freebusy" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_icalperiodtype,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_freebusy" "', argument " "2"" of type '" "struct icalperiodtype""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_set_freebusy" "', argument " "2"" of type '" "struct icalperiodtype""'");
    } else {
      arg2 = *((struct icalperiodtype *)(argp2));
    }
  }
  icalproperty_set_freebusy(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_freebusy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icalperiodtype result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_freebusy",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_freebusy" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = icalproperty_get_freebusy((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_NewPointerObj((struct icalperiodtype *)memcpy((struct icalperiodtype *)malloc(sizeof(struct icalperiodtype)),&result,sizeof(struct icalperiodtype)), SWIGTYPE_p_icalperiodtype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_freebusy__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  struct icalperiodtype arg1 ;
  void *arg2 = 0 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_freebusy",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icalperiodtype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_freebusy" "', argument " "1"" of type '" "struct icalperiodtype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_vanew_freebusy" "', argument " "1"" of type '" "struct icalperiodtype""'");
    } else {
      arg1 = *((struct icalperiodtype *)(argp1));
    }
  }
  result = (icalproperty *)icalproperty_vanew_freebusy(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_freebusy(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_icalproperty_vanew_freebusy__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_geo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalgeotype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_geo",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icalgeotype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_geo" "', argument " "1"" of type '" "struct icalgeotype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_new_geo" "', argument " "1"" of type '" "struct icalgeotype""'");
    } else {
      arg1 = *((struct icalgeotype *)(argp1));
    }
  }
  result = (icalproperty *)icalproperty_new_geo(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_geo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  struct icalgeotype arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalproperty_set_geo",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_geo" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_icalgeotype,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_geo" "', argument " "2"" of type '" "struct icalgeotype""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_set_geo" "', argument " "2"" of type '" "struct icalgeotype""'");
    } else {
      arg2 = *((struct icalgeotype *)(argp2));
    }
  }
  icalproperty_set_geo(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_geo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icalgeotype result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_geo",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_geo" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = icalproperty_get_geo((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_NewPointerObj((struct icalgeotype *)memcpy((struct icalgeotype *)malloc(sizeof(struct icalgeotype)),&result,sizeof(struct icalgeotype)), SWIGTYPE_p_icalgeotype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_geo__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  struct icalgeotype arg1 ;
  void *arg2 = 0 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_geo",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icalgeotype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_geo" "', argument " "1"" of type '" "struct icalgeotype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_vanew_geo" "', argument " "1"" of type '" "struct icalgeotype""'");
    } else {
      arg1 = *((struct icalgeotype *)(argp1));
    }
  }
  result = (icalproperty *)icalproperty_vanew_geo(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_geo(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_icalproperty_vanew_geo__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_grant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_grant",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_grant" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_grant((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_grant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_grant",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_grant" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_grant" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_grant(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_grant(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_grant",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_grant" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_grant((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_grant__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_grant",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_grant" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_grant((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_grant(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_icalproperty_vanew_grant__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_itipversion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_itipversion",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_itipversion" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_itipversion((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_itipversion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_itipversion",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_itipversion" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_itipversion" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_itipversion(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_itipversion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_itipversion",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_itipversion" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_itipversion((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_itipversion__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_itipversion",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_itipversion" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_itipversion((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_itipversion(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_icalproperty_vanew_itipversion__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_lastmodified(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_lastmodified",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_lastmodified" "', argument " "1"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_new_lastmodified" "', argument " "1"" of type '" "struct icaltimetype""'");
    } else {
      arg1 = *((struct icaltimetype *)(argp1));
    }
  }
  result = (icalproperty *)icalproperty_new_lastmodified(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_lastmodified(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  struct icaltimetype arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalproperty_set_lastmodified",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_lastmodified" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_lastmodified" "', argument " "2"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_set_lastmodified" "', argument " "2"" of type '" "struct icaltimetype""'");
    } else {
      arg2 = *((struct icaltimetype *)(argp2));
    }
  }
  icalproperty_set_lastmodified(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_lastmodified(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icaltimetype result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_lastmodified",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_lastmodified" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = icalproperty_get_lastmodified((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_NewPointerObj((struct icaltimetype *)memcpy((struct icaltimetype *)malloc(sizeof(struct icaltimetype)),&result,sizeof(struct icaltimetype)), SWIGTYPE_p_icaltimetype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_lastmodified__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  struct icaltimetype arg1 ;
  void *arg2 = 0 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_lastmodified",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_lastmodified" "', argument " "1"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_vanew_lastmodified" "', argument " "1"" of type '" "struct icaltimetype""'");
    } else {
      arg1 = *((struct icaltimetype *)(argp1));
    }
  }
  result = (icalproperty *)icalproperty_vanew_lastmodified(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_lastmodified(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_icalproperty_vanew_lastmodified__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_location(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_location",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_location" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_location((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_location(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_location",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_location" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_location" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_location(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_location(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_location",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_location" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_location((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_location__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_location",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_location" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_location((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_location(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_icalproperty_vanew_location__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_maxcomponentsize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_maxcomponentsize",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalproperty_new_maxcomponentsize" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = (int)(val1);
  result = (icalproperty *)icalproperty_new_maxcomponentsize(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_maxcomponentsize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_maxcomponentsize",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_maxcomponentsize" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalproperty_set_maxcomponentsize" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  icalproperty_set_maxcomponentsize(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_maxcomponentsize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_maxcomponentsize",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_maxcomponentsize" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (int)icalproperty_get_maxcomponentsize((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_maxcomponentsize__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  int arg1 ;
  void *arg2 = 0 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_maxcomponentsize",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalproperty_vanew_maxcomponentsize" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = (int)(val1);
  result = (icalproperty *)icalproperty_vanew_maxcomponentsize(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_maxcomponentsize(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_icalproperty_vanew_maxcomponentsize__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_maxdate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_maxdate",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_maxdate" "', argument " "1"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_new_maxdate" "', argument " "1"" of type '" "struct icaltimetype""'");
    } else {
      arg1 = *((struct icaltimetype *)(argp1));
    }
  }
  result = (icalproperty *)icalproperty_new_maxdate(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_maxdate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  struct icaltimetype arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalproperty_set_maxdate",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_maxdate" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_maxdate" "', argument " "2"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_set_maxdate" "', argument " "2"" of type '" "struct icaltimetype""'");
    } else {
      arg2 = *((struct icaltimetype *)(argp2));
    }
  }
  icalproperty_set_maxdate(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_maxdate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icaltimetype result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_maxdate",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_maxdate" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = icalproperty_get_maxdate((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_NewPointerObj((struct icaltimetype *)memcpy((struct icaltimetype *)malloc(sizeof(struct icaltimetype)),&result,sizeof(struct icaltimetype)), SWIGTYPE_p_icaltimetype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_maxdate__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  struct icaltimetype arg1 ;
  void *arg2 = 0 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_maxdate",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_maxdate" "', argument " "1"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_vanew_maxdate" "', argument " "1"" of type '" "struct icaltimetype""'");
    } else {
      arg1 = *((struct icaltimetype *)(argp1));
    }
  }
  result = (icalproperty *)icalproperty_vanew_maxdate(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_maxdate(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_icalproperty_vanew_maxdate__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_maxresults(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_maxresults",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalproperty_new_maxresults" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = (int)(val1);
  result = (icalproperty *)icalproperty_new_maxresults(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_maxresults(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_maxresults",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_maxresults" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalproperty_set_maxresults" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  icalproperty_set_maxresults(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_maxresults(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_maxresults",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_maxresults" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (int)icalproperty_get_maxresults((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_maxresults__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  int arg1 ;
  void *arg2 = 0 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_maxresults",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalproperty_vanew_maxresults" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = (int)(val1);
  result = (icalproperty *)icalproperty_vanew_maxresults(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_maxresults(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_icalproperty_vanew_maxresults__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_maxresultssize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_maxresultssize",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalproperty_new_maxresultssize" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = (int)(val1);
  result = (icalproperty *)icalproperty_new_maxresultssize(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_maxresultssize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_maxresultssize",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_maxresultssize" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalproperty_set_maxresultssize" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  icalproperty_set_maxresultssize(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_maxresultssize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_maxresultssize",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_maxresultssize" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (int)icalproperty_get_maxresultssize((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_maxresultssize__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  int arg1 ;
  void *arg2 = 0 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_maxresultssize",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalproperty_vanew_maxresultssize" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = (int)(val1);
  result = (icalproperty *)icalproperty_vanew_maxresultssize(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_maxresultssize(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_icalproperty_vanew_maxresultssize__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_method(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  enum icalproperty_method arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_method",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalproperty_new_method" "', argument " "1"" of type '" "enum icalproperty_method""'");
  } 
  arg1 = (enum icalproperty_method)(val1);
  result = (icalproperty *)icalproperty_new_method(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_method(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  enum icalproperty_method arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalproperty_set_method",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_method" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalproperty_set_method" "', argument " "2"" of type '" "enum icalproperty_method""'");
  } 
  arg2 = (enum icalproperty_method)(val2);
  icalproperty_set_method(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_method(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  enum icalproperty_method result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_method",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_method" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (enum icalproperty_method)icalproperty_get_method((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_method__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  enum icalproperty_method arg1 ;
  void *arg2 = 0 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_method",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalproperty_vanew_method" "', argument " "1"" of type '" "enum icalproperty_method""'");
  } 
  arg1 = (enum icalproperty_method)(val1);
  result = (icalproperty *)icalproperty_vanew_method(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_method(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_icalproperty_vanew_method__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_mindate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_mindate",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_mindate" "', argument " "1"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_new_mindate" "', argument " "1"" of type '" "struct icaltimetype""'");
    } else {
      arg1 = *((struct icaltimetype *)(argp1));
    }
  }
  result = (icalproperty *)icalproperty_new_mindate(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_mindate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  struct icaltimetype arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalproperty_set_mindate",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_mindate" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_mindate" "', argument " "2"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_set_mindate" "', argument " "2"" of type '" "struct icaltimetype""'");
    } else {
      arg2 = *((struct icaltimetype *)(argp2));
    }
  }
  icalproperty_set_mindate(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_mindate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icaltimetype result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_mindate",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_mindate" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = icalproperty_get_mindate((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_NewPointerObj((struct icaltimetype *)memcpy((struct icaltimetype *)malloc(sizeof(struct icaltimetype)),&result,sizeof(struct icaltimetype)), SWIGTYPE_p_icaltimetype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_mindate__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  struct icaltimetype arg1 ;
  void *arg2 = 0 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_mindate",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_mindate" "', argument " "1"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_vanew_mindate" "', argument " "1"" of type '" "struct icaltimetype""'");
    } else {
      arg1 = *((struct icaltimetype *)(argp1));
    }
  }
  result = (icalproperty *)icalproperty_vanew_mindate(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_mindate(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_icalproperty_vanew_mindate__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_multipart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_multipart",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_multipart" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_multipart((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_multipart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_multipart",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_multipart" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_multipart" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_multipart(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_multipart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_multipart",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_multipart" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_multipart((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_multipart__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_multipart",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_multipart" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_multipart((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_multipart(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_icalproperty_vanew_multipart__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_name(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_name",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_name" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_name((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_name(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_name",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_name" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_name" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_name(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_name(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_name",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_name" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_name((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_name__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_name",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_name" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_name((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_name(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_icalproperty_vanew_name__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_organizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_organizer",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_organizer" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_organizer((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_organizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_organizer",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_organizer" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_organizer" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_organizer(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_organizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_organizer",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_organizer" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_organizer((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_organizer__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_organizer",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_organizer" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_organizer((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_organizer(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_icalproperty_vanew_organizer__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_owner(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_owner",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_owner" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_owner((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_owner(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_owner",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_owner" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_owner" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_owner(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_owner(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_owner",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_owner" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_owner((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_owner__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_owner",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_owner" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_owner((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_owner(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_icalproperty_vanew_owner__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_percentcomplete(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_percentcomplete",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalproperty_new_percentcomplete" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = (int)(val1);
  result = (icalproperty *)icalproperty_new_percentcomplete(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_percentcomplete(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_percentcomplete",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_percentcomplete" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalproperty_set_percentcomplete" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  icalproperty_set_percentcomplete(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_percentcomplete(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_percentcomplete",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_percentcomplete" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (int)icalproperty_get_percentcomplete((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_percentcomplete__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  int arg1 ;
  void *arg2 = 0 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_percentcomplete",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalproperty_vanew_percentcomplete" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = (int)(val1);
  result = (icalproperty *)icalproperty_vanew_percentcomplete(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_percentcomplete(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_icalproperty_vanew_percentcomplete__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_permission(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_permission",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_permission" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_permission((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_permission(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_permission",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_permission" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_permission" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_permission(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_permission(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_permission",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_permission" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_permission((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_permission__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_permission",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_permission" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_permission((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_permission(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_icalproperty_vanew_permission__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_priority(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_priority",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalproperty_new_priority" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = (int)(val1);
  result = (icalproperty *)icalproperty_new_priority(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_priority(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_priority",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_priority" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalproperty_set_priority" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  icalproperty_set_priority(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_priority(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_priority",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_priority" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (int)icalproperty_get_priority((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_priority__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  int arg1 ;
  void *arg2 = 0 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_priority",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalproperty_vanew_priority" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = (int)(val1);
  result = (icalproperty *)icalproperty_vanew_priority(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_priority(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_icalproperty_vanew_priority__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_prodid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_prodid",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_prodid" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_prodid((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_prodid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_prodid",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_prodid" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_prodid" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_prodid(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_prodid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_prodid",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_prodid" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_prodid((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_prodid__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_prodid",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_prodid" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_prodid((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_prodid(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_icalproperty_vanew_prodid__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_query(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_query",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_query" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_query((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_query(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_query",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_query" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_query" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_query(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_query(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_query",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_query" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_query((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_query__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_query",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_query" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_query((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_query(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_icalproperty_vanew_query__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_querylevel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  enum icalproperty_querylevel arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_querylevel",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalproperty_new_querylevel" "', argument " "1"" of type '" "enum icalproperty_querylevel""'");
  } 
  arg1 = (enum icalproperty_querylevel)(val1);
  result = (icalproperty *)icalproperty_new_querylevel(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_querylevel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  enum icalproperty_querylevel arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalproperty_set_querylevel",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_querylevel" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalproperty_set_querylevel" "', argument " "2"" of type '" "enum icalproperty_querylevel""'");
  } 
  arg2 = (enum icalproperty_querylevel)(val2);
  icalproperty_set_querylevel(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_querylevel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  enum icalproperty_querylevel result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_querylevel",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_querylevel" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (enum icalproperty_querylevel)icalproperty_get_querylevel((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_querylevel__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  enum icalproperty_querylevel arg1 ;
  void *arg2 = 0 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_querylevel",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalproperty_vanew_querylevel" "', argument " "1"" of type '" "enum icalproperty_querylevel""'");
  } 
  arg1 = (enum icalproperty_querylevel)(val1);
  result = (icalproperty *)icalproperty_vanew_querylevel(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_querylevel(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_icalproperty_vanew_querylevel__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_queryid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_queryid",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_queryid" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_queryid((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_queryid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_queryid",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_queryid" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_queryid" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_queryid(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_queryid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_queryid",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_queryid" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_queryid((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_queryid__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_queryid",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_queryid" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_queryid((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_queryid(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_icalproperty_vanew_queryid__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_queryname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_queryname",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_queryname" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_queryname((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_queryname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_queryname",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_queryname" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_queryname" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_queryname(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_queryname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_queryname",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_queryname" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_queryname((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_queryname__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_queryname",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_queryname" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_queryname((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_queryname(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_icalproperty_vanew_queryname__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_rdate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaldatetimeperiodtype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_rdate",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaldatetimeperiodtype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_rdate" "', argument " "1"" of type '" "struct icaldatetimeperiodtype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_new_rdate" "', argument " "1"" of type '" "struct icaldatetimeperiodtype""'");
    } else {
      arg1 = *((struct icaldatetimeperiodtype *)(argp1));
    }
  }
  result = (icalproperty *)icalproperty_new_rdate(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_rdate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  struct icaldatetimeperiodtype arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalproperty_set_rdate",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_rdate" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_icaldatetimeperiodtype,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_rdate" "', argument " "2"" of type '" "struct icaldatetimeperiodtype""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_set_rdate" "', argument " "2"" of type '" "struct icaldatetimeperiodtype""'");
    } else {
      arg2 = *((struct icaldatetimeperiodtype *)(argp2));
    }
  }
  icalproperty_set_rdate(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_rdate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icaldatetimeperiodtype result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_rdate",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_rdate" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = icalproperty_get_rdate((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_NewPointerObj((struct icaldatetimeperiodtype *)memcpy((struct icaldatetimeperiodtype *)malloc(sizeof(struct icaldatetimeperiodtype)),&result,sizeof(struct icaldatetimeperiodtype)), SWIGTYPE_p_icaldatetimeperiodtype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_rdate__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  struct icaldatetimeperiodtype arg1 ;
  void *arg2 = 0 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_rdate",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaldatetimeperiodtype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_rdate" "', argument " "1"" of type '" "struct icaldatetimeperiodtype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_vanew_rdate" "', argument " "1"" of type '" "struct icaldatetimeperiodtype""'");
    } else {
      arg1 = *((struct icaldatetimeperiodtype *)(argp1));
    }
  }
  result = (icalproperty *)icalproperty_vanew_rdate(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_rdate(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_icalproperty_vanew_rdate__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_recuraccepted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_recuraccepted",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_recuraccepted" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_recuraccepted((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_recuraccepted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_recuraccepted",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_recuraccepted" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_recuraccepted" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_recuraccepted(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_recuraccepted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_recuraccepted",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_recuraccepted" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_recuraccepted((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_recuraccepted__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_recuraccepted",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_recuraccepted" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_recuraccepted((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_recuraccepted(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_icalproperty_vanew_recuraccepted__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_recurexpand(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_recurexpand",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_recurexpand" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_recurexpand((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_recurexpand(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_recurexpand",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_recurexpand" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_recurexpand" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_recurexpand(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_recurexpand(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_recurexpand",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_recurexpand" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_recurexpand((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_recurexpand__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_recurexpand",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_recurexpand" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_recurexpand((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_recurexpand(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_icalproperty_vanew_recurexpand__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_recurlimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_recurlimit",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_recurlimit" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_recurlimit((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_recurlimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_recurlimit",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_recurlimit" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_recurlimit" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_recurlimit(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_recurlimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_recurlimit",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_recurlimit" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_recurlimit((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_recurlimit__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_recurlimit",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_recurlimit" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_recurlimit((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_recurlimit(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_icalproperty_vanew_recurlimit__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_recurrenceid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_recurrenceid",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_recurrenceid" "', argument " "1"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_new_recurrenceid" "', argument " "1"" of type '" "struct icaltimetype""'");
    } else {
      arg1 = *((struct icaltimetype *)(argp1));
    }
  }
  result = (icalproperty *)icalproperty_new_recurrenceid(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_recurrenceid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  struct icaltimetype arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalproperty_set_recurrenceid",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_recurrenceid" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_recurrenceid" "', argument " "2"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_set_recurrenceid" "', argument " "2"" of type '" "struct icaltimetype""'");
    } else {
      arg2 = *((struct icaltimetype *)(argp2));
    }
  }
  icalproperty_set_recurrenceid(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_recurrenceid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icaltimetype result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_recurrenceid",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_recurrenceid" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = icalproperty_get_recurrenceid((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_NewPointerObj((struct icaltimetype *)memcpy((struct icaltimetype *)malloc(sizeof(struct icaltimetype)),&result,sizeof(struct icaltimetype)), SWIGTYPE_p_icaltimetype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_recurrenceid__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  struct icaltimetype arg1 ;
  void *arg2 = 0 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_recurrenceid",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_recurrenceid" "', argument " "1"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_vanew_recurrenceid" "', argument " "1"" of type '" "struct icaltimetype""'");
    } else {
      arg1 = *((struct icaltimetype *)(argp1));
    }
  }
  result = (icalproperty *)icalproperty_vanew_recurrenceid(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_recurrenceid(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_icalproperty_vanew_recurrenceid__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_relatedto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_relatedto",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_relatedto" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_relatedto((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_relatedto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_relatedto",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_relatedto" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_relatedto" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_relatedto(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_relatedto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_relatedto",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_relatedto" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_relatedto((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_relatedto__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_relatedto",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_relatedto" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_relatedto((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_relatedto(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_icalproperty_vanew_relatedto__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_relcalid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_relcalid",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_relcalid" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_relcalid((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_relcalid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_relcalid",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_relcalid" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_relcalid" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_relcalid(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_relcalid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_relcalid",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_relcalid" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_relcalid((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_relcalid__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_relcalid",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_relcalid" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_relcalid((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_relcalid(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_icalproperty_vanew_relcalid__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_repeat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_repeat",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalproperty_new_repeat" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = (int)(val1);
  result = (icalproperty *)icalproperty_new_repeat(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_repeat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_repeat",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_repeat" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalproperty_set_repeat" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  icalproperty_set_repeat(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_repeat(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_repeat",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_repeat" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (int)icalproperty_get_repeat((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_repeat__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  int arg1 ;
  void *arg2 = 0 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_repeat",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalproperty_vanew_repeat" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = (int)(val1);
  result = (icalproperty *)icalproperty_vanew_repeat(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_repeat(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_icalproperty_vanew_repeat__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_requeststatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalreqstattype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_requeststatus",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icalreqstattype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_requeststatus" "', argument " "1"" of type '" "struct icalreqstattype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_new_requeststatus" "', argument " "1"" of type '" "struct icalreqstattype""'");
    } else {
      arg1 = *((struct icalreqstattype *)(argp1));
    }
  }
  result = (icalproperty *)icalproperty_new_requeststatus(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_requeststatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  struct icalreqstattype arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalproperty_set_requeststatus",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_requeststatus" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_icalreqstattype,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_requeststatus" "', argument " "2"" of type '" "struct icalreqstattype""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_set_requeststatus" "', argument " "2"" of type '" "struct icalreqstattype""'");
    } else {
      arg2 = *((struct icalreqstattype *)(argp2));
    }
  }
  icalproperty_set_requeststatus(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_requeststatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icalreqstattype result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_requeststatus",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_requeststatus" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = icalproperty_get_requeststatus((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_NewPointerObj((struct icalreqstattype *)memcpy((struct icalreqstattype *)malloc(sizeof(struct icalreqstattype)),&result,sizeof(struct icalreqstattype)), SWIGTYPE_p_icalreqstattype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_requeststatus__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  struct icalreqstattype arg1 ;
  void *arg2 = 0 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_requeststatus",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icalreqstattype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_requeststatus" "', argument " "1"" of type '" "struct icalreqstattype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_vanew_requeststatus" "', argument " "1"" of type '" "struct icalreqstattype""'");
    } else {
      arg1 = *((struct icalreqstattype *)(argp1));
    }
  }
  result = (icalproperty *)icalproperty_vanew_requeststatus(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_requeststatus(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_icalproperty_vanew_requeststatus__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_resources(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_resources",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_resources" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_resources((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_resources(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_resources",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_resources" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_resources" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_resources(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_resources(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_resources",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_resources" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_resources((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_resources__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_resources",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_resources" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_resources((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_resources(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_icalproperty_vanew_resources__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_restriction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_restriction",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_restriction" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_restriction((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_restriction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_restriction",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_restriction" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_restriction" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_restriction(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_restriction(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_restriction",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_restriction" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_restriction((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_restriction__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_restriction",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_restriction" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_restriction((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_restriction(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_icalproperty_vanew_restriction__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_rrule(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalrecurrencetype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_rrule",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icalrecurrencetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_rrule" "', argument " "1"" of type '" "struct icalrecurrencetype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_new_rrule" "', argument " "1"" of type '" "struct icalrecurrencetype""'");
    } else {
      arg1 = *((struct icalrecurrencetype *)(argp1));
    }
  }
  result = (icalproperty *)icalproperty_new_rrule(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_rrule(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  struct icalrecurrencetype arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalproperty_set_rrule",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_rrule" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_icalrecurrencetype,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_rrule" "', argument " "2"" of type '" "struct icalrecurrencetype""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_set_rrule" "', argument " "2"" of type '" "struct icalrecurrencetype""'");
    } else {
      arg2 = *((struct icalrecurrencetype *)(argp2));
    }
  }
  icalproperty_set_rrule(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_rrule(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icalrecurrencetype result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_rrule",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_rrule" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = icalproperty_get_rrule((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_NewPointerObj((struct icalrecurrencetype *)memcpy((struct icalrecurrencetype *)malloc(sizeof(struct icalrecurrencetype)),&result,sizeof(struct icalrecurrencetype)), SWIGTYPE_p_icalrecurrencetype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_rrule__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  struct icalrecurrencetype arg1 ;
  void *arg2 = 0 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_rrule",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icalrecurrencetype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_rrule" "', argument " "1"" of type '" "struct icalrecurrencetype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_vanew_rrule" "', argument " "1"" of type '" "struct icalrecurrencetype""'");
    } else {
      arg1 = *((struct icalrecurrencetype *)(argp1));
    }
  }
  result = (icalproperty *)icalproperty_vanew_rrule(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_rrule(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_icalproperty_vanew_rrule__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_scope(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_scope",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_scope" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_scope((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_scope(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_scope",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_scope" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_scope" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_scope(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_scope(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_scope",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_scope" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_scope((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_scope__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_scope",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_scope" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_scope((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_scope(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_icalproperty_vanew_scope__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_sequence(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_sequence",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalproperty_new_sequence" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = (int)(val1);
  result = (icalproperty *)icalproperty_new_sequence(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_sequence(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_sequence",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_sequence" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalproperty_set_sequence" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  icalproperty_set_sequence(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_sequence(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_sequence",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_sequence" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (int)icalproperty_get_sequence((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_sequence__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  int arg1 ;
  void *arg2 = 0 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_sequence",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalproperty_vanew_sequence" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = (int)(val1);
  result = (icalproperty *)icalproperty_vanew_sequence(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_sequence(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_icalproperty_vanew_sequence__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_status(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  enum icalproperty_status arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_status",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalproperty_new_status" "', argument " "1"" of type '" "enum icalproperty_status""'");
  } 
  arg1 = (enum icalproperty_status)(val1);
  result = (icalproperty *)icalproperty_new_status(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_status(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  enum icalproperty_status arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalproperty_set_status",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_status" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalproperty_set_status" "', argument " "2"" of type '" "enum icalproperty_status""'");
  } 
  arg2 = (enum icalproperty_status)(val2);
  icalproperty_set_status(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_status(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  enum icalproperty_status result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_status",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_status" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (enum icalproperty_status)icalproperty_get_status((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_status__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  enum icalproperty_status arg1 ;
  void *arg2 = 0 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_status",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalproperty_vanew_status" "', argument " "1"" of type '" "enum icalproperty_status""'");
  } 
  arg1 = (enum icalproperty_status)(val1);
  result = (icalproperty *)icalproperty_vanew_status(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_status(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_icalproperty_vanew_status__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_storesexpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_storesexpanded",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_storesexpanded" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_storesexpanded((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_storesexpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_storesexpanded",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_storesexpanded" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_storesexpanded" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_storesexpanded(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_storesexpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_storesexpanded",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_storesexpanded" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_storesexpanded((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_storesexpanded__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_storesexpanded",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_storesexpanded" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_storesexpanded((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_storesexpanded(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_icalproperty_vanew_storesexpanded__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_summary(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_summary",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_summary" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_summary((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_summary(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_summary",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_summary" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_summary" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_summary(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_summary(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_summary",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_summary" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_summary((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_summary__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_summary",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_summary" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_summary((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_summary(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_icalproperty_vanew_summary__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_target(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_target",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_target" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_target((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_target(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_target",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_target" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_target" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_target(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_target(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_target",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_target" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_target((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_target__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_target",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_target" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_target((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_target(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_icalproperty_vanew_target__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_transp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  enum icalproperty_transp arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_transp",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalproperty_new_transp" "', argument " "1"" of type '" "enum icalproperty_transp""'");
  } 
  arg1 = (enum icalproperty_transp)(val1);
  result = (icalproperty *)icalproperty_new_transp(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_transp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  enum icalproperty_transp arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalproperty_set_transp",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_transp" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalproperty_set_transp" "', argument " "2"" of type '" "enum icalproperty_transp""'");
  } 
  arg2 = (enum icalproperty_transp)(val2);
  icalproperty_set_transp(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_transp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  enum icalproperty_transp result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_transp",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_transp" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (enum icalproperty_transp)icalproperty_get_transp((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_transp__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  enum icalproperty_transp arg1 ;
  void *arg2 = 0 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_transp",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalproperty_vanew_transp" "', argument " "1"" of type '" "enum icalproperty_transp""'");
  } 
  arg1 = (enum icalproperty_transp)(val1);
  result = (icalproperty *)icalproperty_vanew_transp(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_transp(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_icalproperty_vanew_transp__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_trigger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltriggertype arg1 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_trigger",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltriggertype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_trigger" "', argument " "1"" of type '" "struct icaltriggertype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_new_trigger" "', argument " "1"" of type '" "struct icaltriggertype""'");
    } else {
      arg1 = *((struct icaltriggertype *)(argp1));
    }
  }
  result = (icalproperty *)icalproperty_new_trigger(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_trigger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  struct icaltriggertype arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalproperty_set_trigger",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_trigger" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_icaltriggertype,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_trigger" "', argument " "2"" of type '" "struct icaltriggertype""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_set_trigger" "', argument " "2"" of type '" "struct icaltriggertype""'");
    } else {
      arg2 = *((struct icaltriggertype *)(argp2));
    }
  }
  icalproperty_set_trigger(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_trigger(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icaltriggertype result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_trigger",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_trigger" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = icalproperty_get_trigger((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_NewPointerObj((struct icaltriggertype *)memcpy((struct icaltriggertype *)malloc(sizeof(struct icaltriggertype)),&result,sizeof(struct icaltriggertype)), SWIGTYPE_p_icaltriggertype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_trigger__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  struct icaltriggertype arg1 ;
  void *arg2 = 0 ;
  void *argp1 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_trigger",&obj0)) SWIG_fail;
  {
    res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_icaltriggertype,  0 );
    if (!SWIG_IsOK(res1)) {
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_trigger" "', argument " "1"" of type '" "struct icaltriggertype""'"); 
    }  
    if (!argp1) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_vanew_trigger" "', argument " "1"" of type '" "struct icaltriggertype""'");
    } else {
      arg1 = *((struct icaltriggertype *)(argp1));
    }
  }
  result = (icalproperty *)icalproperty_vanew_trigger(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_trigger(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_icalproperty_vanew_trigger__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_tzid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_tzid",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_tzid" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_tzid((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_tzid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_tzid",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_tzid" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_tzid" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_tzid(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_tzid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_tzid",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_tzid" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_tzid((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_tzid__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_tzid",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_tzid" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_tzid((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_tzid(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_icalproperty_vanew_tzid__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_tzname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_tzname",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_tzname" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_tzname((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_tzname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_tzname",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_tzname" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_tzname" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_tzname(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_tzname(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_tzname",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_tzname" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_tzname((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_tzname__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_tzname",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_tzname" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_tzname((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_tzname(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_icalproperty_vanew_tzname__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_tzoffsetfrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_tzoffsetfrom",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalproperty_new_tzoffsetfrom" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = (int)(val1);
  result = (icalproperty *)icalproperty_new_tzoffsetfrom(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_tzoffsetfrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_tzoffsetfrom",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_tzoffsetfrom" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalproperty_set_tzoffsetfrom" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  icalproperty_set_tzoffsetfrom(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_tzoffsetfrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_tzoffsetfrom",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_tzoffsetfrom" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (int)icalproperty_get_tzoffsetfrom((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_tzoffsetfrom__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  int arg1 ;
  void *arg2 = 0 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_tzoffsetfrom",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalproperty_vanew_tzoffsetfrom" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = (int)(val1);
  result = (icalproperty *)icalproperty_vanew_tzoffsetfrom(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_tzoffsetfrom(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_icalproperty_vanew_tzoffsetfrom__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_tzoffsetto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_tzoffsetto",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalproperty_new_tzoffsetto" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = (int)(val1);
  result = (icalproperty *)icalproperty_new_tzoffsetto(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_tzoffsetto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_tzoffsetto",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_tzoffsetto" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalproperty_set_tzoffsetto" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  icalproperty_set_tzoffsetto(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_tzoffsetto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_tzoffsetto",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_tzoffsetto" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (int)icalproperty_get_tzoffsetto((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_tzoffsetto__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  int arg1 ;
  void *arg2 = 0 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_tzoffsetto",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalproperty_vanew_tzoffsetto" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = (int)(val1);
  result = (icalproperty *)icalproperty_vanew_tzoffsetto(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_tzoffsetto(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_icalproperty_vanew_tzoffsetto__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_tzurl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_tzurl",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_tzurl" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_tzurl((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_tzurl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_tzurl",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_tzurl" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_tzurl" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_tzurl(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_tzurl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_tzurl",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_tzurl" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_tzurl((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_tzurl__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_tzurl",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_tzurl" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_tzurl((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_tzurl(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_icalproperty_vanew_tzurl__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_uid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_uid",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_uid" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_uid((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_uid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_uid",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_uid" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_uid" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_uid(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_uid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_uid",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_uid" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_uid((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_uid__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_uid",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_uid" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_uid((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_uid(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_icalproperty_vanew_uid__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_url(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_url",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_url" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_url((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_url(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_url",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_url" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_url" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_url(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_url(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_url",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_url" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_url((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_url__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_url",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_url" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_url((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_url(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_icalproperty_vanew_url__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_version",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_version" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_version((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_version",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_version" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_version" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_version(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_version(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_version",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_version" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_version((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_version__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_version",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_version" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_version((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_version(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_icalproperty_vanew_version__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_x(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_x",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_x" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_x((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_x(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_x",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_x" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_x" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_x(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_x(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_x",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_x" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_x((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_x__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_x",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_x" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_x((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_x(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_icalproperty_vanew_x__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_xlicclass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  enum icalproperty_xlicclass arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_xlicclass",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalproperty_new_xlicclass" "', argument " "1"" of type '" "enum icalproperty_xlicclass""'");
  } 
  arg1 = (enum icalproperty_xlicclass)(val1);
  result = (icalproperty *)icalproperty_new_xlicclass(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_xlicclass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  enum icalproperty_xlicclass arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalproperty_set_xlicclass",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_xlicclass" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalproperty_set_xlicclass" "', argument " "2"" of type '" "enum icalproperty_xlicclass""'");
  } 
  arg2 = (enum icalproperty_xlicclass)(val2);
  icalproperty_set_xlicclass(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_xlicclass(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  enum icalproperty_xlicclass result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_xlicclass",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_xlicclass" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (enum icalproperty_xlicclass)icalproperty_get_xlicclass((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_xlicclass__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  enum icalproperty_xlicclass arg1 ;
  void *arg2 = 0 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_xlicclass",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalproperty_vanew_xlicclass" "', argument " "1"" of type '" "enum icalproperty_xlicclass""'");
  } 
  arg1 = (enum icalproperty_xlicclass)(val1);
  result = (icalproperty *)icalproperty_vanew_xlicclass(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_xlicclass(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_icalproperty_vanew_xlicclass__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_xlicclustercount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_xlicclustercount",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_xlicclustercount" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_xlicclustercount((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_xlicclustercount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_xlicclustercount",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_xlicclustercount" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_xlicclustercount" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_xlicclustercount(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_xlicclustercount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_xlicclustercount",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_xlicclustercount" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_xlicclustercount((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_xlicclustercount__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_xlicclustercount",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_xlicclustercount" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_xlicclustercount((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_xlicclustercount(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_icalproperty_vanew_xlicclustercount__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_xlicerror(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_xlicerror",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_xlicerror" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_xlicerror((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_xlicerror(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_xlicerror",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_xlicerror" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_xlicerror" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_xlicerror(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_xlicerror(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_xlicerror",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_xlicerror" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_xlicerror((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_xlicerror__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_xlicerror",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_xlicerror" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_xlicerror((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_xlicerror(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_icalproperty_vanew_xlicerror__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_xlicmimecharset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_xlicmimecharset",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_xlicmimecharset" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_xlicmimecharset((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_xlicmimecharset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_xlicmimecharset",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_xlicmimecharset" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_xlicmimecharset" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_xlicmimecharset(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_xlicmimecharset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_xlicmimecharset",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_xlicmimecharset" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_xlicmimecharset((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_xlicmimecharset__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_xlicmimecharset",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_xlicmimecharset" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_xlicmimecharset((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_xlicmimecharset(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_icalproperty_vanew_xlicmimecharset__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_xlicmimecid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_xlicmimecid",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_xlicmimecid" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_xlicmimecid((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_xlicmimecid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_xlicmimecid",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_xlicmimecid" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_xlicmimecid" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_xlicmimecid(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_xlicmimecid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_xlicmimecid",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_xlicmimecid" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_xlicmimecid((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_xlicmimecid__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_xlicmimecid",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_xlicmimecid" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_xlicmimecid((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_xlicmimecid(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_icalproperty_vanew_xlicmimecid__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_xlicmimecontenttype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_xlicmimecontenttype",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_xlicmimecontenttype" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_xlicmimecontenttype((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_xlicmimecontenttype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_xlicmimecontenttype",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_xlicmimecontenttype" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_xlicmimecontenttype" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_xlicmimecontenttype(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_xlicmimecontenttype(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_xlicmimecontenttype",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_xlicmimecontenttype" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_xlicmimecontenttype((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_xlicmimecontenttype__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_xlicmimecontenttype",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_xlicmimecontenttype" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_xlicmimecontenttype((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_xlicmimecontenttype(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_icalproperty_vanew_xlicmimecontenttype__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_xlicmimeencoding(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_xlicmimeencoding",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_xlicmimeencoding" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_xlicmimeencoding((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_xlicmimeencoding(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_xlicmimeencoding",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_xlicmimeencoding" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_xlicmimeencoding" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_xlicmimeencoding(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_xlicmimeencoding(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_xlicmimeencoding",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_xlicmimeencoding" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_xlicmimeencoding((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_xlicmimeencoding__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_xlicmimeencoding",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_xlicmimeencoding" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_xlicmimeencoding((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_xlicmimeencoding(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_icalproperty_vanew_xlicmimeencoding__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_xlicmimefilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_xlicmimefilename",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_xlicmimefilename" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_xlicmimefilename((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_xlicmimefilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_xlicmimefilename",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_xlicmimefilename" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_xlicmimefilename" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_xlicmimefilename(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_xlicmimefilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_xlicmimefilename",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_xlicmimefilename" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_xlicmimefilename((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_xlicmimefilename__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_xlicmimefilename",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_xlicmimefilename" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_xlicmimefilename((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_xlicmimefilename(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_icalproperty_vanew_xlicmimefilename__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_xlicmimeoptinfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_xlicmimeoptinfo",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_xlicmimeoptinfo" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_xlicmimeoptinfo((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_xlicmimeoptinfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_xlicmimeoptinfo",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_xlicmimeoptinfo" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_xlicmimeoptinfo" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_xlicmimeoptinfo(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_xlicmimeoptinfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_xlicmimeoptinfo",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_xlicmimeoptinfo" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_xlicmimeoptinfo((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_xlicmimeoptinfo__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  void *arg2 = 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_vanew_xlicmimeoptinfo",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_vanew_xlicmimeoptinfo" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_vanew_xlicmimeoptinfo((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_vanew_xlicmimeoptinfo(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_icalproperty_vanew_xlicmimeoptinfo__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalproperty_new(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty_kind arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalproperty_new" "', argument " "1"" of type '" "icalproperty_kind""'");
  } 
  arg1 = (icalproperty_kind)(val1);
  result = (icalproperty *)icalproperty_new(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_clone",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_clone" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (icalproperty *)icalproperty_new_clone(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_new_from_string(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_new_from_string",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_new_from_string" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty *)icalproperty_new_from_string((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_as_ical_string(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_as_ical_string",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_as_ical_string" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_as_ical_string(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_as_ical_string_r(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_as_ical_string_r",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_as_ical_string_r" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_as_ical_string_r(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_free(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_free",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_free" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  icalproperty_free(arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_isa(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty_kind result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_isa",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_isa" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (icalproperty_kind)icalproperty_isa(arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_isa_property(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  void *arg1 = (void *) 0 ;
  int res1 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_isa_property",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0,SWIG_as_voidptrptr(&arg1), 0, 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_isa_property" "', argument " "1"" of type '" "void *""'"); 
  }
  result = (int)icalproperty_isa_property(arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_add_parameters(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalproperty_impl *arg1 = (struct icalproperty_impl *) 0 ;
  va_list arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalproperty_add_parameters",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_add_parameters" "', argument " "1"" of type '" "struct icalproperty_impl *""'"); 
  }
  arg1 = (struct icalproperty_impl *)(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_va_list,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_add_parameters" "', argument " "2"" of type '" "va_list""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalproperty_add_parameters" "', argument " "2"" of type '" "va_list""'");
    } else {
      arg2 = *((va_list *)(argp2));
    }
  }
  icalproperty_add_parameters(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_add_parameter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  icalparameter *arg2 = (icalparameter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalproperty_add_parameter",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_add_parameter" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_add_parameter" "', argument " "2"" of type '" "icalparameter *""'"); 
  }
  arg2 = (icalparameter *)(argp2);
  icalproperty_add_parameter(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_parameter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  icalparameter *arg2 = (icalparameter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalproperty_set_parameter",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_parameter" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_parameter" "', argument " "2"" of type '" "icalparameter *""'"); 
  }
  arg2 = (icalparameter *)(argp2);
  icalproperty_set_parameter(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_parameter_from_string(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_parameter_from_string",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_parameter_from_string" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_parameter_from_string" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "icalproperty_set_parameter_from_string" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = (char *)(buf3);
  icalproperty_set_parameter_from_string(arg1,(char const *)arg2,(char const *)arg3);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_parameter_as_string(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalproperty_get_parameter_as_string",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_parameter_as_string" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_get_parameter_as_string" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  result = (char *)icalproperty_get_parameter_as_string(arg1,(char const *)arg2);
  resultobj = SWIG_FromCharPtr((const char *)result);
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_parameter_as_string_r(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalproperty_get_parameter_as_string_r",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_parameter_as_string_r" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_get_parameter_as_string_r" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  result = (char *)icalproperty_get_parameter_as_string_r(arg1,(char const *)arg2);
  resultobj = SWIG_FromCharPtr((const char *)result);
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_remove_parameter_by_kind(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  icalparameter_kind arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalproperty_remove_parameter_by_kind",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_remove_parameter_by_kind" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalproperty_remove_parameter_by_kind" "', argument " "2"" of type '" "icalparameter_kind""'");
  } 
  arg2 = (icalparameter_kind)(val2);
  icalproperty_remove_parameter_by_kind(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_remove_parameter_by_name(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_remove_parameter_by_name",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_remove_parameter_by_name" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_remove_parameter_by_name" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_remove_parameter_by_name(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_remove_parameter_by_ref(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  icalparameter *arg2 = (icalparameter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalproperty_remove_parameter_by_ref",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_remove_parameter_by_ref" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_remove_parameter_by_ref" "', argument " "2"" of type '" "icalparameter *""'"); 
  }
  arg2 = (icalparameter *)(argp2);
  icalproperty_remove_parameter_by_ref(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_count_parameters(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_count_parameters",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_count_parameters" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (int)icalproperty_count_parameters((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_first_parameter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  icalparameter_kind arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  icalparameter *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalproperty_get_first_parameter",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_first_parameter" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalproperty_get_first_parameter" "', argument " "2"" of type '" "icalparameter_kind""'");
  } 
  arg2 = (icalparameter_kind)(val2);
  result = (icalparameter *)icalproperty_get_first_parameter(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_next_parameter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  icalparameter_kind arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  icalparameter *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalproperty_get_next_parameter",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_next_parameter" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalproperty_get_next_parameter" "', argument " "2"" of type '" "icalparameter_kind""'");
  } 
  arg2 = (icalparameter_kind)(val2);
  result = (icalparameter *)icalproperty_get_next_parameter(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  icalvalue *arg2 = (icalvalue *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalproperty_set_value",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_value" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_value" "', argument " "2"" of type '" "icalvalue *""'"); 
  }
  arg2 = (icalvalue *)(argp2);
  icalproperty_set_value(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_value_from_string(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_value_from_string",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_value_from_string" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_value_from_string" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "icalproperty_set_value_from_string" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = (char *)(buf3);
  icalproperty_set_value_from_string(arg1,(char const *)arg2,(char const *)arg3);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalvalue *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_value",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_value" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (icalvalue *)icalproperty_get_value((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_value_as_string(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_value_as_string",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_value_as_string" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_value_as_string((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_value_as_string_r(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_value_as_string_r",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_value_as_string_r" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_value_as_string_r((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_x_name(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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:icalproperty_set_x_name",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_x_name" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_x_name" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalproperty_set_x_name(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_x_name(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_x_name",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_x_name" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_x_name(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_property_name(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_property_name",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_property_name" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_property_name((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_property_name_r(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_property_name_r",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_property_name_r" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (char *)icalproperty_get_property_name_r((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_value_to_value_kind(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter_value arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalvalue_kind result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_value_to_value_kind",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalparameter_value_to_value_kind" "', argument " "1"" of type '" "icalparameter_value""'");
  } 
  arg1 = (icalparameter_value)(val1);
  result = (icalvalue_kind)icalparameter_value_to_value_kind(arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_kind_to_value_kind(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty_kind arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalvalue_kind result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_kind_to_value_kind",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalproperty_kind_to_value_kind" "', argument " "1"" of type '" "icalproperty_kind""'");
  } 
  arg1 = (icalproperty_kind)(val1);
  result = (icalvalue_kind)icalproperty_kind_to_value_kind(arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_value_kind_to_kind(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue_kind arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty_kind result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_value_kind_to_kind",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalproperty_value_kind_to_kind" "', argument " "1"" of type '" "icalvalue_kind""'");
  } 
  arg1 = (icalvalue_kind)(val1);
  result = (icalproperty_kind)icalproperty_value_kind_to_kind(arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_kind_to_string(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty_kind arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_kind_to_string",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalproperty_kind_to_string" "', argument " "1"" of type '" "icalproperty_kind""'");
  } 
  arg1 = (icalproperty_kind)(val1);
  result = (char *)icalproperty_kind_to_string(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_string_to_kind(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty_kind result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_string_to_kind",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_string_to_kind" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty_kind)icalproperty_string_to_kind((char const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_kind_is_valid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty_kind arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_kind_is_valid",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalproperty_kind_is_valid" "', argument " "1"" of type '" "icalproperty_kind""'");
  } 
  arg1 = (icalproperty_kind)(val1);
  result = (int)icalproperty_kind_is_valid(arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_string_to_method(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty_method result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_string_to_method",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_string_to_method" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty_method)icalproperty_string_to_method((char const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_method_to_string(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty_method arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_method_to_string",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalproperty_method_to_string" "', argument " "1"" of type '" "icalproperty_method""'");
  } 
  arg1 = (icalproperty_method)(val1);
  result = (char *)icalproperty_method_to_string(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_enum_to_string(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_enum_to_string",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalproperty_enum_to_string" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = (int)(val1);
  result = (char *)icalproperty_enum_to_string(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_enum_to_string_r(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_enum_to_string_r",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalproperty_enum_to_string_r" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = (int)(val1);
  result = (char *)icalproperty_enum_to_string_r(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_kind_and_string_to_enum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int arg1 ;
  char *arg2 = (char *) 0 ;
  int val1 ;
  int ecode1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalproperty_kind_and_string_to_enum",&obj0,&obj1)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalproperty_kind_and_string_to_enum" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = (int)(val1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_kind_and_string_to_enum" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  result = (int)icalproperty_kind_and_string_to_enum(arg1,(char const *)arg2);
  resultobj = SWIG_From_int((int)(result));
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_status_to_string(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty_status arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_status_to_string",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalproperty_status_to_string" "', argument " "1"" of type '" "icalproperty_status""'");
  } 
  arg1 = (icalproperty_status)(val1);
  result = (char *)icalproperty_status_to_string(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_string_to_status(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty_status result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_string_to_status",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_string_to_status" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalproperty_status)icalproperty_string_to_status((char const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


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


SWIGINTERN PyObject *_wrap_pvl_elem_t_MAGIC_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  pvl_elem_t *arg1 = (pvl_elem_t *) 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:pvl_elem_t_MAGIC_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_pvl_elem_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pvl_elem_t_MAGIC_set" "', argument " "1"" of type '" "pvl_elem_t *""'"); 
  }
  arg1 = (pvl_elem_t *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pvl_elem_t_MAGIC_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  if (arg1) (arg1)->MAGIC = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_pvl_elem_t_MAGIC_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  pvl_elem_t *arg1 = (pvl_elem_t *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:pvl_elem_t_MAGIC_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_pvl_elem_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pvl_elem_t_MAGIC_get" "', argument " "1"" of type '" "pvl_elem_t *""'"); 
  }
  arg1 = (pvl_elem_t *)(argp1);
  result = (int) ((arg1)->MAGIC);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_pvl_elem_t_d_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  pvl_elem_t *arg1 = (pvl_elem_t *) 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:pvl_elem_t_d_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_pvl_elem_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pvl_elem_t_d_set" "', argument " "1"" of type '" "pvl_elem_t *""'"); 
  }
  arg1 = (pvl_elem_t *)(argp1);
  res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pvl_elem_t_d_set" "', argument " "2"" of type '" "void *""'"); 
  }
  if (arg1) (arg1)->d = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_pvl_elem_t_d_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  pvl_elem_t *arg1 = (pvl_elem_t *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  void *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:pvl_elem_t_d_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_pvl_elem_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pvl_elem_t_d_get" "', argument " "1"" of type '" "pvl_elem_t *""'"); 
  }
  arg1 = (pvl_elem_t *)(argp1);
  result = (void *) ((arg1)->d);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_pvl_elem_t_next_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  pvl_elem_t *arg1 = (pvl_elem_t *) 0 ;
  struct pvl_elem_t *arg2 = (struct pvl_elem_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:pvl_elem_t_next_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_pvl_elem_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pvl_elem_t_next_set" "', argument " "1"" of type '" "pvl_elem_t *""'"); 
  }
  arg1 = (pvl_elem_t *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_pvl_elem_t, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pvl_elem_t_next_set" "', argument " "2"" of type '" "struct pvl_elem_t *""'"); 
  }
  arg2 = (struct pvl_elem_t *)(argp2);
  if (arg1) (arg1)->next = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_pvl_elem_t_next_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  pvl_elem_t *arg1 = (pvl_elem_t *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct pvl_elem_t *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:pvl_elem_t_next_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_pvl_elem_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pvl_elem_t_next_get" "', argument " "1"" of type '" "pvl_elem_t *""'"); 
  }
  arg1 = (pvl_elem_t *)(argp1);
  result = (struct pvl_elem_t *) ((arg1)->next);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pvl_elem_t, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_pvl_elem_t_prior_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  pvl_elem_t *arg1 = (pvl_elem_t *) 0 ;
  struct pvl_elem_t *arg2 = (struct pvl_elem_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:pvl_elem_t_prior_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_pvl_elem_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pvl_elem_t_prior_set" "', argument " "1"" of type '" "pvl_elem_t *""'"); 
  }
  arg1 = (pvl_elem_t *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_pvl_elem_t, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pvl_elem_t_prior_set" "', argument " "2"" of type '" "struct pvl_elem_t *""'"); 
  }
  arg2 = (struct pvl_elem_t *)(argp2);
  if (arg1) (arg1)->prior = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_pvl_elem_t_prior_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  pvl_elem_t *arg1 = (pvl_elem_t *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct pvl_elem_t *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:pvl_elem_t_prior_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_pvl_elem_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pvl_elem_t_prior_get" "', argument " "1"" of type '" "pvl_elem_t *""'"); 
  }
  arg1 = (pvl_elem_t *)(argp1);
  result = (struct pvl_elem_t *) ((arg1)->prior);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pvl_elem_t, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_pvl_elem_t(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  pvl_elem_t *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_pvl_elem_t")) SWIG_fail;
  result = (pvl_elem_t *)calloc(1, sizeof(pvl_elem_t));
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pvl_elem_t, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_pvl_elem_t(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  pvl_elem_t *arg1 = (pvl_elem_t *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_pvl_elem_t",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_pvl_elem_t, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_pvl_elem_t" "', argument " "1"" of type '" "pvl_elem_t *""'"); 
  }
  arg1 = (pvl_elem_t *)(argp1);
  free((char *) arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


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

SWIGINTERN int Swig_var_pvl_elem_count_set(PyObject *_val) {
  {
    int val;
    int res = SWIG_AsVal_int(_val, &val);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in variable '""pvl_elem_count""' of type '""int""'");
    }
    pvl_elem_count = (int)(val);
  }
  return 0;
fail:
  return 1;
}


SWIGINTERN PyObject *Swig_var_pvl_elem_count_get(void) {
  PyObject *pyobj = 0;
  
  pyobj = SWIG_From_int((int)(pvl_elem_count));
  return pyobj;
}


SWIGINTERN int Swig_var_pvl_list_count_set(PyObject *_val) {
  {
    int val;
    int res = SWIG_AsVal_int(_val, &val);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in variable '""pvl_list_count""' of type '""int""'");
    }
    pvl_list_count = (int)(val);
  }
  return 0;
fail:
  return 1;
}


SWIGINTERN PyObject *Swig_var_pvl_list_count_get(void) {
  PyObject *pyobj = 0;
  
  pyobj = SWIG_From_int((int)(pvl_list_count));
  return pyobj;
}


SWIGINTERN PyObject *_wrap_pvl_new_element(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  void *arg1 = (void *) 0 ;
  pvl_elem arg2 = (pvl_elem) 0 ;
  pvl_elem arg3 = (pvl_elem) 0 ;
  int res1 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  pvl_elem result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:pvl_new_element",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0,SWIG_as_voidptrptr(&arg1), 0, 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pvl_new_element" "', argument " "1"" of type '" "void *""'"); 
  }
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_pvl_elem_t, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pvl_new_element" "', argument " "2"" of type '" "pvl_elem""'"); 
  }
  arg2 = (pvl_elem)(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_pvl_elem_t, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pvl_new_element" "', argument " "3"" of type '" "pvl_elem""'"); 
  }
  arg3 = (pvl_elem)(argp3);
  result = (pvl_elem)pvl_new_element(arg1,arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pvl_elem_t, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_pvl_newlist(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  pvl_list result;
  
  if (!PyArg_ParseTuple(args,(char *)":pvl_newlist")) SWIG_fail;
  result = (pvl_list)pvl_newlist();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pvl_list_t, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_pvl_free(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  pvl_list arg1 = (pvl_list) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:pvl_free",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_pvl_list_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pvl_free" "', argument " "1"" of type '" "pvl_list""'"); 
  }
  arg1 = (pvl_list)(argp1);
  pvl_free(arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_pvl_unshift(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  pvl_list arg1 = (pvl_list) 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:pvl_unshift",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_pvl_list_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pvl_unshift" "', argument " "1"" of type '" "pvl_list""'"); 
  }
  arg1 = (pvl_list)(argp1);
  res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pvl_unshift" "', argument " "2"" of type '" "void *""'"); 
  }
  pvl_unshift(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_pvl_shift(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  pvl_list arg1 = (pvl_list) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  void *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:pvl_shift",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_pvl_list_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pvl_shift" "', argument " "1"" of type '" "pvl_list""'"); 
  }
  arg1 = (pvl_list)(argp1);
  result = (void *)pvl_shift(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_pvl_head(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  pvl_list arg1 = (pvl_list) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  pvl_elem result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:pvl_head",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_pvl_list_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pvl_head" "', argument " "1"" of type '" "pvl_list""'"); 
  }
  arg1 = (pvl_list)(argp1);
  result = (pvl_elem)pvl_head(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pvl_elem_t, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_pvl_push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  pvl_list arg1 = (pvl_list) 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:pvl_push",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_pvl_list_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pvl_push" "', argument " "1"" of type '" "pvl_list""'"); 
  }
  arg1 = (pvl_list)(argp1);
  res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pvl_push" "', argument " "2"" of type '" "void *""'"); 
  }
  pvl_push(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_pvl_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  pvl_list arg1 = (pvl_list) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  void *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:pvl_pop",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_pvl_list_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pvl_pop" "', argument " "1"" of type '" "pvl_list""'"); 
  }
  arg1 = (pvl_list)(argp1);
  result = (void *)pvl_pop(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_pvl_tail(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  pvl_list arg1 = (pvl_list) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  pvl_elem result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:pvl_tail",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_pvl_list_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pvl_tail" "', argument " "1"" of type '" "pvl_list""'"); 
  }
  arg1 = (pvl_list)(argp1);
  result = (pvl_elem)pvl_tail(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pvl_elem_t, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_pvl_insert_ordered(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  pvl_list arg1 = (pvl_list) 0 ;
  pvl_comparef arg2 = (pvl_comparef) 0 ;
  void *arg3 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res3 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:pvl_insert_ordered",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_pvl_list_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pvl_insert_ordered" "', argument " "1"" of type '" "pvl_list""'"); 
  }
  arg1 = (pvl_list)(argp1);
  {
    int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_void__int);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "pvl_insert_ordered" "', argument " "2"" of type '" "pvl_comparef""'"); 
    }
  }
  res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pvl_insert_ordered" "', argument " "3"" of type '" "void *""'"); 
  }
  pvl_insert_ordered(arg1,arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_pvl_insert_after(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  pvl_list arg1 = (pvl_list) 0 ;
  pvl_elem arg2 = (pvl_elem) 0 ;
  void *arg3 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res3 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:pvl_insert_after",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_pvl_list_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pvl_insert_after" "', argument " "1"" of type '" "pvl_list""'"); 
  }
  arg1 = (pvl_list)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_pvl_elem_t, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pvl_insert_after" "', argument " "2"" of type '" "pvl_elem""'"); 
  }
  arg2 = (pvl_elem)(argp2);
  res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pvl_insert_after" "', argument " "3"" of type '" "void *""'"); 
  }
  pvl_insert_after(arg1,arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_pvl_insert_before(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  pvl_list arg1 = (pvl_list) 0 ;
  pvl_elem arg2 = (pvl_elem) 0 ;
  void *arg3 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  int res3 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:pvl_insert_before",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_pvl_list_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pvl_insert_before" "', argument " "1"" of type '" "pvl_list""'"); 
  }
  arg1 = (pvl_list)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_pvl_elem_t, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pvl_insert_before" "', argument " "2"" of type '" "pvl_elem""'"); 
  }
  arg2 = (pvl_elem)(argp2);
  res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pvl_insert_before" "', argument " "3"" of type '" "void *""'"); 
  }
  pvl_insert_before(arg1,arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_pvl_remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  pvl_list arg1 = (pvl_list) 0 ;
  pvl_elem arg2 = (pvl_elem) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  void *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:pvl_remove",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_pvl_list_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pvl_remove" "', argument " "1"" of type '" "pvl_list""'"); 
  }
  arg1 = (pvl_list)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_pvl_elem_t, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pvl_remove" "', argument " "2"" of type '" "pvl_elem""'"); 
  }
  arg2 = (pvl_elem)(argp2);
  result = (void *)pvl_remove(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_pvl_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  pvl_list arg1 = (pvl_list) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:pvl_clear",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_pvl_list_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pvl_clear" "', argument " "1"" of type '" "pvl_list""'"); 
  }
  arg1 = (pvl_list)(argp1);
  pvl_clear(arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_pvl_count(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  pvl_list arg1 = (pvl_list) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:pvl_count",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_pvl_list_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pvl_count" "', argument " "1"" of type '" "pvl_list""'"); 
  }
  arg1 = (pvl_list)(argp1);
  result = (int)pvl_count(arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_pvl_next(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  pvl_elem arg1 = (pvl_elem) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  pvl_elem result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:pvl_next",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_pvl_elem_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pvl_next" "', argument " "1"" of type '" "pvl_elem""'"); 
  }
  arg1 = (pvl_elem)(argp1);
  result = (pvl_elem)pvl_next(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pvl_elem_t, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_pvl_prior(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  pvl_elem arg1 = (pvl_elem) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  pvl_elem result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:pvl_prior",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_pvl_elem_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pvl_prior" "', argument " "1"" of type '" "pvl_elem""'"); 
  }
  arg1 = (pvl_elem)(argp1);
  result = (pvl_elem)pvl_prior(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pvl_elem_t, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_pvl_data(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  pvl_elem arg1 = (pvl_elem) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  void *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:pvl_data",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_pvl_elem_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pvl_data" "', argument " "1"" of type '" "pvl_elem""'"); 
  }
  arg1 = (pvl_elem)(argp1);
  result = (void *)pvl_data(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_pvl_find(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  pvl_list arg1 = (pvl_list) 0 ;
  pvl_findf arg2 = (pvl_findf) 0 ;
  void *arg3 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res3 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  pvl_elem result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:pvl_find",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_pvl_list_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pvl_find" "', argument " "1"" of type '" "pvl_list""'"); 
  }
  arg1 = (pvl_list)(argp1);
  {
    int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_void__int);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "pvl_find" "', argument " "2"" of type '" "pvl_findf""'"); 
    }
  }
  res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pvl_find" "', argument " "3"" of type '" "void *""'"); 
  }
  result = (pvl_elem)pvl_find(arg1,arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pvl_elem_t, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_pvl_find_next(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  pvl_list arg1 = (pvl_list) 0 ;
  pvl_findf arg2 = (pvl_findf) 0 ;
  void *arg3 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res3 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  pvl_elem result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:pvl_find_next",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_pvl_list_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pvl_find_next" "', argument " "1"" of type '" "pvl_list""'"); 
  }
  arg1 = (pvl_list)(argp1);
  {
    int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_void__int);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "pvl_find_next" "', argument " "2"" of type '" "pvl_findf""'"); 
    }
  }
  res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pvl_find_next" "', argument " "3"" of type '" "void *""'"); 
  }
  result = (pvl_elem)pvl_find_next(arg1,arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pvl_elem_t, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_pvl_apply(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  pvl_list arg1 = (pvl_list) 0 ;
  pvl_applyf arg2 = (pvl_applyf) 0 ;
  void *arg3 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res3 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:pvl_apply",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_pvl_list_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pvl_apply" "', argument " "1"" of type '" "pvl_list""'"); 
  }
  arg1 = (pvl_list)(argp1);
  {
    int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_void__void);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "pvl_apply" "', argument " "2"" of type '" "pvl_applyf""'"); 
    }
  }
  res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pvl_apply" "', argument " "3"" of type '" "void *""'"); 
  }
  pvl_apply(arg1,arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap__icalarray_element_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct _icalarray *arg1 = (struct _icalarray *) 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:_icalarray_element_size_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__icalarray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_icalarray_element_size_set" "', argument " "1"" of type '" "struct _icalarray *""'"); 
  }
  arg1 = (struct _icalarray *)(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_icalarray_element_size_set" "', argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = (unsigned int)(val2);
  if (arg1) (arg1)->element_size = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap__icalarray_element_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct _icalarray *arg1 = (struct _icalarray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  unsigned int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:_icalarray_element_size_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__icalarray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_icalarray_element_size_get" "', argument " "1"" of type '" "struct _icalarray *""'"); 
  }
  arg1 = (struct _icalarray *)(argp1);
  result = (unsigned int) ((arg1)->element_size);
  resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap__icalarray_increment_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct _icalarray *arg1 = (struct _icalarray *) 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:_icalarray_increment_size_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__icalarray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_icalarray_increment_size_set" "', argument " "1"" of type '" "struct _icalarray *""'"); 
  }
  arg1 = (struct _icalarray *)(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_icalarray_increment_size_set" "', argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = (unsigned int)(val2);
  if (arg1) (arg1)->increment_size = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap__icalarray_increment_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct _icalarray *arg1 = (struct _icalarray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  unsigned int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:_icalarray_increment_size_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__icalarray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_icalarray_increment_size_get" "', argument " "1"" of type '" "struct _icalarray *""'"); 
  }
  arg1 = (struct _icalarray *)(argp1);
  result = (unsigned int) ((arg1)->increment_size);
  resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap__icalarray_num_elements_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct _icalarray *arg1 = (struct _icalarray *) 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:_icalarray_num_elements_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__icalarray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_icalarray_num_elements_set" "', argument " "1"" of type '" "struct _icalarray *""'"); 
  }
  arg1 = (struct _icalarray *)(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_icalarray_num_elements_set" "', argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = (unsigned int)(val2);
  if (arg1) (arg1)->num_elements = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap__icalarray_num_elements_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct _icalarray *arg1 = (struct _icalarray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  unsigned int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:_icalarray_num_elements_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__icalarray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_icalarray_num_elements_get" "', argument " "1"" of type '" "struct _icalarray *""'"); 
  }
  arg1 = (struct _icalarray *)(argp1);
  result = (unsigned int) ((arg1)->num_elements);
  resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap__icalarray_space_allocated_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct _icalarray *arg1 = (struct _icalarray *) 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:_icalarray_space_allocated_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__icalarray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_icalarray_space_allocated_set" "', argument " "1"" of type '" "struct _icalarray *""'"); 
  }
  arg1 = (struct _icalarray *)(argp1);
  ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "_icalarray_space_allocated_set" "', argument " "2"" of type '" "unsigned int""'");
  } 
  arg2 = (unsigned int)(val2);
  if (arg1) (arg1)->space_allocated = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap__icalarray_space_allocated_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct _icalarray *arg1 = (struct _icalarray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  unsigned int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:_icalarray_space_allocated_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__icalarray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_icalarray_space_allocated_get" "', argument " "1"" of type '" "struct _icalarray *""'"); 
  }
  arg1 = (struct _icalarray *)(argp1);
  result = (unsigned int) ((arg1)->space_allocated);
  resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap__icalarray_data_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct _icalarray *arg1 = (struct _icalarray *) 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:_icalarray_data_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__icalarray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_icalarray_data_set" "', argument " "1"" of type '" "struct _icalarray *""'"); 
  }
  arg1 = (struct _icalarray *)(argp1);
  res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "_icalarray_data_set" "', argument " "2"" of type '" "void *""'"); 
  }
  if (arg1) (arg1)->data = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap__icalarray_data_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct _icalarray *arg1 = (struct _icalarray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  void *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:_icalarray_data_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__icalarray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "_icalarray_data_get" "', argument " "1"" of type '" "struct _icalarray *""'"); 
  }
  arg1 = (struct _icalarray *)(argp1);
  result = (void *) ((arg1)->data);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new__icalarray(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct _icalarray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new__icalarray")) SWIG_fail;
  result = (struct _icalarray *)calloc(1, sizeof(struct _icalarray));
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__icalarray, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete__icalarray(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct _icalarray *arg1 = (struct _icalarray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete__icalarray",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__icalarray, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete__icalarray" "', argument " "1"" of type '" "struct _icalarray *""'"); 
  }
  arg1 = (struct _icalarray *)(argp1);
  free((char *) arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


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

SWIGINTERN PyObject *_wrap_icalarray_new(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int arg1 ;
  int arg2 ;
  int val1 ;
  int ecode1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  icalarray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalarray_new",&obj0,&obj1)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalarray_new" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = (int)(val1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalarray_new" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  result = (icalarray *)icalarray_new(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__icalarray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalarray_free(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalarray *arg1 = (icalarray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalarray_free",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__icalarray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalarray_free" "', argument " "1"" of type '" "icalarray *""'"); 
  }
  arg1 = (icalarray *)(argp1);
  icalarray_free(arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalarray_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalarray *arg1 = (icalarray *) 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:icalarray_append",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__icalarray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalarray_append" "', argument " "1"" of type '" "icalarray *""'"); 
  }
  arg1 = (icalarray *)(argp1);
  res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalarray_append" "', argument " "2"" of type '" "void const *""'"); 
  }
  icalarray_append(arg1,(void const *)arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalarray_remove_element_at(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalarray *arg1 = (icalarray *) 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:icalarray_remove_element_at",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__icalarray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalarray_remove_element_at" "', argument " "1"" of type '" "icalarray *""'"); 
  }
  arg1 = (icalarray *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalarray_remove_element_at" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  icalarray_remove_element_at(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalarray_element_at(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalarray *arg1 = (icalarray *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  void *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalarray_element_at",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__icalarray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalarray_element_at" "', argument " "1"" of type '" "icalarray *""'"); 
  }
  arg1 = (icalarray *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalarray_element_at" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  result = (void *)icalarray_element_at(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalarray_sort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalarray *arg1 = (icalarray *) 0 ;
  int (*arg2)(void const *,void const *) = (int (*)(void const *,void const *)) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalarray_sort",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__icalarray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalarray_sort" "', argument " "1"" of type '" "icalarray *""'"); 
  }
  arg1 = (icalarray *)(argp1);
  {
    int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_q_const__void_p_q_const__void__int);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "icalarray_sort" "', argument " "2"" of type '" "int (*)(void const *,void const *)""'"); 
    }
  }
  icalarray_sort(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcompiter_kind_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcompiter *arg1 = (icalcompiter *) 0 ;
  icalcomponent_kind arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalcompiter_kind_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcompiter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcompiter_kind_set" "', argument " "1"" of type '" "icalcompiter *""'"); 
  }
  arg1 = (icalcompiter *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalcompiter_kind_set" "', argument " "2"" of type '" "icalcomponent_kind""'");
  } 
  arg2 = (icalcomponent_kind)(val2);
  if (arg1) (arg1)->kind = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcompiter_kind_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcompiter *arg1 = (icalcompiter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalcomponent_kind result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcompiter_kind_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcompiter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcompiter_kind_get" "', argument " "1"" of type '" "icalcompiter *""'"); 
  }
  arg1 = (icalcompiter *)(argp1);
  result = (icalcomponent_kind) ((arg1)->kind);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcompiter_iter_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcompiter *arg1 = (icalcompiter *) 0 ;
  pvl_elem arg2 = (pvl_elem) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalcompiter_iter_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcompiter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcompiter_iter_set" "', argument " "1"" of type '" "icalcompiter *""'"); 
  }
  arg1 = (icalcompiter *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_pvl_elem_t, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalcompiter_iter_set" "', argument " "2"" of type '" "pvl_elem""'"); 
  }
  arg2 = (pvl_elem)(argp2);
  if (arg1) (arg1)->iter = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcompiter_iter_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcompiter *arg1 = (icalcompiter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  pvl_elem result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcompiter_iter_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcompiter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcompiter_iter_get" "', argument " "1"" of type '" "icalcompiter *""'"); 
  }
  arg1 = (icalcompiter *)(argp1);
  result = (pvl_elem) ((arg1)->iter);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pvl_elem_t, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_icalcompiter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcompiter *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_icalcompiter")) SWIG_fail;
  result = (icalcompiter *)calloc(1, sizeof(icalcompiter));
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcompiter, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_icalcompiter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcompiter *arg1 = (icalcompiter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_icalcompiter",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcompiter, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_icalcompiter" "', argument " "1"" of type '" "icalcompiter *""'"); 
  }
  arg1 = (icalcompiter *)(argp1);
  free((char *) arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


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

SWIGINTERN PyObject *_wrap_icalcomponent_new(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent_kind arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcomponent_new",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalcomponent_new" "', argument " "1"" of type '" "icalcomponent_kind""'");
  } 
  arg1 = (icalcomponent_kind)(val1);
  result = (icalcomponent *)icalcomponent_new(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_new_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcomponent_new_clone",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_new_clone" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  result = (icalcomponent *)icalcomponent_new_clone(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_new_from_string(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcomponent_new_from_string",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_new_from_string" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalcomponent *)icalcomponent_new_from_string((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_vanew__varargs__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *varargs) {
  PyObject *resultobj = 0;
  icalcomponent_kind arg1 ;
  void *arg2 = 0 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcomponent_vanew",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalcomponent_vanew" "', argument " "1"" of type '" "icalcomponent_kind""'");
  } 
  arg1 = (icalcomponent_kind)(val1);
  result = (icalcomponent *)icalcomponent_vanew(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_vanew(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_icalcomponent_vanew__varargs__(self,newargs,varargs);
  Py_XDECREF(newargs);
  Py_XDECREF(varargs);
  return resultobj;
}


SWIGINTERN PyObject *_wrap_icalcomponent_new_x(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcomponent_new_x",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_new_x" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalcomponent *)icalcomponent_new_x((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_free(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcomponent_free",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_free" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  icalcomponent_free(arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_as_ical_string(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcomponent_as_ical_string",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_as_ical_string" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  result = (char *)icalcomponent_as_ical_string(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_as_ical_string_r(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcomponent_as_ical_string_r",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_as_ical_string_r" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  result = (char *)icalcomponent_as_ical_string_r(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_is_valid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcomponent_is_valid",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_is_valid" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  result = (int)icalcomponent_is_valid(arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_isa(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalcomponent_kind result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcomponent_isa",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_isa" "', argument " "1"" of type '" "icalcomponent const *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  result = (icalcomponent_kind)icalcomponent_isa((struct icalcomponent_impl const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_isa_component(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  void *arg1 = (void *) 0 ;
  int res1 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcomponent_isa_component",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0,SWIG_as_voidptrptr(&arg1), 0, 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_isa_component" "', argument " "1"" of type '" "void *""'"); 
  }
  result = (int)icalcomponent_isa_component(arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_add_property(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  icalproperty *arg2 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalcomponent_add_property",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_add_property" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalcomponent_add_property" "', argument " "2"" of type '" "icalproperty *""'"); 
  }
  arg2 = (icalproperty *)(argp2);
  icalcomponent_add_property(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_remove_property(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  icalproperty *arg2 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalcomponent_remove_property",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_remove_property" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalcomponent_remove_property" "', argument " "2"" of type '" "icalproperty *""'"); 
  }
  arg2 = (icalproperty *)(argp2);
  icalcomponent_remove_property(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_count_properties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  icalproperty_kind arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalcomponent_count_properties",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_count_properties" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalcomponent_count_properties" "', argument " "2"" of type '" "icalproperty_kind""'");
  } 
  arg2 = (icalproperty_kind)(val2);
  result = (int)icalcomponent_count_properties(arg1,arg2);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_get_current_property(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcomponent_get_current_property",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_get_current_property" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  result = (icalproperty *)icalcomponent_get_current_property(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_get_first_property(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  icalproperty_kind arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalcomponent_get_first_property",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_get_first_property" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalcomponent_get_first_property" "', argument " "2"" of type '" "icalproperty_kind""'");
  } 
  arg2 = (icalproperty_kind)(val2);
  result = (icalproperty *)icalcomponent_get_first_property(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_get_next_property(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  icalproperty_kind arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalcomponent_get_next_property",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_get_next_property" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalcomponent_get_next_property" "', argument " "2"" of type '" "icalproperty_kind""'");
  } 
  arg2 = (icalproperty_kind)(val2);
  result = (icalproperty *)icalcomponent_get_next_property(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_get_inner(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcomponent_get_inner",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_get_inner" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  result = (icalcomponent *)icalcomponent_get_inner(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_add_component(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  icalcomponent *arg2 = (icalcomponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalcomponent_add_component",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_add_component" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalcomponent_add_component" "', argument " "2"" of type '" "icalcomponent *""'"); 
  }
  arg2 = (icalcomponent *)(argp2);
  icalcomponent_add_component(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_remove_component(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  icalcomponent *arg2 = (icalcomponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalcomponent_remove_component",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_remove_component" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalcomponent_remove_component" "', argument " "2"" of type '" "icalcomponent *""'"); 
  }
  arg2 = (icalcomponent *)(argp2);
  icalcomponent_remove_component(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_count_components(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  icalcomponent_kind arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalcomponent_count_components",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_count_components" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalcomponent_count_components" "', argument " "2"" of type '" "icalcomponent_kind""'");
  } 
  arg2 = (icalcomponent_kind)(val2);
  result = (int)icalcomponent_count_components(arg1,arg2);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_merge_component(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  icalcomponent *arg2 = (icalcomponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalcomponent_merge_component",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_merge_component" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalcomponent_merge_component" "', argument " "2"" of type '" "icalcomponent *""'"); 
  }
  arg2 = (icalcomponent *)(argp2);
  icalcomponent_merge_component(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_get_current_component(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcomponent_get_current_component",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_get_current_component" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  result = (icalcomponent *)icalcomponent_get_current_component(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_get_first_component(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  icalcomponent_kind arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalcomponent_get_first_component",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_get_first_component" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalcomponent_get_first_component" "', argument " "2"" of type '" "icalcomponent_kind""'");
  } 
  arg2 = (icalcomponent_kind)(val2);
  result = (icalcomponent *)icalcomponent_get_first_component(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_get_next_component(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  icalcomponent_kind arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalcomponent_get_next_component",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_get_next_component" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalcomponent_get_next_component" "', argument " "2"" of type '" "icalcomponent_kind""'");
  } 
  arg2 = (icalcomponent_kind)(val2);
  result = (icalcomponent *)icalcomponent_get_next_component(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_begin_component(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  icalcomponent_kind arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  icalcompiter result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalcomponent_begin_component",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_begin_component" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalcomponent_begin_component" "', argument " "2"" of type '" "icalcomponent_kind""'");
  } 
  arg2 = (icalcomponent_kind)(val2);
  result = icalcomponent_begin_component(arg1,arg2);
  resultobj = SWIG_NewPointerObj((icalcompiter *)memcpy((icalcompiter *)malloc(sizeof(icalcompiter)),&result,sizeof(icalcompiter)), SWIGTYPE_p_icalcompiter, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_end_component(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  icalcomponent_kind arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  icalcompiter result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalcomponent_end_component",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_end_component" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalcomponent_end_component" "', argument " "2"" of type '" "icalcomponent_kind""'");
  } 
  arg2 = (icalcomponent_kind)(val2);
  result = icalcomponent_end_component(arg1,arg2);
  resultobj = SWIG_NewPointerObj((icalcompiter *)memcpy((icalcompiter *)malloc(sizeof(icalcompiter)),&result,sizeof(icalcompiter)), SWIGTYPE_p_icalcompiter, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcompiter_next(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcompiter *arg1 = (icalcompiter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcompiter_next",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcompiter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcompiter_next" "', argument " "1"" of type '" "icalcompiter *""'"); 
  }
  arg1 = (icalcompiter *)(argp1);
  result = (icalcomponent *)icalcompiter_next(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcompiter_prior(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcompiter *arg1 = (icalcompiter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcompiter_prior",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcompiter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcompiter_prior" "', argument " "1"" of type '" "icalcompiter *""'"); 
  }
  arg1 = (icalcompiter *)(argp1);
  result = (icalcomponent *)icalcompiter_prior(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcompiter_deref(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcompiter *arg1 = (icalcompiter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcompiter_deref",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcompiter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcompiter_deref" "', argument " "1"" of type '" "icalcompiter *""'"); 
  }
  arg1 = (icalcompiter *)(argp1);
  result = (icalcomponent *)icalcompiter_deref(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_check_restrictions(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcomponent_check_restrictions",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_check_restrictions" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  result = (int)icalcomponent_check_restrictions(arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_count_errors(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcomponent_count_errors",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_count_errors" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  result = (int)icalcomponent_count_errors(arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_strip_errors(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcomponent_strip_errors",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_strip_errors" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  icalcomponent_strip_errors(arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_convert_errors(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcomponent_convert_errors",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_convert_errors" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  icalcomponent_convert_errors(arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_get_parent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcomponent_get_parent",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_get_parent" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  result = (icalcomponent *)icalcomponent_get_parent(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_set_parent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  icalcomponent *arg2 = (icalcomponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalcomponent_set_parent",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_set_parent" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalcomponent_set_parent" "', argument " "2"" of type '" "icalcomponent *""'"); 
  }
  arg2 = (icalcomponent *)(argp2);
  icalcomponent_set_parent(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_kind_is_valid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent_kind arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcomponent_kind_is_valid",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalcomponent_kind_is_valid" "', argument " "1"" of type '" "icalcomponent_kind""'");
  } 
  arg1 = (icalcomponent_kind)(val1);
  result = (int)icalcomponent_kind_is_valid(arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_string_to_kind(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalcomponent_kind result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcomponent_string_to_kind",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_string_to_kind" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalcomponent_kind)icalcomponent_string_to_kind((char const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_kind_to_string(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent_kind arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcomponent_kind_to_string",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalcomponent_kind_to_string" "', argument " "1"" of type '" "icalcomponent_kind""'");
  } 
  arg1 = (icalcomponent_kind)(val1);
  result = (char *)icalcomponent_kind_to_string(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_get_first_real_component(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcomponent_get_first_real_component",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_get_first_real_component" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  result = (icalcomponent *)icalcomponent_get_first_real_component(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_set_dtstart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  struct icaltimetype arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalcomponent_set_dtstart",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_set_dtstart" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalcomponent_set_dtstart" "', argument " "2"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalcomponent_set_dtstart" "', argument " "2"" of type '" "struct icaltimetype""'");
    } else {
      arg2 = *((struct icaltimetype *)(argp2));
    }
  }
  icalcomponent_set_dtstart(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_get_dtstart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icaltimetype result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcomponent_get_dtstart",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_get_dtstart" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  result = icalcomponent_get_dtstart(arg1);
  resultobj = SWIG_NewPointerObj((struct icaltimetype *)memcpy((struct icaltimetype *)malloc(sizeof(struct icaltimetype)),&result,sizeof(struct icaltimetype)), SWIGTYPE_p_icaltimetype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_get_dtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icaltimetype result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcomponent_get_dtend",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_get_dtend" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  result = icalcomponent_get_dtend(arg1);
  resultobj = SWIG_NewPointerObj((struct icaltimetype *)memcpy((struct icaltimetype *)malloc(sizeof(struct icaltimetype)),&result,sizeof(struct icaltimetype)), SWIGTYPE_p_icaltimetype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_set_dtend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  struct icaltimetype arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalcomponent_set_dtend",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_set_dtend" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalcomponent_set_dtend" "', argument " "2"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalcomponent_set_dtend" "', argument " "2"" of type '" "struct icaltimetype""'");
    } else {
      arg2 = *((struct icaltimetype *)(argp2));
    }
  }
  icalcomponent_set_dtend(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_get_due(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icaltimetype result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcomponent_get_due",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_get_due" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  result = icalcomponent_get_due(arg1);
  resultobj = SWIG_NewPointerObj((struct icaltimetype *)memcpy((struct icaltimetype *)malloc(sizeof(struct icaltimetype)),&result,sizeof(struct icaltimetype)), SWIGTYPE_p_icaltimetype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_set_due(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  struct icaltimetype arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalcomponent_set_due",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_set_due" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalcomponent_set_due" "', argument " "2"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalcomponent_set_due" "', argument " "2"" of type '" "struct icaltimetype""'");
    } else {
      arg2 = *((struct icaltimetype *)(argp2));
    }
  }
  icalcomponent_set_due(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_set_duration(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  struct icaldurationtype arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalcomponent_set_duration",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_set_duration" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_icaldurationtype,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalcomponent_set_duration" "', argument " "2"" of type '" "struct icaldurationtype""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalcomponent_set_duration" "', argument " "2"" of type '" "struct icaldurationtype""'");
    } else {
      arg2 = *((struct icaldurationtype *)(argp2));
    }
  }
  icalcomponent_set_duration(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_get_duration(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icaldurationtype result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcomponent_get_duration",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_get_duration" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  result = icalcomponent_get_duration(arg1);
  resultobj = SWIG_NewPointerObj((struct icaldurationtype *)memcpy((struct icaldurationtype *)malloc(sizeof(struct icaldurationtype)),&result,sizeof(struct icaldurationtype)), SWIGTYPE_p_icaldurationtype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_set_method(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  icalproperty_method arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalcomponent_set_method",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_set_method" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalcomponent_set_method" "', argument " "2"" of type '" "icalproperty_method""'");
  } 
  arg2 = (icalproperty_method)(val2);
  icalcomponent_set_method(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_get_method(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty_method result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcomponent_get_method",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_get_method" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  result = (icalproperty_method)icalcomponent_get_method(arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_get_dtstamp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icaltimetype result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcomponent_get_dtstamp",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_get_dtstamp" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  result = icalcomponent_get_dtstamp(arg1);
  resultobj = SWIG_NewPointerObj((struct icaltimetype *)memcpy((struct icaltimetype *)malloc(sizeof(struct icaltimetype)),&result,sizeof(struct icaltimetype)), SWIGTYPE_p_icaltimetype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_set_dtstamp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  struct icaltimetype arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalcomponent_set_dtstamp",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_set_dtstamp" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalcomponent_set_dtstamp" "', argument " "2"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalcomponent_set_dtstamp" "', argument " "2"" of type '" "struct icaltimetype""'");
    } else {
      arg2 = *((struct icaltimetype *)(argp2));
    }
  }
  icalcomponent_set_dtstamp(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_set_summary(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 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:icalcomponent_set_summary",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_set_summary" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalcomponent_set_summary" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalcomponent_set_summary(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_get_summary(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcomponent_get_summary",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_get_summary" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  result = (char *)icalcomponent_get_summary(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_set_comment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 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:icalcomponent_set_comment",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_set_comment" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalcomponent_set_comment" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalcomponent_set_comment(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_get_comment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcomponent_get_comment",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_get_comment" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  result = (char *)icalcomponent_get_comment(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_set_uid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 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:icalcomponent_set_uid",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_set_uid" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalcomponent_set_uid" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalcomponent_set_uid(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_get_uid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcomponent_get_uid",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_get_uid" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  result = (char *)icalcomponent_get_uid(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_set_relcalid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 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:icalcomponent_set_relcalid",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_set_relcalid" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalcomponent_set_relcalid" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalcomponent_set_relcalid(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_get_relcalid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcomponent_get_relcalid",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_get_relcalid" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  result = (char *)icalcomponent_get_relcalid(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_set_recurrenceid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  struct icaltimetype arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalcomponent_set_recurrenceid",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_set_recurrenceid" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalcomponent_set_recurrenceid" "', argument " "2"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalcomponent_set_recurrenceid" "', argument " "2"" of type '" "struct icaltimetype""'");
    } else {
      arg2 = *((struct icaltimetype *)(argp2));
    }
  }
  icalcomponent_set_recurrenceid(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_get_recurrenceid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct icaltimetype result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcomponent_get_recurrenceid",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_get_recurrenceid" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  result = icalcomponent_get_recurrenceid(arg1);
  resultobj = SWIG_NewPointerObj((struct icaltimetype *)memcpy((struct icaltimetype *)malloc(sizeof(struct icaltimetype)),&result,sizeof(struct icaltimetype)), SWIGTYPE_p_icaltimetype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_set_description(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 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:icalcomponent_set_description",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_set_description" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalcomponent_set_description" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalcomponent_set_description(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_get_description(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcomponent_get_description",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_get_description" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  result = (char *)icalcomponent_get_description(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_set_location(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 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:icalcomponent_set_location",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_set_location" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalcomponent_set_location" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  icalcomponent_set_location(arg1,(char const *)arg2);
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_get_location(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcomponent_get_location",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_get_location" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  result = (char *)icalcomponent_get_location(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_set_sequence(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 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:icalcomponent_set_sequence",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_set_sequence" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalcomponent_set_sequence" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  icalcomponent_set_sequence(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_get_sequence(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcomponent_get_sequence",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_get_sequence" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  result = (int)icalcomponent_get_sequence(arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_set_status(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  enum icalproperty_status arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalcomponent_set_status",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_set_status" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalcomponent_set_status" "', argument " "2"" of type '" "enum icalproperty_status""'");
  } 
  arg2 = (enum icalproperty_status)(val2);
  icalcomponent_set_status(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_get_status(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  enum icalproperty_status result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcomponent_get_status",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_get_status" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  result = (enum icalproperty_status)icalcomponent_get_status(arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_foreach_tzid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  void (*arg2)(icalparameter *,void *) = (void (*)(icalparameter *,void *)) 0 ;
  void *arg3 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int res3 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:icalcomponent_foreach_tzid",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_foreach_tzid" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  {
    int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_struct_icalparameter_impl_p_void__void);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "icalcomponent_foreach_tzid" "', argument " "2"" of type '" "void (*)(icalparameter *,void *)""'"); 
    }
  }
  res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "icalcomponent_foreach_tzid" "', argument " "3"" of type '" "void *""'"); 
  }
  icalcomponent_foreach_tzid(arg1,arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_get_timezone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 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 ;
  icaltimezone *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalcomponent_get_timezone",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_get_timezone" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalcomponent_get_timezone" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  result = (icaltimezone *)icalcomponent_get_timezone(arg1,(char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__icaltimezone, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_recurrence_is_excluded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  struct icaltimetype *arg2 = (struct icaltimetype *) 0 ;
  struct icaltimetype *arg3 = (struct icaltimetype *) 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 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:icalproperty_recurrence_is_excluded",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_recurrence_is_excluded" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icaltimetype, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_recurrence_is_excluded" "', argument " "2"" of type '" "struct icaltimetype *""'"); 
  }
  arg2 = (struct icaltimetype *)(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_icaltimetype, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "icalproperty_recurrence_is_excluded" "', argument " "3"" of type '" "struct icaltimetype *""'"); 
  }
  arg3 = (struct icaltimetype *)(argp3);
  result = (int)icalproperty_recurrence_is_excluded(arg1,arg2,arg3);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_foreach_recurrence(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  struct icaltimetype arg2 ;
  struct icaltimetype arg3 ;
  void (*arg4)(icalcomponent *,struct icaltime_span *,void *) = (void (*)(icalcomponent *,struct icaltime_span *,void *)) 0 ;
  void *arg5 = (void *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  void *argp3 ;
  int res3 = 0 ;
  int res5 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:icalcomponent_foreach_recurrence",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcomponent_foreach_recurrence" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalcomponent_foreach_recurrence" "', argument " "2"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalcomponent_foreach_recurrence" "', argument " "2"" of type '" "struct icaltimetype""'");
    } else {
      arg2 = *((struct icaltimetype *)(argp2));
    }
  }
  {
    res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "icalcomponent_foreach_recurrence" "', argument " "3"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalcomponent_foreach_recurrence" "', argument " "3"" of type '" "struct icaltimetype""'");
    } else {
      arg3 = *((struct icaltimetype *)(argp3));
    }
  }
  {
    int res = SWIG_ConvertFunctionPtr(obj3, (void**)(&arg4), SWIGTYPE_p_f_p_struct_icalcomponent_impl_p_struct_icaltime_span_p_void__void);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "icalcomponent_foreach_recurrence" "', argument " "4"" of type '" "void (*)(icalcomponent *,struct icaltime_span *,void *)""'"); 
    }
  }
  res5 = SWIG_ConvertPtr(obj4,SWIG_as_voidptrptr(&arg5), 0, 0);
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "icalcomponent_foreach_recurrence" "', argument " "5"" of type '" "void *""'"); 
  }
  icalcomponent_foreach_recurrence(arg1,arg2,arg3,arg4,arg5);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_new_vcalendar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":icalcomponent_new_vcalendar")) SWIG_fail;
  result = (icalcomponent *)icalcomponent_new_vcalendar();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_new_vevent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":icalcomponent_new_vevent")) SWIG_fail;
  result = (icalcomponent *)icalcomponent_new_vevent();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_new_vtodo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":icalcomponent_new_vtodo")) SWIG_fail;
  result = (icalcomponent *)icalcomponent_new_vtodo();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_new_vjournal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":icalcomponent_new_vjournal")) SWIG_fail;
  result = (icalcomponent *)icalcomponent_new_vjournal();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_new_valarm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":icalcomponent_new_valarm")) SWIG_fail;
  result = (icalcomponent *)icalcomponent_new_valarm();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_new_vfreebusy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":icalcomponent_new_vfreebusy")) SWIG_fail;
  result = (icalcomponent *)icalcomponent_new_vfreebusy();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_new_vtimezone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":icalcomponent_new_vtimezone")) SWIG_fail;
  result = (icalcomponent *)icalcomponent_new_vtimezone();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_new_xstandard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":icalcomponent_new_xstandard")) SWIG_fail;
  result = (icalcomponent *)icalcomponent_new_xstandard();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_new_xdaylight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":icalcomponent_new_xdaylight")) SWIG_fail;
  result = (icalcomponent *)icalcomponent_new_xdaylight();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_new_vagenda(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":icalcomponent_new_vagenda")) SWIG_fail;
  result = (icalcomponent *)icalcomponent_new_vagenda();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcomponent_new_vquery(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":icalcomponent_new_vquery")) SWIG_fail;
  result = (icalcomponent *)icalcomponent_new_vquery();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimezone_new(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icaltimezone *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":icaltimezone_new")) SWIG_fail;
  result = (icaltimezone *)icaltimezone_new();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__icaltimezone, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimezone_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icaltimezone *arg1 = (icaltimezone *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icaltimezone *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltimezone_copy",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__icaltimezone, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimezone_copy" "', argument " "1"" of type '" "icaltimezone *""'"); 
  }
  arg1 = (icaltimezone *)(argp1);
  result = (icaltimezone *)icaltimezone_copy(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__icaltimezone, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimezone_free(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icaltimezone *arg1 = (icaltimezone *) 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:icaltimezone_free",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__icaltimezone, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimezone_free" "', argument " "1"" of type '" "icaltimezone *""'"); 
  }
  arg1 = (icaltimezone *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icaltimezone_free" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  icaltimezone_free(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimezone_set_tzid_prefix(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:icaltimezone_set_tzid_prefix",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimezone_set_tzid_prefix" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  icaltimezone_set_tzid_prefix((char const *)arg1);
  resultobj = SWIG_Py_Void();
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimezone_free_builtin_timezones(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  
  if (!PyArg_ParseTuple(args,(char *)":icaltimezone_free_builtin_timezones")) SWIG_fail;
  icaltimezone_free_builtin_timezones();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimezone_get_builtin_timezones(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalarray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":icaltimezone_get_builtin_timezones")) SWIG_fail;
  result = (icalarray *)icaltimezone_get_builtin_timezones();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__icalarray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimezone_get_builtin_timezone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icaltimezone *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltimezone_get_builtin_timezone",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimezone_get_builtin_timezone" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icaltimezone *)icaltimezone_get_builtin_timezone((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__icaltimezone, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimezone_get_builtin_timezone_from_offset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int arg1 ;
  char *arg2 = (char *) 0 ;
  int val1 ;
  int ecode1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  icaltimezone *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icaltimezone_get_builtin_timezone_from_offset",&obj0,&obj1)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icaltimezone_get_builtin_timezone_from_offset" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = (int)(val1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icaltimezone_get_builtin_timezone_from_offset" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  result = (icaltimezone *)icaltimezone_get_builtin_timezone_from_offset(arg1,(char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__icaltimezone, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimezone_get_builtin_timezone_from_tzid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icaltimezone *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltimezone_get_builtin_timezone_from_tzid",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimezone_get_builtin_timezone_from_tzid" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icaltimezone *)icaltimezone_get_builtin_timezone_from_tzid((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__icaltimezone, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimezone_get_utc_timezone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icaltimezone *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":icaltimezone_get_utc_timezone")) SWIG_fail;
  result = (icaltimezone *)icaltimezone_get_utc_timezone();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__icaltimezone, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimezone_get_tzid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icaltimezone *arg1 = (icaltimezone *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltimezone_get_tzid",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__icaltimezone, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimezone_get_tzid" "', argument " "1"" of type '" "icaltimezone *""'"); 
  }
  arg1 = (icaltimezone *)(argp1);
  result = (char *)icaltimezone_get_tzid(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimezone_get_location(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icaltimezone *arg1 = (icaltimezone *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltimezone_get_location",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__icaltimezone, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimezone_get_location" "', argument " "1"" of type '" "icaltimezone *""'"); 
  }
  arg1 = (icaltimezone *)(argp1);
  result = (char *)icaltimezone_get_location(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimezone_get_tznames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icaltimezone *arg1 = (icaltimezone *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltimezone_get_tznames",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__icaltimezone, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimezone_get_tznames" "', argument " "1"" of type '" "icaltimezone *""'"); 
  }
  arg1 = (icaltimezone *)(argp1);
  result = (char *)icaltimezone_get_tznames(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimezone_get_latitude(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icaltimezone *arg1 = (icaltimezone *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  double result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltimezone_get_latitude",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__icaltimezone, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimezone_get_latitude" "', argument " "1"" of type '" "icaltimezone *""'"); 
  }
  arg1 = (icaltimezone *)(argp1);
  result = (double)icaltimezone_get_latitude(arg1);
  resultobj = SWIG_From_double((double)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimezone_get_longitude(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icaltimezone *arg1 = (icaltimezone *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  double result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltimezone_get_longitude",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__icaltimezone, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimezone_get_longitude" "', argument " "1"" of type '" "icaltimezone *""'"); 
  }
  arg1 = (icaltimezone *)(argp1);
  result = (double)icaltimezone_get_longitude(arg1);
  resultobj = SWIG_From_double((double)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimezone_get_component(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icaltimezone *arg1 = (icaltimezone *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltimezone_get_component",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__icaltimezone, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimezone_get_component" "', argument " "1"" of type '" "icaltimezone *""'"); 
  }
  arg1 = (icaltimezone *)(argp1);
  result = (icalcomponent *)icaltimezone_get_component(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimezone_set_component(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icaltimezone *arg1 = (icaltimezone *) 0 ;
  icalcomponent *arg2 = (icalcomponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icaltimezone_set_component",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__icaltimezone, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimezone_set_component" "', argument " "1"" of type '" "icaltimezone *""'"); 
  }
  arg1 = (icaltimezone *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icaltimezone_set_component" "', argument " "2"" of type '" "icalcomponent *""'"); 
  }
  arg2 = (icalcomponent *)(argp2);
  result = (int)icaltimezone_set_component(arg1,arg2);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimezone_get_display_name(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icaltimezone *arg1 = (icaltimezone *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltimezone_get_display_name",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__icaltimezone, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimezone_get_display_name" "', argument " "1"" of type '" "icaltimezone *""'"); 
  }
  arg1 = (icaltimezone *)(argp1);
  result = (char *)icaltimezone_get_display_name(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimezone_convert_time(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icaltimetype *arg1 = (struct icaltimetype *) 0 ;
  icaltimezone *arg2 = (icaltimezone *) 0 ;
  icaltimezone *arg3 = (icaltimezone *) 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:icaltimezone_convert_time",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaltimetype, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimezone_convert_time" "', argument " "1"" of type '" "struct icaltimetype *""'"); 
  }
  arg1 = (struct icaltimetype *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p__icaltimezone, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icaltimezone_convert_time" "', argument " "2"" of type '" "icaltimezone *""'"); 
  }
  arg2 = (icaltimezone *)(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p__icaltimezone, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "icaltimezone_convert_time" "', argument " "3"" of type '" "icaltimezone *""'"); 
  }
  arg3 = (icaltimezone *)(argp3);
  icaltimezone_convert_time(arg1,arg2,arg3);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimezone_array_new(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalarray *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":icaltimezone_array_new")) SWIG_fail;
  result = (icalarray *)icaltimezone_array_new();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__icalarray, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimezone_array_append_from_vtimezone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalarray *arg1 = (icalarray *) 0 ;
  icalcomponent *arg2 = (icalcomponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icaltimezone_array_append_from_vtimezone",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__icalarray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimezone_array_append_from_vtimezone" "', argument " "1"" of type '" "icalarray *""'"); 
  }
  arg1 = (icalarray *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icaltimezone_array_append_from_vtimezone" "', argument " "2"" of type '" "icalcomponent *""'"); 
  }
  arg2 = (icalcomponent *)(argp2);
  icaltimezone_array_append_from_vtimezone(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimezone_array_free(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalarray *arg1 = (icalarray *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaltimezone_array_free",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__icalarray, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimezone_array_free" "', argument " "1"" of type '" "icalarray *""'"); 
  }
  arg1 = (icalarray *)(argp1);
  icaltimezone_array_free(arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_set_zone_directory(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:set_zone_directory",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "set_zone_directory" "', argument " "1"" of type '" "char *""'");
  }
  arg1 = (char *)(buf1);
  set_zone_directory(arg1);
  resultobj = SWIG_Py_Void();
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_free_zone_directory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  
  if (!PyArg_ParseTuple(args,(char *)":free_zone_directory")) SWIG_fail;
  free_zone_directory();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimezone_release_zone_tab(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  
  if (!PyArg_ParseTuple(args,(char *)":icaltimezone_release_zone_tab")) SWIG_fail;
  icaltimezone_release_zone_tab();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaltimezone_dump_changes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icaltimezone *arg1 = (icaltimezone *) 0 ;
  int arg2 ;
  FILE *arg3 = (FILE *) 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 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:icaltimezone_dump_changes",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p__icaltimezone, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaltimezone_dump_changes" "', argument " "1"" of type '" "icaltimezone *""'"); 
  }
  arg1 = (icaltimezone *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icaltimezone_dump_changes" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_FILE, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "icaltimezone_dump_changes" "', argument " "3"" of type '" "FILE *""'"); 
  }
  arg3 = (FILE *)(argp3);
  result = (int)icaltimezone_dump_changes(arg1,arg2,arg3);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparser_new(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparser *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":icalparser_new")) SWIG_fail;
  result = (icalparser *)icalparser_new();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalparser_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparser_add_line(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparser *arg1 = (icalparser *) 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 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalparser_add_line",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparser_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparser_add_line" "', argument " "1"" of type '" "icalparser *""'"); 
  }
  arg1 = (icalparser *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalparser_add_line" "', argument " "2"" of type '" "char *""'");
  }
  arg2 = (char *)(buf2);
  result = (icalcomponent *)icalparser_add_line(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparser_clean(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparser *arg1 = (icalparser *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparser_clean",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparser_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparser_clean" "', argument " "1"" of type '" "icalparser *""'"); 
  }
  arg1 = (icalparser *)(argp1);
  result = (icalcomponent *)icalparser_clean(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparser_get_state(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparser *arg1 = (icalparser *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparser_state result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparser_get_state",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparser_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparser_get_state" "', argument " "1"" of type '" "icalparser *""'"); 
  }
  arg1 = (icalparser *)(argp1);
  result = (icalparser_state)icalparser_get_state(arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparser_free(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparser *arg1 = (icalparser *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparser_free",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparser_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparser_free" "', argument " "1"" of type '" "icalparser *""'"); 
  }
  arg1 = (icalparser *)(argp1);
  icalparser_free(arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparser_parse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparser *arg1 = (icalparser *) 0 ;
  char *(*arg2)(char *,size_t,void *) = (char *(*)(char *,size_t,void *)) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalparser_parse",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparser_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparser_parse" "', argument " "1"" of type '" "icalparser *""'"); 
  }
  arg1 = (icalparser *)(argp1);
  {
    int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_char_size_t_p_void__p_char);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "icalparser_parse" "', argument " "2"" of type '" "char *(*)(char *,size_t,void *)""'"); 
    }
  }
  result = (icalcomponent *)icalparser_parse(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparser_set_gen_data(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparser *arg1 = (icalparser *) 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:icalparser_set_gen_data",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparser_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparser_set_gen_data" "', argument " "1"" of type '" "icalparser *""'"); 
  }
  arg1 = (icalparser *)(argp1);
  res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalparser_set_gen_data" "', argument " "2"" of type '" "void *""'"); 
  }
  icalparser_set_gen_data(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparser_parse_string(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparser_parse_string",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparser_parse_string" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalcomponent *)icalparser_parse_string((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparser_get_line(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparser *arg1 = (icalparser *) 0 ;
  char *(*arg2)(char *,size_t,void *) = (char *(*)(char *,size_t,void *)) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalparser_get_line",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparser_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparser_get_line" "', argument " "1"" of type '" "icalparser *""'"); 
  }
  arg1 = (icalparser *)(argp1);
  {
    int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_char_size_t_p_void__p_char);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "icalparser_get_line" "', argument " "2"" of type '" "char *(*)(char *,size_t,void *)""'"); 
    }
  }
  result = (char *)icalparser_get_line(arg1,arg2);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparser_string_line_generator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  size_t arg2 ;
  void *arg3 = (void *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  int res3 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:icalparser_string_line_generator",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparser_string_line_generator" "', argument " "1"" of type '" "char *""'");
  }
  arg1 = (char *)(buf1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalparser_string_line_generator" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = (size_t)(val2);
  res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "icalparser_string_line_generator" "', argument " "3"" of type '" "void *""'"); 
  }
  result = (char *)icalparser_string_line_generator(arg1,arg2,arg3);
  resultobj = SWIG_FromCharPtr((const char *)result);
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalmemory_tmp_buffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  size_t arg1 ;
  size_t val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  void *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalmemory_tmp_buffer",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalmemory_tmp_buffer" "', argument " "1"" of type '" "size_t""'");
  } 
  arg1 = (size_t)(val1);
  result = (void *)icalmemory_tmp_buffer(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


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


SWIGINTERN PyObject *_wrap_icalmemory_add_tmp_buffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  void *arg1 = (void *) 0 ;
  int res1 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalmemory_add_tmp_buffer",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0,SWIG_as_voidptrptr(&arg1), 0, 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalmemory_add_tmp_buffer" "', argument " "1"" of type '" "void *""'"); 
  }
  icalmemory_add_tmp_buffer(arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalmemory_free_ring(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  
  if (!PyArg_ParseTuple(args,(char *)":icalmemory_free_ring")) SWIG_fail;
  icalmemory_free_ring();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalmemory_new_buffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  size_t arg1 ;
  size_t val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  void *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalmemory_new_buffer",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_size_t(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalmemory_new_buffer" "', argument " "1"" of type '" "size_t""'");
  } 
  arg1 = (size_t)(val1);
  result = (void *)icalmemory_new_buffer(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalmemory_resize_buffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  void *arg1 = (void *) 0 ;
  size_t arg2 ;
  int res1 ;
  size_t val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  void *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalmemory_resize_buffer",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0,SWIG_as_voidptrptr(&arg1), 0, 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalmemory_resize_buffer" "', argument " "1"" of type '" "void *""'"); 
  }
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalmemory_resize_buffer" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = (size_t)(val2);
  result = (void *)icalmemory_resize_buffer(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalmemory_free_buffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  void *arg1 = (void *) 0 ;
  int res1 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalmemory_free_buffer",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0,SWIG_as_voidptrptr(&arg1), 0, 0);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalmemory_free_buffer" "', argument " "1"" of type '" "void *""'"); 
  }
  icalmemory_free_buffer(arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalmemory_append_string(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char **arg1 = (char **) 0 ;
  char **arg2 = (char **) 0 ;
  size_t *arg3 = (size_t *) 0 ;
  char *arg4 = (char *) 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:icalmemory_append_string",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_p_char, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalmemory_append_string" "', argument " "1"" of type '" "char **""'"); 
  }
  arg1 = (char **)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_p_char, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalmemory_append_string" "', argument " "2"" of type '" "char **""'"); 
  }
  arg2 = (char **)(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_size_t, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "icalmemory_append_string" "', argument " "3"" of type '" "size_t *""'"); 
  }
  arg3 = (size_t *)(argp3);
  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "icalmemory_append_string" "', argument " "4"" of type '" "char const *""'");
  }
  arg4 = (char *)(buf4);
  icalmemory_append_string(arg1,arg2,arg3,(char const *)arg4);
  resultobj = SWIG_Py_Void();
  if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
  return resultobj;
fail:
  if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalmemory_append_char(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char **arg1 = (char **) 0 ;
  char **arg2 = (char **) 0 ;
  size_t *arg3 = (size_t *) 0 ;
  char arg4 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  char val4 ;
  int ecode4 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:icalmemory_append_char",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_p_char, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalmemory_append_char" "', argument " "1"" of type '" "char **""'"); 
  }
  arg1 = (char **)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_p_char, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalmemory_append_char" "', argument " "2"" of type '" "char **""'"); 
  }
  arg2 = (char **)(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_size_t, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "icalmemory_append_char" "', argument " "3"" of type '" "size_t *""'"); 
  }
  arg3 = (size_t *)(argp3);
  ecode4 = SWIG_AsVal_char(obj3, &val4);
  if (!SWIG_IsOK(ecode4)) {
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "icalmemory_append_char" "', argument " "4"" of type '" "char""'");
  } 
  arg4 = (char)(val4);
  icalmemory_append_char(arg1,arg2,arg3,arg4);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


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


SWIGINTERN PyObject *_wrap_icalerror_stop_here(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  
  if (!PyArg_ParseTuple(args,(char *)":icalerror_stop_here")) SWIG_fail;
  icalerror_stop_here();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalerror_crash_here(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  
  if (!PyArg_ParseTuple(args,(char *)":icalerror_crash_here")) SWIG_fail;
  icalerror_crash_here();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalerrno_return(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalerrorenum *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":icalerrno_return")) SWIG_fail;
  result = (icalerrorenum *)icalerrno_return();
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalerrorenum, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN int Swig_var_icalerror_errors_are_fatal_set(PyObject *_val) {
  {
    int val;
    int res = SWIG_AsVal_int(_val, &val);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in variable '""icalerror_errors_are_fatal""' of type '""int""'");
    }
    icalerror_errors_are_fatal = (int)(val);
  }
  return 0;
fail:
  return 1;
}


SWIGINTERN PyObject *Swig_var_icalerror_errors_are_fatal_get(void) {
  PyObject *pyobj = 0;
  
  pyobj = SWIG_From_int((int)(icalerror_errors_are_fatal));
  return pyobj;
}


SWIGINTERN PyObject *_wrap_icalerror_clear_errno(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  
  if (!PyArg_ParseTuple(args,(char *)":icalerror_clear_errno")) SWIG_fail;
  icalerror_clear_errno();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalerror_strerror(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalerrorenum arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalerror_strerror",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalerror_strerror" "', argument " "1"" of type '" "icalerrorenum""'");
  } 
  arg1 = (icalerrorenum)(val1);
  result = (char *)icalerror_strerror(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalerror_perror(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":icalerror_perror")) SWIG_fail;
  result = (char *)icalerror_perror();
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_ical_bt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  
  if (!PyArg_ParseTuple(args,(char *)":ical_bt")) SWIG_fail;
  ical_bt();
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalerror_set_error_state(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalerrorenum arg1 ;
  icalerrorstate arg2 ;
  int val1 ;
  int ecode1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalerror_set_error_state",&obj0,&obj1)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalerror_set_error_state" "', argument " "1"" of type '" "icalerrorenum""'");
  } 
  arg1 = (icalerrorenum)(val1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalerror_set_error_state" "', argument " "2"" of type '" "icalerrorstate""'");
  } 
  arg2 = (icalerrorstate)(val2);
  icalerror_set_error_state(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalerror_get_error_state(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalerrorenum arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  icalerrorstate result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalerror_get_error_state",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalerror_get_error_state" "', argument " "1"" of type '" "icalerrorenum""'");
  } 
  arg1 = (icalerrorenum)(val1);
  result = (icalerrorstate)icalerror_get_error_state(arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalerror_set_errno(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalerrorenum arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalerror_set_errno",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalerror_set_errno" "', argument " "1"" of type '" "icalerrorenum""'");
  } 
  arg1 = (icalerrorenum)(val1);
  icalerror_set_errno(arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalerror_supress(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalerrorstate result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalerror_supress",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalerror_supress" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalerrorstate)icalerror_supress((char const *)arg1);
  resultobj = SWIG_From_int((int)(result));
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalerror_restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  icalerrorstate arg2 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalerror_restore",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalerror_restore" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalerror_restore" "', argument " "2"" of type '" "icalerrorstate""'");
  } 
  arg2 = (icalerrorstate)(val2);
  icalerror_restore((char const *)arg1,arg2);
  resultobj = SWIG_Py_Void();
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


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


SWIGINTERN PyObject *_wrap_icalrestriction_check(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalrestriction_check",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalrestriction_check" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  result = (int)icalrestriction_check(arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_sspm_header__def_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct sspm_header *arg1 = (struct sspm_header *) 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:sspm_header__def_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_sspm_header, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sspm_header__def_set" "', argument " "1"" of type '" "struct sspm_header *""'"); 
  }
  arg1 = (struct sspm_header *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sspm_header__def_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  if (arg1) (arg1)->def = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_sspm_header__def_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct sspm_header *arg1 = (struct sspm_header *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:sspm_header__def_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_sspm_header, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sspm_header__def_get" "', argument " "1"" of type '" "struct sspm_header *""'"); 
  }
  arg1 = (struct sspm_header *)(argp1);
  result = (int) ((arg1)->def);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_sspm_header_boundary_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct sspm_header *arg1 = (struct sspm_header *) 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:sspm_header_boundary_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_sspm_header, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sspm_header_boundary_set" "', argument " "1"" of type '" "struct sspm_header *""'"); 
  }
  arg1 = (struct sspm_header *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "sspm_header_boundary_set" "', argument " "2"" of type '" "char *""'");
  }
  arg2 = (char *)(buf2);
  if (arg1->boundary) free((char*)arg1->boundary);
  if (arg2) {
    size_t size = strlen((const char *)(arg2)) + 1;
    arg1->boundary = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
  } else {
    arg1->boundary = 0;
  }
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_sspm_header_boundary_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct sspm_header *arg1 = (struct sspm_header *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:sspm_header_boundary_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_sspm_header, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sspm_header_boundary_get" "', argument " "1"" of type '" "struct sspm_header *""'"); 
  }
  arg1 = (struct sspm_header *)(argp1);
  result = (char *) ((arg1)->boundary);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_sspm_header_major_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct sspm_header *arg1 = (struct sspm_header *) 0 ;
  enum sspm_major_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:sspm_header_major_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_sspm_header, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sspm_header_major_set" "', argument " "1"" of type '" "struct sspm_header *""'"); 
  }
  arg1 = (struct sspm_header *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sspm_header_major_set" "', argument " "2"" of type '" "enum sspm_major_type""'");
  } 
  arg2 = (enum sspm_major_type)(val2);
  if (arg1) (arg1)->major = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_sspm_header_major_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct sspm_header *arg1 = (struct sspm_header *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  enum sspm_major_type result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:sspm_header_major_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_sspm_header, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sspm_header_major_get" "', argument " "1"" of type '" "struct sspm_header *""'"); 
  }
  arg1 = (struct sspm_header *)(argp1);
  result = (enum sspm_major_type) ((arg1)->major);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_sspm_header_minor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct sspm_header *arg1 = (struct sspm_header *) 0 ;
  enum sspm_minor_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:sspm_header_minor_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_sspm_header, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sspm_header_minor_set" "', argument " "1"" of type '" "struct sspm_header *""'"); 
  }
  arg1 = (struct sspm_header *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sspm_header_minor_set" "', argument " "2"" of type '" "enum sspm_minor_type""'");
  } 
  arg2 = (enum sspm_minor_type)(val2);
  if (arg1) (arg1)->minor = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_sspm_header_minor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct sspm_header *arg1 = (struct sspm_header *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  enum sspm_minor_type result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:sspm_header_minor_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_sspm_header, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sspm_header_minor_get" "', argument " "1"" of type '" "struct sspm_header *""'"); 
  }
  arg1 = (struct sspm_header *)(argp1);
  result = (enum sspm_minor_type) ((arg1)->minor);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_sspm_header_minor_text_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct sspm_header *arg1 = (struct sspm_header *) 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:sspm_header_minor_text_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_sspm_header, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sspm_header_minor_text_set" "', argument " "1"" of type '" "struct sspm_header *""'"); 
  }
  arg1 = (struct sspm_header *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "sspm_header_minor_text_set" "', argument " "2"" of type '" "char *""'");
  }
  arg2 = (char *)(buf2);
  if (arg1->minor_text) free((char*)arg1->minor_text);
  if (arg2) {
    size_t size = strlen((const char *)(arg2)) + 1;
    arg1->minor_text = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
  } else {
    arg1->minor_text = 0;
  }
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_sspm_header_minor_text_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct sspm_header *arg1 = (struct sspm_header *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:sspm_header_minor_text_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_sspm_header, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sspm_header_minor_text_get" "', argument " "1"" of type '" "struct sspm_header *""'"); 
  }
  arg1 = (struct sspm_header *)(argp1);
  result = (char *) ((arg1)->minor_text);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_sspm_header_content_type_params_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct sspm_header *arg1 = (struct sspm_header *) 0 ;
  char **arg2 = (char **) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:sspm_header_content_type_params_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_sspm_header, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sspm_header_content_type_params_set" "', argument " "1"" of type '" "struct sspm_header *""'"); 
  }
  arg1 = (struct sspm_header *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_p_char, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "sspm_header_content_type_params_set" "', argument " "2"" of type '" "char **""'"); 
  }
  arg2 = (char **)(argp2);
  if (arg1) (arg1)->content_type_params = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_sspm_header_content_type_params_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct sspm_header *arg1 = (struct sspm_header *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char **result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:sspm_header_content_type_params_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_sspm_header, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sspm_header_content_type_params_get" "', argument " "1"" of type '" "struct sspm_header *""'"); 
  }
  arg1 = (struct sspm_header *)(argp1);
  result = (char **) ((arg1)->content_type_params);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_char, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_sspm_header_charset_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct sspm_header *arg1 = (struct sspm_header *) 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:sspm_header_charset_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_sspm_header, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sspm_header_charset_set" "', argument " "1"" of type '" "struct sspm_header *""'"); 
  }
  arg1 = (struct sspm_header *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "sspm_header_charset_set" "', argument " "2"" of type '" "char *""'");
  }
  arg2 = (char *)(buf2);
  if (arg1->charset) free((char*)arg1->charset);
  if (arg2) {
    size_t size = strlen((const char *)(arg2)) + 1;
    arg1->charset = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
  } else {
    arg1->charset = 0;
  }
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_sspm_header_charset_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct sspm_header *arg1 = (struct sspm_header *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:sspm_header_charset_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_sspm_header, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sspm_header_charset_get" "', argument " "1"" of type '" "struct sspm_header *""'"); 
  }
  arg1 = (struct sspm_header *)(argp1);
  result = (char *) ((arg1)->charset);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_sspm_header_encoding_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct sspm_header *arg1 = (struct sspm_header *) 0 ;
  enum sspm_encoding arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:sspm_header_encoding_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_sspm_header, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sspm_header_encoding_set" "', argument " "1"" of type '" "struct sspm_header *""'"); 
  }
  arg1 = (struct sspm_header *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sspm_header_encoding_set" "', argument " "2"" of type '" "enum sspm_encoding""'");
  } 
  arg2 = (enum sspm_encoding)(val2);
  if (arg1) (arg1)->encoding = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_sspm_header_encoding_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct sspm_header *arg1 = (struct sspm_header *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  enum sspm_encoding result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:sspm_header_encoding_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_sspm_header, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sspm_header_encoding_get" "', argument " "1"" of type '" "struct sspm_header *""'"); 
  }
  arg1 = (struct sspm_header *)(argp1);
  result = (enum sspm_encoding) ((arg1)->encoding);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_sspm_header_filename_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct sspm_header *arg1 = (struct sspm_header *) 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:sspm_header_filename_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_sspm_header, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sspm_header_filename_set" "', argument " "1"" of type '" "struct sspm_header *""'"); 
  }
  arg1 = (struct sspm_header *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "sspm_header_filename_set" "', argument " "2"" of type '" "char *""'");
  }
  arg2 = (char *)(buf2);
  if (arg1->filename) free((char*)arg1->filename);
  if (arg2) {
    size_t size = strlen((const char *)(arg2)) + 1;
    arg1->filename = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
  } else {
    arg1->filename = 0;
  }
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_sspm_header_filename_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct sspm_header *arg1 = (struct sspm_header *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:sspm_header_filename_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_sspm_header, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sspm_header_filename_get" "', argument " "1"" of type '" "struct sspm_header *""'"); 
  }
  arg1 = (struct sspm_header *)(argp1);
  result = (char *) ((arg1)->filename);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_sspm_header_content_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct sspm_header *arg1 = (struct sspm_header *) 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:sspm_header_content_id_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_sspm_header, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sspm_header_content_id_set" "', argument " "1"" of type '" "struct sspm_header *""'"); 
  }
  arg1 = (struct sspm_header *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "sspm_header_content_id_set" "', argument " "2"" of type '" "char *""'");
  }
  arg2 = (char *)(buf2);
  if (arg1->content_id) free((char*)arg1->content_id);
  if (arg2) {
    size_t size = strlen((const char *)(arg2)) + 1;
    arg1->content_id = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
  } else {
    arg1->content_id = 0;
  }
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_sspm_header_content_id_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct sspm_header *arg1 = (struct sspm_header *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:sspm_header_content_id_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_sspm_header, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sspm_header_content_id_get" "', argument " "1"" of type '" "struct sspm_header *""'"); 
  }
  arg1 = (struct sspm_header *)(argp1);
  result = (char *) ((arg1)->content_id);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_sspm_header_error_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct sspm_header *arg1 = (struct sspm_header *) 0 ;
  enum sspm_error arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:sspm_header_error_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_sspm_header, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sspm_header_error_set" "', argument " "1"" of type '" "struct sspm_header *""'"); 
  }
  arg1 = (struct sspm_header *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sspm_header_error_set" "', argument " "2"" of type '" "enum sspm_error""'");
  } 
  arg2 = (enum sspm_error)(val2);
  if (arg1) (arg1)->error = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_sspm_header_error_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct sspm_header *arg1 = (struct sspm_header *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  enum sspm_error result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:sspm_header_error_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_sspm_header, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sspm_header_error_get" "', argument " "1"" of type '" "struct sspm_header *""'"); 
  }
  arg1 = (struct sspm_header *)(argp1);
  result = (enum sspm_error) ((arg1)->error);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_sspm_header_error_text_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct sspm_header *arg1 = (struct sspm_header *) 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:sspm_header_error_text_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_sspm_header, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sspm_header_error_text_set" "', argument " "1"" of type '" "struct sspm_header *""'"); 
  }
  arg1 = (struct sspm_header *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "sspm_header_error_text_set" "', argument " "2"" of type '" "char *""'");
  }
  arg2 = (char *)(buf2);
  if (arg1->error_text) free((char*)arg1->error_text);
  if (arg2) {
    size_t size = strlen((const char *)(arg2)) + 1;
    arg1->error_text = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
  } else {
    arg1->error_text = 0;
  }
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_sspm_header_error_text_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct sspm_header *arg1 = (struct sspm_header *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:sspm_header_error_text_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_sspm_header, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sspm_header_error_text_get" "', argument " "1"" of type '" "struct sspm_header *""'"); 
  }
  arg1 = (struct sspm_header *)(argp1);
  result = (char *) ((arg1)->error_text);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_sspm_header(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct sspm_header *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_sspm_header")) SWIG_fail;
  result = (struct sspm_header *)calloc(1, sizeof(struct sspm_header));
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_sspm_header, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_sspm_header(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct sspm_header *arg1 = (struct sspm_header *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_sspm_header",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_sspm_header, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_sspm_header" "', argument " "1"" of type '" "struct sspm_header *""'"); 
  }
  arg1 = (struct sspm_header *)(argp1);
  free((char *) arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


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

SWIGINTERN PyObject *_wrap_sspm_part_header_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct sspm_part *arg1 = (struct sspm_part *) 0 ;
  struct sspm_header *arg2 = (struct sspm_header *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:sspm_part_header_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_sspm_part, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sspm_part_header_set" "', argument " "1"" of type '" "struct sspm_part *""'"); 
  }
  arg1 = (struct sspm_part *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_sspm_header, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "sspm_part_header_set" "', argument " "2"" of type '" "struct sspm_header *""'"); 
  }
  arg2 = (struct sspm_header *)(argp2);
  if (arg1) (arg1)->header = *arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_sspm_part_header_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct sspm_part *arg1 = (struct sspm_part *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  struct sspm_header *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:sspm_part_header_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_sspm_part, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sspm_part_header_get" "', argument " "1"" of type '" "struct sspm_part *""'"); 
  }
  arg1 = (struct sspm_part *)(argp1);
  result = (struct sspm_header *)& ((arg1)->header);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_sspm_header, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_sspm_part_level_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct sspm_part *arg1 = (struct sspm_part *) 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:sspm_part_level_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_sspm_part, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sspm_part_level_set" "', argument " "1"" of type '" "struct sspm_part *""'"); 
  }
  arg1 = (struct sspm_part *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sspm_part_level_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  if (arg1) (arg1)->level = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_sspm_part_level_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct sspm_part *arg1 = (struct sspm_part *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:sspm_part_level_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_sspm_part, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sspm_part_level_get" "', argument " "1"" of type '" "struct sspm_part *""'"); 
  }
  arg1 = (struct sspm_part *)(argp1);
  result = (int) ((arg1)->level);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_sspm_part_data_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct sspm_part *arg1 = (struct sspm_part *) 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:sspm_part_data_size_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_sspm_part, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sspm_part_data_size_set" "', argument " "1"" of type '" "struct sspm_part *""'"); 
  }
  arg1 = (struct sspm_part *)(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sspm_part_data_size_set" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = (size_t)(val2);
  if (arg1) (arg1)->data_size = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_sspm_part_data_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct sspm_part *arg1 = (struct sspm_part *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  size_t result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:sspm_part_data_size_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_sspm_part, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sspm_part_data_size_get" "', argument " "1"" of type '" "struct sspm_part *""'"); 
  }
  arg1 = (struct sspm_part *)(argp1);
  result =  ((arg1)->data_size);
  resultobj = SWIG_From_size_t((size_t)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_sspm_part_data_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct sspm_part *arg1 = (struct sspm_part *) 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:sspm_part_data_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_sspm_part, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sspm_part_data_set" "', argument " "1"" of type '" "struct sspm_part *""'"); 
  }
  arg1 = (struct sspm_part *)(argp1);
  res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "sspm_part_data_set" "', argument " "2"" of type '" "void *""'"); 
  }
  if (arg1) (arg1)->data = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_sspm_part_data_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct sspm_part *arg1 = (struct sspm_part *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  void *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:sspm_part_data_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_sspm_part, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sspm_part_data_get" "', argument " "1"" of type '" "struct sspm_part *""'"); 
  }
  arg1 = (struct sspm_part *)(argp1);
  result = (void *) ((arg1)->data);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_sspm_part(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct sspm_part *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_sspm_part")) SWIG_fail;
  result = (struct sspm_part *)calloc(1, sizeof(struct sspm_part));
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_sspm_part, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_sspm_part(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct sspm_part *arg1 = (struct sspm_part *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_sspm_part",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_sspm_part, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_sspm_part" "', argument " "1"" of type '" "struct sspm_part *""'"); 
  }
  arg1 = (struct sspm_part *)(argp1);
  free((char *) arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


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

SWIGINTERN PyObject *_wrap_sspm_action_map_major_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct sspm_action_map *arg1 = (struct sspm_action_map *) 0 ;
  enum sspm_major_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:sspm_action_map_major_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_sspm_action_map, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sspm_action_map_major_set" "', argument " "1"" of type '" "struct sspm_action_map *""'"); 
  }
  arg1 = (struct sspm_action_map *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sspm_action_map_major_set" "', argument " "2"" of type '" "enum sspm_major_type""'");
  } 
  arg2 = (enum sspm_major_type)(val2);
  if (arg1) (arg1)->major = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_sspm_action_map_major_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct sspm_action_map *arg1 = (struct sspm_action_map *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  enum sspm_major_type result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:sspm_action_map_major_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_sspm_action_map, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sspm_action_map_major_get" "', argument " "1"" of type '" "struct sspm_action_map *""'"); 
  }
  arg1 = (struct sspm_action_map *)(argp1);
  result = (enum sspm_major_type) ((arg1)->major);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_sspm_action_map_minor_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct sspm_action_map *arg1 = (struct sspm_action_map *) 0 ;
  enum sspm_minor_type arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:sspm_action_map_minor_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_sspm_action_map, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sspm_action_map_minor_set" "', argument " "1"" of type '" "struct sspm_action_map *""'"); 
  }
  arg1 = (struct sspm_action_map *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sspm_action_map_minor_set" "', argument " "2"" of type '" "enum sspm_minor_type""'");
  } 
  arg2 = (enum sspm_minor_type)(val2);
  if (arg1) (arg1)->minor = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_sspm_action_map_minor_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct sspm_action_map *arg1 = (struct sspm_action_map *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  enum sspm_minor_type result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:sspm_action_map_minor_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_sspm_action_map, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sspm_action_map_minor_get" "', argument " "1"" of type '" "struct sspm_action_map *""'"); 
  }
  arg1 = (struct sspm_action_map *)(argp1);
  result = (enum sspm_minor_type) ((arg1)->minor);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_sspm_action_map_new_part_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct sspm_action_map *arg1 = (struct sspm_action_map *) 0 ;
  void *(*arg2)(void) = (void *(*)(void)) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:sspm_action_map_new_part_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_sspm_action_map, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sspm_action_map_new_part_set" "', argument " "1"" of type '" "struct sspm_action_map *""'"); 
  }
  arg1 = (struct sspm_action_map *)(argp1);
  {
    int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_void__p_void);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "sspm_action_map_new_part_set" "', argument " "2"" of type '" "void *(*)(void)""'"); 
    }
  }
  if (arg1) (arg1)->new_part = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_sspm_action_map_new_part_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct sspm_action_map *arg1 = (struct sspm_action_map *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  void *(*result)(void) = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:sspm_action_map_new_part_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_sspm_action_map, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sspm_action_map_new_part_get" "', argument " "1"" of type '" "struct sspm_action_map *""'"); 
  }
  arg1 = (struct sspm_action_map *)(argp1);
  result = (void *(*)(void)) ((arg1)->new_part);
  resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_void__p_void);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_sspm_action_map_add_line_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct sspm_action_map *arg1 = (struct sspm_action_map *) 0 ;
  void (*arg2)(void *,struct sspm_header *,char const *,size_t) = (void (*)(void *,struct sspm_header *,char const *,size_t)) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:sspm_action_map_add_line_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_sspm_action_map, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sspm_action_map_add_line_set" "', argument " "1"" of type '" "struct sspm_action_map *""'"); 
  }
  arg1 = (struct sspm_action_map *)(argp1);
  {
    int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void_p_struct_sspm_header_p_q_const__char_size_t__void);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "sspm_action_map_add_line_set" "', argument " "2"" of type '" "void (*)(void *,struct sspm_header *,char const *,size_t)""'"); 
    }
  }
  if (arg1) (arg1)->add_line = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_sspm_action_map_add_line_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct sspm_action_map *arg1 = (struct sspm_action_map *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  void (*result)(void *,struct sspm_header *,char const *,size_t) = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:sspm_action_map_add_line_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_sspm_action_map, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sspm_action_map_add_line_get" "', argument " "1"" of type '" "struct sspm_action_map *""'"); 
  }
  arg1 = (struct sspm_action_map *)(argp1);
  result = (void (*)(void *,struct sspm_header *,char const *,size_t)) ((arg1)->add_line);
  resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void_p_struct_sspm_header_p_q_const__char_size_t__void);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_sspm_action_map_end_part_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct sspm_action_map *arg1 = (struct sspm_action_map *) 0 ;
  void *(*arg2)(void *) = (void *(*)(void *)) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:sspm_action_map_end_part_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_sspm_action_map, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sspm_action_map_end_part_set" "', argument " "1"" of type '" "struct sspm_action_map *""'"); 
  }
  arg1 = (struct sspm_action_map *)(argp1);
  {
    int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void__p_void);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "sspm_action_map_end_part_set" "', argument " "2"" of type '" "void *(*)(void *)""'"); 
    }
  }
  if (arg1) (arg1)->end_part = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_sspm_action_map_end_part_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct sspm_action_map *arg1 = (struct sspm_action_map *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  void *(*result)(void *) = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:sspm_action_map_end_part_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_sspm_action_map, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sspm_action_map_end_part_get" "', argument " "1"" of type '" "struct sspm_action_map *""'"); 
  }
  arg1 = (struct sspm_action_map *)(argp1);
  result = (void *(*)(void *)) ((arg1)->end_part);
  resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void__p_void);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_sspm_action_map_free_part_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct sspm_action_map *arg1 = (struct sspm_action_map *) 0 ;
  void (*arg2)(void *) = (void (*)(void *)) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:sspm_action_map_free_part_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_sspm_action_map, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sspm_action_map_free_part_set" "', argument " "1"" of type '" "struct sspm_action_map *""'"); 
  }
  arg1 = (struct sspm_action_map *)(argp1);
  {
    int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_void__void);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "sspm_action_map_free_part_set" "', argument " "2"" of type '" "void (*)(void *)""'"); 
    }
  }
  if (arg1) (arg1)->free_part = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_sspm_action_map_free_part_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct sspm_action_map *arg1 = (struct sspm_action_map *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  void (*result)(void *) = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:sspm_action_map_free_part_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_sspm_action_map, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sspm_action_map_free_part_get" "', argument " "1"" of type '" "struct sspm_action_map *""'"); 
  }
  arg1 = (struct sspm_action_map *)(argp1);
  result = (void (*)(void *)) ((arg1)->free_part);
  resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_void__void);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_sspm_action_map(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct sspm_action_map *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_sspm_action_map")) SWIG_fail;
  result = (struct sspm_action_map *)calloc(1, sizeof(struct sspm_action_map));
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_sspm_action_map, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_sspm_action_map(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct sspm_action_map *arg1 = (struct sspm_action_map *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_sspm_action_map",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_sspm_action_map, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_sspm_action_map" "', argument " "1"" of type '" "struct sspm_action_map *""'"); 
  }
  arg1 = (struct sspm_action_map *)(argp1);
  free((char *) arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


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

SWIGINTERN PyObject *_wrap_sspm_major_type_string(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  enum sspm_major_type arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:sspm_major_type_string",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "sspm_major_type_string" "', argument " "1"" of type '" "enum sspm_major_type""'");
  } 
  arg1 = (enum sspm_major_type)(val1);
  result = (char *)sspm_major_type_string(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_sspm_minor_type_string(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  enum sspm_minor_type arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:sspm_minor_type_string",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "sspm_minor_type_string" "', argument " "1"" of type '" "enum sspm_minor_type""'");
  } 
  arg1 = (enum sspm_minor_type)(val1);
  result = (char *)sspm_minor_type_string(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_sspm_encoding_string(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  enum sspm_encoding arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:sspm_encoding_string",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "sspm_encoding_string" "', argument " "1"" of type '" "enum sspm_encoding""'");
  } 
  arg1 = (enum sspm_encoding)(val1);
  result = (char *)sspm_encoding_string(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_sspm_parse_mime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct sspm_part *arg1 = (struct sspm_part *) 0 ;
  size_t arg2 ;
  struct sspm_action_map *arg3 = (struct sspm_action_map *) 0 ;
  char *(*arg4)(char *,size_t,void *) = (char *(*)(char *,size_t,void *)) 0 ;
  void *arg5 = (void *) 0 ;
  struct sspm_header *arg6 = (struct sspm_header *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  int res5 ;
  void *argp6 = 0 ;
  int res6 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  PyObject * obj5 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOOO:sspm_parse_mime",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_sspm_part, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sspm_parse_mime" "', argument " "1"" of type '" "struct sspm_part *""'"); 
  }
  arg1 = (struct sspm_part *)(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sspm_parse_mime" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = (size_t)(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_sspm_action_map, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "sspm_parse_mime" "', argument " "3"" of type '" "struct sspm_action_map const *""'"); 
  }
  arg3 = (struct sspm_action_map *)(argp3);
  {
    int res = SWIG_ConvertFunctionPtr(obj3, (void**)(&arg4), SWIGTYPE_p_f_p_char_size_t_p_void__p_char);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "sspm_parse_mime" "', argument " "4"" of type '" "char *(*)(char *,size_t,void *)""'"); 
    }
  }
  res5 = SWIG_ConvertPtr(obj4,SWIG_as_voidptrptr(&arg5), 0, 0);
  if (!SWIG_IsOK(res5)) {
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "sspm_parse_mime" "', argument " "5"" of type '" "void *""'"); 
  }
  res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_sspm_header, 0 |  0 );
  if (!SWIG_IsOK(res6)) {
    SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "sspm_parse_mime" "', argument " "6"" of type '" "struct sspm_header *""'"); 
  }
  arg6 = (struct sspm_header *)(argp6);
  result = (int)sspm_parse_mime(arg1,arg2,(struct sspm_action_map const *)arg3,arg4,arg5,arg6);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_sspm_free_parts(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct sspm_part *arg1 = (struct sspm_part *) 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:sspm_free_parts",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_sspm_part, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sspm_free_parts" "', argument " "1"" of type '" "struct sspm_part *""'"); 
  }
  arg1 = (struct sspm_part *)(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sspm_free_parts" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = (size_t)(val2);
  sspm_free_parts(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_decode_quoted_printable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  char *arg2 = (char *) 0 ;
  size_t *arg3 = (size_t *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:decode_quoted_printable",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "decode_quoted_printable" "', argument " "1"" of type '" "char *""'");
  }
  arg1 = (char *)(buf1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "decode_quoted_printable" "', argument " "2"" of type '" "char *""'");
  }
  arg2 = (char *)(buf2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_size_t, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "decode_quoted_printable" "', argument " "3"" of type '" "size_t *""'"); 
  }
  arg3 = (size_t *)(argp3);
  result = (char *)decode_quoted_printable(arg1,arg2,arg3);
  resultobj = SWIG_FromCharPtr((const char *)result);
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_decode_base64(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  char *arg2 = (char *) 0 ;
  size_t *arg3 = (size_t *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  void *argp3 = 0 ;
  int res3 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:decode_base64",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "decode_base64" "', argument " "1"" of type '" "char *""'");
  }
  arg1 = (char *)(buf1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "decode_base64" "', argument " "2"" of type '" "char *""'");
  }
  arg2 = (char *)(buf2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_size_t, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "decode_base64" "', argument " "3"" of type '" "size_t *""'"); 
  }
  arg3 = (size_t *)(argp3);
  result = (char *)decode_base64(arg1,arg2,arg3);
  resultobj = SWIG_FromCharPtr((const char *)result);
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_sspm_write_mime(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct sspm_part *arg1 = (struct sspm_part *) 0 ;
  size_t arg2 ;
  char **arg3 = (char **) 0 ;
  char *arg4 = (char *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  size_t val2 ;
  int ecode2 = 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 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:sspm_write_mime",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_sspm_part, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "sspm_write_mime" "', argument " "1"" of type '" "struct sspm_part *""'"); 
  }
  arg1 = (struct sspm_part *)(argp1);
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sspm_write_mime" "', argument " "2"" of type '" "size_t""'");
  } 
  arg2 = (size_t)(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_p_char, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "sspm_write_mime" "', argument " "3"" of type '" "char **""'"); 
  }
  arg3 = (char **)(argp3);
  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "sspm_write_mime" "', argument " "4"" of type '" "char const *""'");
  }
  arg4 = (char *)(buf4);
  result = (int)sspm_write_mime(arg1,arg2,arg3,(char const *)arg4);
  resultobj = SWIG_From_int((int)(result));
  if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
  return resultobj;
fail:
  if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalmime_parse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *(*arg1)(char *,size_t,void *) = (char *(*)(char *,size_t,void *)) 0 ;
  void *arg2 = (void *) 0 ;
  int res2 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalmime_parse",&obj0,&obj1)) SWIG_fail;
  {
    int res = SWIG_ConvertFunctionPtr(obj0, (void**)(&arg1), SWIGTYPE_p_f_p_char_size_t_p_void__p_char);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "icalmime_parse" "', argument " "1"" of type '" "char *(*)(char *,size_t,void *)""'"); 
    }
  }
  res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, 0);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalmime_parse" "', argument " "2"" of type '" "void *""'"); 
  }
  result = (icalcomponent *)icalmime_parse(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icallangbind_new_array(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int arg1 ;
  int val1 ;
  int ecode1 = 0 ;
  PyObject * obj0 = 0 ;
  int *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icallangbind_new_array",&obj0)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icallangbind_new_array" "', argument " "1"" of type '" "int""'");
  } 
  arg1 = (int)(val1);
  result = (int *)icallangbind_new_array(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


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


SWIGINTERN PyObject *_wrap_icallangbind_access_array(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  int *arg1 = (int *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icallangbind_access_array",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_int, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icallangbind_access_array" "', argument " "1"" of type '" "int *""'"); 
  }
  arg1 = (int *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icallangbind_access_array" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  result = (int)icallangbind_access_array(arg1,arg2);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icallangbind_get_first_property(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 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 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icallangbind_get_first_property",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icallangbind_get_first_property" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icallangbind_get_first_property" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  result = (icalproperty *)icallangbind_get_first_property(arg1,(char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icallangbind_get_next_property(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 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 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icallangbind_get_next_property",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icallangbind_get_next_property" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icallangbind_get_next_property" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  result = (icalproperty *)icallangbind_get_next_property(arg1,(char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icallangbind_get_first_component(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 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 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icallangbind_get_first_component",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icallangbind_get_first_component" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icallangbind_get_first_component" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  result = (icalcomponent *)icallangbind_get_first_component(arg1,(char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icallangbind_get_next_component(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 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 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icallangbind_get_next_component",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icallangbind_get_next_component" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icallangbind_get_next_component" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  result = (icalcomponent *)icallangbind_get_next_component(arg1,(char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icallangbind_get_first_parameter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icallangbind_get_first_parameter",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icallangbind_get_first_parameter" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (icalparameter *)icallangbind_get_first_parameter(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icallangbind_get_next_parameter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalparameter *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icallangbind_get_next_parameter",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icallangbind_get_next_parameter" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (icalparameter *)icallangbind_get_next_parameter(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icallangbind_property_eval_string(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icallangbind_property_eval_string",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icallangbind_property_eval_string" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icallangbind_property_eval_string" "', argument " "2"" of type '" "char *""'");
  }
  arg2 = (char *)(buf2);
  result = (char *)icallangbind_property_eval_string(arg1,arg2);
  resultobj = SWIG_FromCharPtr((const char *)result);
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icallangbind_property_eval_string_r(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 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 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icallangbind_property_eval_string_r",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icallangbind_property_eval_string_r" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icallangbind_property_eval_string_r" "', argument " "2"" of type '" "char *""'");
  }
  arg2 = (char *)(buf2);
  result = (char *)icallangbind_property_eval_string_r(arg1,arg2);
  resultobj = SWIG_FromCharPtr((const char *)result);
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


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


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


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


SWIGINTERN PyObject *_wrap_icalgauge_new_from_sql(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int arg2 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  icalgauge *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalgauge_new_from_sql",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalgauge_new_from_sql" "', argument " "1"" of type '" "char *""'");
  }
  arg1 = (char *)(buf1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalgauge_new_from_sql" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  result = (icalgauge *)icalgauge_new_from_sql(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalgauge_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalgauge_get_expand(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalgauge *arg1 = (icalgauge *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalgauge_get_expand",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalgauge_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalgauge_get_expand" "', argument " "1"" of type '" "icalgauge *""'"); 
  }
  arg1 = (icalgauge *)(argp1);
  result = (int)icalgauge_get_expand(arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalgauge_free(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalgauge *arg1 = (icalgauge *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalgauge_free",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalgauge_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalgauge_free" "', argument " "1"" of type '" "icalgauge *""'"); 
  }
  arg1 = (icalgauge *)(argp1);
  icalgauge_free(arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalgauge_dump(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalgauge *arg1 = (icalgauge *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalgauge_dump",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalgauge_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalgauge_dump" "', argument " "1"" of type '" "icalgauge *""'"); 
  }
  arg1 = (icalgauge *)(argp1);
  icalgauge_dump(arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalgauge_compare(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalgauge *arg1 = (icalgauge *) 0 ;
  icalcomponent *arg2 = (icalcomponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalgauge_compare",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalgauge_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalgauge_compare" "', argument " "1"" of type '" "icalgauge *""'"); 
  }
  arg1 = (icalgauge *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalgauge_compare" "', argument " "2"" of type '" "icalcomponent *""'"); 
  }
  arg2 = (icalcomponent *)(argp2);
  result = (int)icalgauge_compare(arg1,arg2);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalsetiter_iter_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalsetiter *arg1 = (icalsetiter *) 0 ;
  icalcompiter *arg2 = (icalcompiter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalsetiter_iter_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalsetiter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalsetiter_iter_set" "', argument " "1"" of type '" "icalsetiter *""'"); 
  }
  arg1 = (icalsetiter *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icalcompiter, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalsetiter_iter_set" "', argument " "2"" of type '" "icalcompiter *""'"); 
  }
  arg2 = (icalcompiter *)(argp2);
  if (arg1) (arg1)->iter = *arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalsetiter_iter_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalsetiter *arg1 = (icalsetiter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalcompiter *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalsetiter_iter_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalsetiter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalsetiter_iter_get" "', argument " "1"" of type '" "icalsetiter *""'"); 
  }
  arg1 = (icalsetiter *)(argp1);
  result = (icalcompiter *)& ((arg1)->iter);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcompiter, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalsetiter_gauge_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalsetiter *arg1 = (icalsetiter *) 0 ;
  icalgauge *arg2 = (icalgauge *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalsetiter_gauge_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalsetiter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalsetiter_gauge_set" "', argument " "1"" of type '" "icalsetiter *""'"); 
  }
  arg1 = (icalsetiter *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icalgauge_impl, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalsetiter_gauge_set" "', argument " "2"" of type '" "icalgauge *""'"); 
  }
  arg2 = (icalgauge *)(argp2);
  if (arg1) (arg1)->gauge = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalsetiter_gauge_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalsetiter *arg1 = (icalsetiter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalgauge *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalsetiter_gauge_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalsetiter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalsetiter_gauge_get" "', argument " "1"" of type '" "icalsetiter *""'"); 
  }
  arg1 = (icalsetiter *)(argp1);
  result = (icalgauge *) ((arg1)->gauge);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalgauge_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalsetiter_ritr_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalsetiter *arg1 = (icalsetiter *) 0 ;
  icalrecur_iterator *arg2 = (icalrecur_iterator *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalsetiter_ritr_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalsetiter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalsetiter_ritr_set" "', argument " "1"" of type '" "icalsetiter *""'"); 
  }
  arg1 = (icalsetiter *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icalrecur_iterator_impl, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalsetiter_ritr_set" "', argument " "2"" of type '" "icalrecur_iterator *""'"); 
  }
  arg2 = (icalrecur_iterator *)(argp2);
  if (arg1) (arg1)->ritr = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalsetiter_ritr_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalsetiter *arg1 = (icalsetiter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalrecur_iterator *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalsetiter_ritr_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalsetiter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalsetiter_ritr_get" "', argument " "1"" of type '" "icalsetiter *""'"); 
  }
  arg1 = (icalsetiter *)(argp1);
  result = (icalrecur_iterator *) ((arg1)->ritr);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalrecur_iterator_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalsetiter_last_component_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalsetiter *arg1 = (icalsetiter *) 0 ;
  icalcomponent *arg2 = (icalcomponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalsetiter_last_component_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalsetiter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalsetiter_last_component_set" "', argument " "1"" of type '" "icalsetiter *""'"); 
  }
  arg1 = (icalsetiter *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icalcomponent_impl, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalsetiter_last_component_set" "', argument " "2"" of type '" "icalcomponent *""'"); 
  }
  arg2 = (icalcomponent *)(argp2);
  if (arg1) (arg1)->last_component = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalsetiter_last_component_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalsetiter *arg1 = (icalsetiter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalsetiter_last_component_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalsetiter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalsetiter_last_component_get" "', argument " "1"" of type '" "icalsetiter *""'"); 
  }
  arg1 = (icalsetiter *)(argp1);
  result = (icalcomponent *) ((arg1)->last_component);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalsetiter_tzid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalsetiter *arg1 = (icalsetiter *) 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:icalsetiter_tzid_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalsetiter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalsetiter_tzid_set" "', argument " "1"" of type '" "icalsetiter *""'"); 
  }
  arg1 = (icalsetiter *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalsetiter_tzid_set" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  if (arg2) {
    size_t size = strlen((const char *)((const char *)(arg2))) + 1;
    arg1->tzid = (char const *)(char *)memcpy((char *)malloc((size)*sizeof(char)), arg2, sizeof(char)*(size));
  } else {
    arg1->tzid = 0;
  }
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


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


SWIGINTERN PyObject *_wrap_new_icalsetiter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalsetiter *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_icalsetiter")) SWIG_fail;
  result = (icalsetiter *)calloc(1, sizeof(icalsetiter));
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalsetiter, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_icalsetiter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalsetiter *arg1 = (icalsetiter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_icalsetiter",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalsetiter, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_icalsetiter" "', argument " "1"" of type '" "icalsetiter *""'"); 
  }
  arg1 = (icalsetiter *)(argp1);
  free((char *) arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


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

SWIGINTERN PyObject *_wrap_icalset_impl_kind_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalset_impl *arg1 = (struct icalset_impl *) 0 ;
  icalset_kind arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalset_impl_kind_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_impl_kind_set" "', argument " "1"" of type '" "struct icalset_impl *""'"); 
  }
  arg1 = (struct icalset_impl *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalset_impl_kind_set" "', argument " "2"" of type '" "icalset_kind""'");
  } 
  arg2 = (icalset_kind)(val2);
  if (arg1) (arg1)->kind = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_impl_kind_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalset_impl *arg1 = (struct icalset_impl *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalset_kind result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalset_impl_kind_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_impl_kind_get" "', argument " "1"" of type '" "struct icalset_impl *""'"); 
  }
  arg1 = (struct icalset_impl *)(argp1);
  result = (icalset_kind) ((arg1)->kind);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_impl_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalset_impl *arg1 = (struct icalset_impl *) 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:icalset_impl_size_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_impl_size_set" "', argument " "1"" of type '" "struct icalset_impl *""'"); 
  }
  arg1 = (struct icalset_impl *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalset_impl_size_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  if (arg1) (arg1)->size = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_impl_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalset_impl *arg1 = (struct icalset_impl *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalset_impl_size_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_impl_size_get" "', argument " "1"" of type '" "struct icalset_impl *""'"); 
  }
  arg1 = (struct icalset_impl *)(argp1);
  result = (int) ((arg1)->size);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_impl_dsn_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalset_impl *arg1 = (struct icalset_impl *) 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:icalset_impl_dsn_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_impl_dsn_set" "', argument " "1"" of type '" "struct icalset_impl *""'"); 
  }
  arg1 = (struct icalset_impl *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalset_impl_dsn_set" "', argument " "2"" of type '" "char *""'");
  }
  arg2 = (char *)(buf2);
  if (arg1->dsn) free((char*)arg1->dsn);
  if (arg2) {
    size_t size = strlen((const char *)(arg2)) + 1;
    arg1->dsn = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
  } else {
    arg1->dsn = 0;
  }
  resultobj = SWIG_Py_Void();
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_impl_dsn_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalset_impl *arg1 = (struct icalset_impl *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalset_impl_dsn_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_impl_dsn_get" "', argument " "1"" of type '" "struct icalset_impl *""'"); 
  }
  arg1 = (struct icalset_impl *)(argp1);
  result = (char *) ((arg1)->dsn);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_impl_init_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalset_impl *arg1 = (struct icalset_impl *) 0 ;
  icalset *(*arg2)(icalset *,char const *,void *) = (icalset *(*)(icalset *,char const *,void *)) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalset_impl_init_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_impl_init_set" "', argument " "1"" of type '" "struct icalset_impl *""'"); 
  }
  arg1 = (struct icalset_impl *)(argp1);
  {
    int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_icalset_p_q_const__char_p_void__p_icalset_impl);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "icalset_impl_init_set" "', argument " "2"" of type '" "icalset *(*)(icalset *,char const *,void *)""'"); 
    }
  }
  if (arg1) (arg1)->init = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_impl_init_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalset_impl *arg1 = (struct icalset_impl *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalset *(*result)(icalset *,char const *,void *) = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalset_impl_init_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_impl_init_get" "', argument " "1"" of type '" "struct icalset_impl *""'"); 
  }
  arg1 = (struct icalset_impl *)(argp1);
  result = (icalset *(*)(icalset *,char const *,void *)) ((arg1)->init);
  resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_icalset_p_q_const__char_p_void__p_icalset_impl);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_impl_free_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalset_impl *arg1 = (struct icalset_impl *) 0 ;
  void (*arg2)(icalset *) = (void (*)(icalset *)) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalset_impl_free_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_impl_free_set" "', argument " "1"" of type '" "struct icalset_impl *""'"); 
  }
  arg1 = (struct icalset_impl *)(argp1);
  {
    int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_struct_icalset_impl__void);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "icalset_impl_free_set" "', argument " "2"" of type '" "void (*)(icalset *)""'"); 
    }
  }
  if (arg1) (arg1)->free = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_impl_free_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalset_impl *arg1 = (struct icalset_impl *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  void (*result)(icalset *) = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalset_impl_free_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_impl_free_get" "', argument " "1"" of type '" "struct icalset_impl *""'"); 
  }
  arg1 = (struct icalset_impl *)(argp1);
  result = (void (*)(icalset *)) ((arg1)->free);
  resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_struct_icalset_impl__void);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_impl_path_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalset_impl *arg1 = (struct icalset_impl *) 0 ;
  char *(*arg2)(icalset *) = (char *(*)(icalset *)) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalset_impl_path_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_impl_path_set" "', argument " "1"" of type '" "struct icalset_impl *""'"); 
  }
  arg1 = (struct icalset_impl *)(argp1);
  {
    int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_struct_icalset_impl__p_char);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "icalset_impl_path_set" "', argument " "2"" of type '" "char const *(*)(icalset *)""'"); 
    }
  }
  if (arg1) (arg1)->path = (char const *(*)(icalset *))arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_impl_path_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalset_impl *arg1 = (struct icalset_impl *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *(*result)(icalset *) = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalset_impl_path_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_impl_path_get" "', argument " "1"" of type '" "struct icalset_impl *""'"); 
  }
  arg1 = (struct icalset_impl *)(argp1);
  result = (char *(*)(icalset *)) ((arg1)->path);
  resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_struct_icalset_impl__p_char);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_impl_mark_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalset_impl *arg1 = (struct icalset_impl *) 0 ;
  void (*arg2)(icalset *) = (void (*)(icalset *)) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalset_impl_mark_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_impl_mark_set" "', argument " "1"" of type '" "struct icalset_impl *""'"); 
  }
  arg1 = (struct icalset_impl *)(argp1);
  {
    int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_struct_icalset_impl__void);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "icalset_impl_mark_set" "', argument " "2"" of type '" "void (*)(icalset *)""'"); 
    }
  }
  if (arg1) (arg1)->mark = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_impl_mark_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalset_impl *arg1 = (struct icalset_impl *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  void (*result)(icalset *) = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalset_impl_mark_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_impl_mark_get" "', argument " "1"" of type '" "struct icalset_impl *""'"); 
  }
  arg1 = (struct icalset_impl *)(argp1);
  result = (void (*)(icalset *)) ((arg1)->mark);
  resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_struct_icalset_impl__void);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_impl_commit_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalset_impl *arg1 = (struct icalset_impl *) 0 ;
  icalerrorenum (*arg2)(icalset *) = (icalerrorenum (*)(icalset *)) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalset_impl_commit_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_impl_commit_set" "', argument " "1"" of type '" "struct icalset_impl *""'"); 
  }
  arg1 = (struct icalset_impl *)(argp1);
  {
    int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_struct_icalset_impl__icalerrorenum);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "icalset_impl_commit_set" "', argument " "2"" of type '" "icalerrorenum (*)(icalset *)""'"); 
    }
  }
  if (arg1) (arg1)->commit = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_impl_commit_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalset_impl *arg1 = (struct icalset_impl *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalerrorenum (*result)(icalset *) = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalset_impl_commit_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_impl_commit_get" "', argument " "1"" of type '" "struct icalset_impl *""'"); 
  }
  arg1 = (struct icalset_impl *)(argp1);
  result = (icalerrorenum (*)(icalset *)) ((arg1)->commit);
  resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_struct_icalset_impl__icalerrorenum);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_impl_add_component_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalset_impl *arg1 = (struct icalset_impl *) 0 ;
  icalerrorenum (*arg2)(icalset *,icalcomponent *) = (icalerrorenum (*)(icalset *,icalcomponent *)) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalset_impl_add_component_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_impl_add_component_set" "', argument " "1"" of type '" "struct icalset_impl *""'"); 
  }
  arg1 = (struct icalset_impl *)(argp1);
  {
    int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_struct_icalset_impl_p_struct_icalcomponent_impl__icalerrorenum);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "icalset_impl_add_component_set" "', argument " "2"" of type '" "icalerrorenum (*)(icalset *,icalcomponent *)""'"); 
    }
  }
  if (arg1) (arg1)->add_component = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_impl_add_component_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalset_impl *arg1 = (struct icalset_impl *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalerrorenum (*result)(icalset *,icalcomponent *) = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalset_impl_add_component_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_impl_add_component_get" "', argument " "1"" of type '" "struct icalset_impl *""'"); 
  }
  arg1 = (struct icalset_impl *)(argp1);
  result = (icalerrorenum (*)(icalset *,icalcomponent *)) ((arg1)->add_component);
  resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_struct_icalset_impl_p_struct_icalcomponent_impl__icalerrorenum);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_impl_remove_component_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalset_impl *arg1 = (struct icalset_impl *) 0 ;
  icalerrorenum (*arg2)(icalset *,icalcomponent *) = (icalerrorenum (*)(icalset *,icalcomponent *)) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalset_impl_remove_component_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_impl_remove_component_set" "', argument " "1"" of type '" "struct icalset_impl *""'"); 
  }
  arg1 = (struct icalset_impl *)(argp1);
  {
    int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_struct_icalset_impl_p_struct_icalcomponent_impl__icalerrorenum);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "icalset_impl_remove_component_set" "', argument " "2"" of type '" "icalerrorenum (*)(icalset *,icalcomponent *)""'"); 
    }
  }
  if (arg1) (arg1)->remove_component = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_impl_remove_component_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalset_impl *arg1 = (struct icalset_impl *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalerrorenum (*result)(icalset *,icalcomponent *) = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalset_impl_remove_component_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_impl_remove_component_get" "', argument " "1"" of type '" "struct icalset_impl *""'"); 
  }
  arg1 = (struct icalset_impl *)(argp1);
  result = (icalerrorenum (*)(icalset *,icalcomponent *)) ((arg1)->remove_component);
  resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_struct_icalset_impl_p_struct_icalcomponent_impl__icalerrorenum);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_impl_count_components_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalset_impl *arg1 = (struct icalset_impl *) 0 ;
  int (*arg2)(icalset *,icalcomponent_kind) = (int (*)(icalset *,icalcomponent_kind)) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalset_impl_count_components_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_impl_count_components_set" "', argument " "1"" of type '" "struct icalset_impl *""'"); 
  }
  arg1 = (struct icalset_impl *)(argp1);
  {
    int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_struct_icalset_impl_enum_icalcomponent_kind__int);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "icalset_impl_count_components_set" "', argument " "2"" of type '" "int (*)(icalset *,icalcomponent_kind)""'"); 
    }
  }
  if (arg1) (arg1)->count_components = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_impl_count_components_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalset_impl *arg1 = (struct icalset_impl *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int (*result)(icalset *,icalcomponent_kind) = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalset_impl_count_components_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_impl_count_components_get" "', argument " "1"" of type '" "struct icalset_impl *""'"); 
  }
  arg1 = (struct icalset_impl *)(argp1);
  result = (int (*)(icalset *,icalcomponent_kind)) ((arg1)->count_components);
  resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_struct_icalset_impl_enum_icalcomponent_kind__int);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_impl_select_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalset_impl *arg1 = (struct icalset_impl *) 0 ;
  icalerrorenum (*arg2)(icalset *,icalgauge *) = (icalerrorenum (*)(icalset *,icalgauge *)) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalset_impl_select_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_impl_select_set" "', argument " "1"" of type '" "struct icalset_impl *""'"); 
  }
  arg1 = (struct icalset_impl *)(argp1);
  {
    int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_struct_icalset_impl_p_struct_icalgauge_impl__icalerrorenum);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "icalset_impl_select_set" "', argument " "2"" of type '" "icalerrorenum (*)(icalset *,icalgauge *)""'"); 
    }
  }
  if (arg1) (arg1)->select = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_impl_select_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalset_impl *arg1 = (struct icalset_impl *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalerrorenum (*result)(icalset *,icalgauge *) = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalset_impl_select_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_impl_select_get" "', argument " "1"" of type '" "struct icalset_impl *""'"); 
  }
  arg1 = (struct icalset_impl *)(argp1);
  result = (icalerrorenum (*)(icalset *,icalgauge *)) ((arg1)->select);
  resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_struct_icalset_impl_p_struct_icalgauge_impl__icalerrorenum);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_impl_clear_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalset_impl *arg1 = (struct icalset_impl *) 0 ;
  void (*arg2)(icalset *) = (void (*)(icalset *)) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalset_impl_clear_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_impl_clear_set" "', argument " "1"" of type '" "struct icalset_impl *""'"); 
  }
  arg1 = (struct icalset_impl *)(argp1);
  {
    int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_struct_icalset_impl__void);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "icalset_impl_clear_set" "', argument " "2"" of type '" "void (*)(icalset *)""'"); 
    }
  }
  if (arg1) (arg1)->clear = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_impl_clear_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalset_impl *arg1 = (struct icalset_impl *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  void (*result)(icalset *) = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalset_impl_clear_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_impl_clear_get" "', argument " "1"" of type '" "struct icalset_impl *""'"); 
  }
  arg1 = (struct icalset_impl *)(argp1);
  result = (void (*)(icalset *)) ((arg1)->clear);
  resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_struct_icalset_impl__void);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_impl_fetch_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalset_impl *arg1 = (struct icalset_impl *) 0 ;
  icalcomponent *(*arg2)(icalset *,char const *) = (icalcomponent *(*)(icalset *,char const *)) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalset_impl_fetch_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_impl_fetch_set" "', argument " "1"" of type '" "struct icalset_impl *""'"); 
  }
  arg1 = (struct icalset_impl *)(argp1);
  {
    int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_struct_icalset_impl_p_q_const__char__p_icalcomponent_impl);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "icalset_impl_fetch_set" "', argument " "2"" of type '" "icalcomponent *(*)(icalset *,char const *)""'"); 
    }
  }
  if (arg1) (arg1)->fetch = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_impl_fetch_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalset_impl *arg1 = (struct icalset_impl *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalcomponent *(*result)(icalset *,char const *) = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalset_impl_fetch_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_impl_fetch_get" "', argument " "1"" of type '" "struct icalset_impl *""'"); 
  }
  arg1 = (struct icalset_impl *)(argp1);
  result = (icalcomponent *(*)(icalset *,char const *)) ((arg1)->fetch);
  resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_struct_icalset_impl_p_q_const__char__p_icalcomponent_impl);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_impl_fetch_match_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalset_impl *arg1 = (struct icalset_impl *) 0 ;
  icalcomponent *(*arg2)(icalset *,icalcomponent *) = (icalcomponent *(*)(icalset *,icalcomponent *)) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalset_impl_fetch_match_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_impl_fetch_match_set" "', argument " "1"" of type '" "struct icalset_impl *""'"); 
  }
  arg1 = (struct icalset_impl *)(argp1);
  {
    int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_struct_icalset_impl_p_struct_icalcomponent_impl__p_icalcomponent_impl);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "icalset_impl_fetch_match_set" "', argument " "2"" of type '" "icalcomponent *(*)(icalset *,icalcomponent *)""'"); 
    }
  }
  if (arg1) (arg1)->fetch_match = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_impl_fetch_match_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalset_impl *arg1 = (struct icalset_impl *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalcomponent *(*result)(icalset *,icalcomponent *) = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalset_impl_fetch_match_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_impl_fetch_match_get" "', argument " "1"" of type '" "struct icalset_impl *""'"); 
  }
  arg1 = (struct icalset_impl *)(argp1);
  result = (icalcomponent *(*)(icalset *,icalcomponent *)) ((arg1)->fetch_match);
  resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_struct_icalset_impl_p_struct_icalcomponent_impl__p_icalcomponent_impl);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_impl_has_uid_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalset_impl *arg1 = (struct icalset_impl *) 0 ;
  int (*arg2)(icalset *,char const *) = (int (*)(icalset *,char const *)) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalset_impl_has_uid_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_impl_has_uid_set" "', argument " "1"" of type '" "struct icalset_impl *""'"); 
  }
  arg1 = (struct icalset_impl *)(argp1);
  {
    int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_struct_icalset_impl_p_q_const__char__int);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "icalset_impl_has_uid_set" "', argument " "2"" of type '" "int (*)(icalset *,char const *)""'"); 
    }
  }
  if (arg1) (arg1)->has_uid = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_impl_has_uid_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalset_impl *arg1 = (struct icalset_impl *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int (*result)(icalset *,char const *) = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalset_impl_has_uid_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_impl_has_uid_get" "', argument " "1"" of type '" "struct icalset_impl *""'"); 
  }
  arg1 = (struct icalset_impl *)(argp1);
  result = (int (*)(icalset *,char const *)) ((arg1)->has_uid);
  resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_struct_icalset_impl_p_q_const__char__int);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_impl_modify_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalset_impl *arg1 = (struct icalset_impl *) 0 ;
  icalerrorenum (*arg2)(icalset *,icalcomponent *,icalcomponent *) = (icalerrorenum (*)(icalset *,icalcomponent *,icalcomponent *)) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalset_impl_modify_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_impl_modify_set" "', argument " "1"" of type '" "struct icalset_impl *""'"); 
  }
  arg1 = (struct icalset_impl *)(argp1);
  {
    int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_struct_icalset_impl_p_struct_icalcomponent_impl_p_struct_icalcomponent_impl__icalerrorenum);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "icalset_impl_modify_set" "', argument " "2"" of type '" "icalerrorenum (*)(icalset *,icalcomponent *,icalcomponent *)""'"); 
    }
  }
  if (arg1) (arg1)->modify = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_impl_modify_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalset_impl *arg1 = (struct icalset_impl *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalerrorenum (*result)(icalset *,icalcomponent *,icalcomponent *) = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalset_impl_modify_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_impl_modify_get" "', argument " "1"" of type '" "struct icalset_impl *""'"); 
  }
  arg1 = (struct icalset_impl *)(argp1);
  result = (icalerrorenum (*)(icalset *,icalcomponent *,icalcomponent *)) ((arg1)->modify);
  resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_struct_icalset_impl_p_struct_icalcomponent_impl_p_struct_icalcomponent_impl__icalerrorenum);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_impl_get_current_component_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalset_impl *arg1 = (struct icalset_impl *) 0 ;
  icalcomponent *(*arg2)(icalset *) = (icalcomponent *(*)(icalset *)) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalset_impl_get_current_component_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_impl_get_current_component_set" "', argument " "1"" of type '" "struct icalset_impl *""'"); 
  }
  arg1 = (struct icalset_impl *)(argp1);
  {
    int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_struct_icalset_impl__p_icalcomponent_impl);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "icalset_impl_get_current_component_set" "', argument " "2"" of type '" "icalcomponent *(*)(icalset *)""'"); 
    }
  }
  if (arg1) (arg1)->get_current_component = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_impl_get_current_component_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalset_impl *arg1 = (struct icalset_impl *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalcomponent *(*result)(icalset *) = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalset_impl_get_current_component_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_impl_get_current_component_get" "', argument " "1"" of type '" "struct icalset_impl *""'"); 
  }
  arg1 = (struct icalset_impl *)(argp1);
  result = (icalcomponent *(*)(icalset *)) ((arg1)->get_current_component);
  resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_struct_icalset_impl__p_icalcomponent_impl);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_impl_get_first_component_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalset_impl *arg1 = (struct icalset_impl *) 0 ;
  icalcomponent *(*arg2)(icalset *) = (icalcomponent *(*)(icalset *)) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalset_impl_get_first_component_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_impl_get_first_component_set" "', argument " "1"" of type '" "struct icalset_impl *""'"); 
  }
  arg1 = (struct icalset_impl *)(argp1);
  {
    int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_struct_icalset_impl__p_icalcomponent_impl);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "icalset_impl_get_first_component_set" "', argument " "2"" of type '" "icalcomponent *(*)(icalset *)""'"); 
    }
  }
  if (arg1) (arg1)->get_first_component = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_impl_get_first_component_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalset_impl *arg1 = (struct icalset_impl *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalcomponent *(*result)(icalset *) = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalset_impl_get_first_component_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_impl_get_first_component_get" "', argument " "1"" of type '" "struct icalset_impl *""'"); 
  }
  arg1 = (struct icalset_impl *)(argp1);
  result = (icalcomponent *(*)(icalset *)) ((arg1)->get_first_component);
  resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_struct_icalset_impl__p_icalcomponent_impl);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_impl_get_next_component_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalset_impl *arg1 = (struct icalset_impl *) 0 ;
  icalcomponent *(*arg2)(icalset *) = (icalcomponent *(*)(icalset *)) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalset_impl_get_next_component_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_impl_get_next_component_set" "', argument " "1"" of type '" "struct icalset_impl *""'"); 
  }
  arg1 = (struct icalset_impl *)(argp1);
  {
    int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_struct_icalset_impl__p_icalcomponent_impl);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "icalset_impl_get_next_component_set" "', argument " "2"" of type '" "icalcomponent *(*)(icalset *)""'"); 
    }
  }
  if (arg1) (arg1)->get_next_component = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_impl_get_next_component_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalset_impl *arg1 = (struct icalset_impl *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalcomponent *(*result)(icalset *) = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalset_impl_get_next_component_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_impl_get_next_component_get" "', argument " "1"" of type '" "struct icalset_impl *""'"); 
  }
  arg1 = (struct icalset_impl *)(argp1);
  result = (icalcomponent *(*)(icalset *)) ((arg1)->get_next_component);
  resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_struct_icalset_impl__p_icalcomponent_impl);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_impl_icalset_begin_component_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalset_impl *arg1 = (struct icalset_impl *) 0 ;
  icalsetiter (*arg2)(icalset *,icalcomponent_kind,icalgauge *) = (icalsetiter (*)(icalset *,icalcomponent_kind,icalgauge *)) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalset_impl_icalset_begin_component_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_impl_icalset_begin_component_set" "', argument " "1"" of type '" "struct icalset_impl *""'"); 
  }
  arg1 = (struct icalset_impl *)(argp1);
  {
    int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_icalset_icalcomponent_kind_p_icalgauge__icalsetiter);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "icalset_impl_icalset_begin_component_set" "', argument " "2"" of type '" "icalsetiter (*)(icalset *,icalcomponent_kind,icalgauge *)""'"); 
    }
  }
  if (arg1) (arg1)->icalset_begin_component = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_impl_icalset_begin_component_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalset_impl *arg1 = (struct icalset_impl *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalsetiter (*result)(icalset *,icalcomponent_kind,icalgauge *) = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalset_impl_icalset_begin_component_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_impl_icalset_begin_component_get" "', argument " "1"" of type '" "struct icalset_impl *""'"); 
  }
  arg1 = (struct icalset_impl *)(argp1);
  result = (icalsetiter (*)(icalset *,icalcomponent_kind,icalgauge *)) ((arg1)->icalset_begin_component);
  resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_icalset_icalcomponent_kind_p_icalgauge__icalsetiter);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_impl_icalsetiter_to_next_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalset_impl *arg1 = (struct icalset_impl *) 0 ;
  icalcomponent *(*arg2)(icalset *,icalsetiter *) = (icalcomponent *(*)(icalset *,icalsetiter *)) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalset_impl_icalsetiter_to_next_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_impl_icalsetiter_to_next_set" "', argument " "1"" of type '" "struct icalset_impl *""'"); 
  }
  arg1 = (struct icalset_impl *)(argp1);
  {
    int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_struct_icalset_impl_p_struct_icalsetiter__p_icalcomponent_impl);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "icalset_impl_icalsetiter_to_next_set" "', argument " "2"" of type '" "icalcomponent *(*)(icalset *,icalsetiter *)""'"); 
    }
  }
  if (arg1) (arg1)->icalsetiter_to_next = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_impl_icalsetiter_to_next_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalset_impl *arg1 = (struct icalset_impl *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalcomponent *(*result)(icalset *,icalsetiter *) = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalset_impl_icalsetiter_to_next_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_impl_icalsetiter_to_next_get" "', argument " "1"" of type '" "struct icalset_impl *""'"); 
  }
  arg1 = (struct icalset_impl *)(argp1);
  result = (icalcomponent *(*)(icalset *,icalsetiter *)) ((arg1)->icalsetiter_to_next);
  resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_struct_icalset_impl_p_struct_icalsetiter__p_icalcomponent_impl);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_impl_icalsetiter_to_prior_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalset_impl *arg1 = (struct icalset_impl *) 0 ;
  icalcomponent *(*arg2)(icalset *,icalsetiter *) = (icalcomponent *(*)(icalset *,icalsetiter *)) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalset_impl_icalsetiter_to_prior_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_impl_icalsetiter_to_prior_set" "', argument " "1"" of type '" "struct icalset_impl *""'"); 
  }
  arg1 = (struct icalset_impl *)(argp1);
  {
    int res = SWIG_ConvertFunctionPtr(obj1, (void**)(&arg2), SWIGTYPE_p_f_p_struct_icalset_impl_p_struct_icalsetiter__p_icalcomponent_impl);
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in method '" "icalset_impl_icalsetiter_to_prior_set" "', argument " "2"" of type '" "icalcomponent *(*)(icalset *,icalsetiter *)""'"); 
    }
  }
  if (arg1) (arg1)->icalsetiter_to_prior = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_impl_icalsetiter_to_prior_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalset_impl *arg1 = (struct icalset_impl *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalcomponent *(*result)(icalset *,icalsetiter *) = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalset_impl_icalsetiter_to_prior_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_impl_icalsetiter_to_prior_get" "', argument " "1"" of type '" "struct icalset_impl *""'"); 
  }
  arg1 = (struct icalset_impl *)(argp1);
  result = (icalcomponent *(*)(icalset *,icalsetiter *)) ((arg1)->icalsetiter_to_prior);
  resultobj = SWIG_NewFunctionPtrObj((void *)(result), SWIGTYPE_p_f_p_struct_icalset_impl_p_struct_icalsetiter__p_icalcomponent_impl);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_icalset_impl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalset_impl *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_icalset_impl")) SWIG_fail;
  result = (struct icalset_impl *)calloc(1, sizeof(struct icalset_impl));
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalset_impl, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_icalset_impl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  struct icalset_impl *arg1 = (struct icalset_impl *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_icalset_impl",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_icalset_impl" "', argument " "1"" of type '" "struct icalset_impl *""'"); 
  }
  arg1 = (struct icalset_impl *)(argp1);
  free((char *) arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


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

SWIGINTERN PyObject *_wrap_icalset_new(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset_kind arg1 ;
  char *arg2 = (char *) 0 ;
  void *arg3 = (void *) 0 ;
  int val1 ;
  int ecode1 = 0 ;
  int res2 ;
  char *buf2 = 0 ;
  int alloc2 = 0 ;
  int res3 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  icalset *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:icalset_new",&obj0,&obj1,&obj2)) SWIG_fail;
  ecode1 = SWIG_AsVal_int(obj0, &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "icalset_new" "', argument " "1"" of type '" "icalset_kind""'");
  } 
  arg1 = (icalset_kind)(val1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalset_new" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "icalset_new" "', argument " "3"" of type '" "void *""'"); 
  }
  result = (icalset *)icalset_new(arg1,(char const *)arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_new_file(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalset *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalset_new_file",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_new_file" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalset *)icalset_new_file((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_new_file_reader(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalset *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalset_new_file_reader",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_new_file_reader" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalset *)icalset_new_file_reader((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_new_file_writer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalset *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalset_new_file_writer",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_new_file_writer" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalset *)icalset_new_file_writer((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_new_dir(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalset *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalset_new_dir",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_new_dir" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalset *)icalset_new_dir((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_free(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalset_free",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_free" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  icalset_free(arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_path(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalset_path",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_path" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  result = (char *)icalset_path(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_mark(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalset_mark",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_mark" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  icalset_mark(arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_commit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalerrorenum result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalset_commit",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_commit" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  result = (icalerrorenum)icalset_commit(arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_add_component(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  icalcomponent *arg2 = (icalcomponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  icalerrorenum result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalset_add_component",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_add_component" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalset_add_component" "', argument " "2"" of type '" "icalcomponent *""'"); 
  }
  arg2 = (icalcomponent *)(argp2);
  result = (icalerrorenum)icalset_add_component(arg1,arg2);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_remove_component(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  icalcomponent *arg2 = (icalcomponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  icalerrorenum result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalset_remove_component",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_remove_component" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalset_remove_component" "', argument " "2"" of type '" "icalcomponent *""'"); 
  }
  arg2 = (icalcomponent *)(argp2);
  result = (icalerrorenum)icalset_remove_component(arg1,arg2);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_count_components(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  icalcomponent_kind arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalset_count_components",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_count_components" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalset_count_components" "', argument " "2"" of type '" "icalcomponent_kind""'");
  } 
  arg2 = (icalcomponent_kind)(val2);
  result = (int)icalset_count_components(arg1,arg2);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_select(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  icalgauge *arg2 = (icalgauge *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  icalerrorenum result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalset_select",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_select" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icalgauge_impl, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalset_select" "', argument " "2"" of type '" "icalgauge *""'"); 
  }
  arg2 = (icalgauge *)(argp2);
  result = (icalerrorenum)icalset_select(arg1,arg2);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_fetch(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 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 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalset_fetch",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_fetch" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalset_fetch" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  result = (icalcomponent *)icalset_fetch(arg1,(char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_has_uid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 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 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalset_has_uid",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_has_uid" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalset_has_uid" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  result = (int)icalset_has_uid(arg1,(char const *)arg2);
  resultobj = SWIG_From_int((int)(result));
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_fetch_match(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  icalcomponent *arg2 = (icalcomponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalset_fetch_match",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_fetch_match" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalset_fetch_match" "', argument " "2"" of type '" "icalcomponent *""'"); 
  }
  arg2 = (icalcomponent *)(argp2);
  result = (icalcomponent *)icalset_fetch_match(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_modify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  icalcomponent *arg2 = (icalcomponent *) 0 ;
  icalcomponent *arg3 = (icalcomponent *) 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 ;
  icalerrorenum result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:icalset_modify",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_modify" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalset_modify" "', argument " "2"" of type '" "icalcomponent *""'"); 
  }
  arg2 = (icalcomponent *)(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "icalset_modify" "', argument " "3"" of type '" "icalcomponent *""'"); 
  }
  arg3 = (icalcomponent *)(argp3);
  result = (icalerrorenum)icalset_modify(arg1,arg2,arg3);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_get_current_component(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalset_get_current_component",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_get_current_component" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  result = (icalcomponent *)icalset_get_current_component(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_get_first_component(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalset_get_first_component",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_get_first_component" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  result = (icalcomponent *)icalset_get_first_component(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalset_get_next_component(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalset_get_next_component",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_get_next_component" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  result = (icalcomponent *)icalset_get_next_component(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN int Swig_var_icalsetiter_null_set(PyObject *_val) {
  {
    void *argp = 0;
    int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_icalsetiter,  0 );
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in variable '""icalsetiter_null""' of type '""icalsetiter""'");
    }
    if (!argp) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""icalsetiter_null""' of type '""icalsetiter""'");
    } else {
      icalsetiter_null = *((icalsetiter *)(argp));
    }
  }
  return 0;
fail:
  return 1;
}


SWIGINTERN PyObject *Swig_var_icalsetiter_null_get(void) {
  PyObject *pyobj = 0;
  
  pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&icalsetiter_null), SWIGTYPE_p_icalsetiter,  0 );
  return pyobj;
}


SWIGINTERN PyObject *_wrap_icalset_begin_component(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  icalcomponent_kind arg2 ;
  icalgauge *arg3 = (icalgauge *) 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 ;
  icalsetiter result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:icalset_begin_component",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalset_begin_component" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalset_begin_component" "', argument " "2"" of type '" "icalcomponent_kind""'");
  } 
  arg2 = (icalcomponent_kind)(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_icalgauge_impl, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "icalset_begin_component" "', argument " "3"" of type '" "icalgauge *""'"); 
  }
  arg3 = (icalgauge *)(argp3);
  result = icalset_begin_component(arg1,arg2,arg3);
  resultobj = SWIG_NewPointerObj((icalsetiter *)memcpy((icalsetiter *)malloc(sizeof(icalsetiter)),&result,sizeof(icalsetiter)), SWIGTYPE_p_icalsetiter, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalsetiter_next(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalsetiter *arg1 = (icalsetiter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalsetiter_next",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalsetiter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalsetiter_next" "', argument " "1"" of type '" "icalsetiter *""'"); 
  }
  arg1 = (icalsetiter *)(argp1);
  result = (icalcomponent *)icalsetiter_next(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalsetiter_prior(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalsetiter *arg1 = (icalsetiter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalsetiter_prior",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalsetiter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalsetiter_prior" "', argument " "1"" of type '" "icalsetiter *""'"); 
  }
  arg1 = (icalsetiter *)(argp1);
  result = (icalcomponent *)icalsetiter_prior(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalsetiter_deref(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalsetiter *arg1 = (icalsetiter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalsetiter_deref",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalsetiter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalsetiter_deref" "', argument " "1"" of type '" "icalsetiter *""'"); 
  }
  arg1 = (icalsetiter *)(argp1);
  result = (icalcomponent *)icalsetiter_deref(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalsetiter_to_next(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  icalsetiter *arg2 = (icalsetiter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalsetiter_to_next",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalsetiter_to_next" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icalsetiter, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalsetiter_to_next" "', argument " "2"" of type '" "icalsetiter *""'"); 
  }
  arg2 = (icalsetiter *)(argp2);
  result = (icalcomponent *)icalsetiter_to_next(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalsetiter_to_prior(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  icalsetiter *arg2 = (icalsetiter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalsetiter_to_prior",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalsetiter_to_prior" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icalsetiter, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalsetiter_to_prior" "', argument " "2"" of type '" "icalsetiter *""'"); 
  }
  arg2 = (icalsetiter *)(argp2);
  result = (icalcomponent *)icalsetiter_to_prior(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcluster_new(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  icalcomponent *arg2 = (icalcomponent *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  icalcluster *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalcluster_new",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcluster_new" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalcluster_new" "', argument " "2"" of type '" "icalcomponent *""'"); 
  }
  arg2 = (icalcomponent *)(argp2);
  result = (icalcluster *)icalcluster_new((char const *)arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcluster_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcluster_new_clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcluster *arg1 = (icalcluster *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalcluster *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcluster_new_clone",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcluster_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcluster_new_clone" "', argument " "1"" of type '" "icalcluster const *""'"); 
  }
  arg1 = (icalcluster *)(argp1);
  result = (icalcluster *)icalcluster_new_clone((struct icalcluster_impl const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcluster_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcluster_free(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcluster *arg1 = (icalcluster *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcluster_free",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcluster_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcluster_free" "', argument " "1"" of type '" "icalcluster *""'"); 
  }
  arg1 = (icalcluster *)(argp1);
  icalcluster_free(arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcluster_key(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcluster *arg1 = (icalcluster *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcluster_key",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcluster_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcluster_key" "', argument " "1"" of type '" "icalcluster *""'"); 
  }
  arg1 = (icalcluster *)(argp1);
  result = (char *)icalcluster_key(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcluster_is_changed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcluster *arg1 = (icalcluster *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcluster_is_changed",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcluster_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcluster_is_changed" "', argument " "1"" of type '" "icalcluster *""'"); 
  }
  arg1 = (icalcluster *)(argp1);
  result = (int)icalcluster_is_changed(arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcluster_mark(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcluster *arg1 = (icalcluster *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcluster_mark",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcluster_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcluster_mark" "', argument " "1"" of type '" "icalcluster *""'"); 
  }
  arg1 = (icalcluster *)(argp1);
  icalcluster_mark(arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcluster_commit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcluster *arg1 = (icalcluster *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcluster_commit",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcluster_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcluster_commit" "', argument " "1"" of type '" "icalcluster *""'"); 
  }
  arg1 = (icalcluster *)(argp1);
  icalcluster_commit(arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcluster_get_component(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcluster *arg1 = (icalcluster *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcluster_get_component",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcluster_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcluster_get_component" "', argument " "1"" of type '" "icalcluster *""'"); 
  }
  arg1 = (icalcluster *)(argp1);
  result = (icalcomponent *)icalcluster_get_component(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcluster_count_components(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcluster *arg1 = (icalcluster *) 0 ;
  icalcomponent_kind arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalcluster_count_components",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcluster_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcluster_count_components" "', argument " "1"" of type '" "icalcluster *""'"); 
  }
  arg1 = (icalcluster *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalcluster_count_components" "', argument " "2"" of type '" "icalcomponent_kind""'");
  } 
  arg2 = (icalcomponent_kind)(val2);
  result = (int)icalcluster_count_components(arg1,arg2);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcluster_add_component(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcluster *arg1 = (icalcluster *) 0 ;
  icalcomponent *arg2 = (icalcomponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  icalerrorenum result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalcluster_add_component",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcluster_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcluster_add_component" "', argument " "1"" of type '" "icalcluster *""'"); 
  }
  arg1 = (icalcluster *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalcluster_add_component" "', argument " "2"" of type '" "icalcomponent *""'"); 
  }
  arg2 = (icalcomponent *)(argp2);
  result = (icalerrorenum)icalcluster_add_component(arg1,arg2);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcluster_remove_component(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcluster *arg1 = (icalcluster *) 0 ;
  icalcomponent *arg2 = (icalcomponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  icalerrorenum result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalcluster_remove_component",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcluster_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcluster_remove_component" "', argument " "1"" of type '" "icalcluster *""'"); 
  }
  arg1 = (icalcluster *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalcluster_remove_component" "', argument " "2"" of type '" "icalcomponent *""'"); 
  }
  arg2 = (icalcomponent *)(argp2);
  result = (icalerrorenum)icalcluster_remove_component(arg1,arg2);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcluster_get_current_component(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcluster *arg1 = (icalcluster *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcluster_get_current_component",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcluster_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcluster_get_current_component" "', argument " "1"" of type '" "icalcluster *""'"); 
  }
  arg1 = (icalcluster *)(argp1);
  result = (icalcomponent *)icalcluster_get_current_component(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcluster_get_first_component(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcluster *arg1 = (icalcluster *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcluster_get_first_component",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcluster_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcluster_get_first_component" "', argument " "1"" of type '" "icalcluster *""'"); 
  }
  arg1 = (icalcluster *)(argp1);
  result = (icalcomponent *)icalcluster_get_first_component(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcluster_get_next_component(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcluster *arg1 = (icalcluster *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcluster_get_next_component",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcluster_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcluster_get_next_component" "', argument " "1"" of type '" "icalcluster *""'"); 
  }
  arg1 = (icalcluster *)(argp1);
  result = (icalcomponent *)icalcluster_get_next_component(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalfileset_new(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalset *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalfileset_new",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalfileset_new" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalset *)icalfileset_new((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalfileset_new_reader(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalset *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalfileset_new_reader",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalfileset_new_reader" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalset *)icalfileset_new_reader((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalfileset_new_writer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalset *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalfileset_new_writer",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalfileset_new_writer" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalset *)icalfileset_new_writer((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalfileset_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  char *arg2 = (char *) 0 ;
  void *arg3 = (void *) 0 ;
  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 ;
  icalset *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:icalfileset_init",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalfileset_init" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalfileset_init" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "icalfileset_init" "', argument " "3"" of type '" "void *""'"); 
  }
  result = (icalset *)icalfileset_init(arg1,(char const *)arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalfileset_produce_icalcluster(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalcluster *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalfileset_produce_icalcluster",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalfileset_produce_icalcluster" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalcluster *)icalfileset_produce_icalcluster((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcluster_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalfileset_free(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalfileset_free",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalfileset_free" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  icalfileset_free(arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalfileset_path(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalfileset_path",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalfileset_path" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  result = (char *)icalfileset_path(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalfileset_mark(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalfileset_mark",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalfileset_mark" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  icalfileset_mark(arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalfileset_commit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalerrorenum result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalfileset_commit",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalfileset_commit" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  result = (icalerrorenum)icalfileset_commit(arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalfileset_add_component(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  icalcomponent *arg2 = (icalcomponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  icalerrorenum result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalfileset_add_component",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalfileset_add_component" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalfileset_add_component" "', argument " "2"" of type '" "icalcomponent *""'"); 
  }
  arg2 = (icalcomponent *)(argp2);
  result = (icalerrorenum)icalfileset_add_component(arg1,arg2);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalfileset_remove_component(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  icalcomponent *arg2 = (icalcomponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  icalerrorenum result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalfileset_remove_component",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalfileset_remove_component" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalfileset_remove_component" "', argument " "2"" of type '" "icalcomponent *""'"); 
  }
  arg2 = (icalcomponent *)(argp2);
  result = (icalerrorenum)icalfileset_remove_component(arg1,arg2);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalfileset_count_components(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  icalcomponent_kind arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalfileset_count_components",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalfileset_count_components" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalfileset_count_components" "', argument " "2"" of type '" "icalcomponent_kind""'");
  } 
  arg2 = (icalcomponent_kind)(val2);
  result = (int)icalfileset_count_components(arg1,arg2);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalfileset_select(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  icalgauge *arg2 = (icalgauge *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  icalerrorenum result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalfileset_select",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalfileset_select" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icalgauge_impl, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalfileset_select" "', argument " "2"" of type '" "icalgauge *""'"); 
  }
  arg2 = (icalgauge *)(argp2);
  result = (icalerrorenum)icalfileset_select(arg1,arg2);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalfileset_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalfileset_clear",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalfileset_clear" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  icalfileset_clear(arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalfileset_fetch(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 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 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalfileset_fetch",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalfileset_fetch" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalfileset_fetch" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  result = (icalcomponent *)icalfileset_fetch(arg1,(char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalfileset_has_uid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 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 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalfileset_has_uid",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalfileset_has_uid" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalfileset_has_uid" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  result = (int)icalfileset_has_uid(arg1,(char const *)arg2);
  resultobj = SWIG_From_int((int)(result));
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalfileset_fetch_match(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  icalcomponent *arg2 = (icalcomponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalfileset_fetch_match",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalfileset_fetch_match" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalfileset_fetch_match" "', argument " "2"" of type '" "icalcomponent *""'"); 
  }
  arg2 = (icalcomponent *)(argp2);
  result = (icalcomponent *)icalfileset_fetch_match(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalfileset_modify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  icalcomponent *arg2 = (icalcomponent *) 0 ;
  icalcomponent *arg3 = (icalcomponent *) 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 ;
  icalerrorenum result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:icalfileset_modify",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalfileset_modify" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalfileset_modify" "', argument " "2"" of type '" "icalcomponent *""'"); 
  }
  arg2 = (icalcomponent *)(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "icalfileset_modify" "', argument " "3"" of type '" "icalcomponent *""'"); 
  }
  arg3 = (icalcomponent *)(argp3);
  result = (icalerrorenum)icalfileset_modify(arg1,arg2,arg3);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalfileset_get_current_component(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalfileset_get_current_component",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalfileset_get_current_component" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  result = (icalcomponent *)icalfileset_get_current_component(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalfileset_get_first_component(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalfileset_get_first_component",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalfileset_get_first_component" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  result = (icalcomponent *)icalfileset_get_first_component(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalfileset_get_next_component(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalfileset_get_next_component",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalfileset_get_next_component" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  result = (icalcomponent *)icalfileset_get_next_component(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalfileset_begin_component(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  icalcomponent_kind arg2 ;
  icalgauge *arg3 = (icalgauge *) 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 ;
  icalsetiter result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:icalfileset_begin_component",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalfileset_begin_component" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalfileset_begin_component" "', argument " "2"" of type '" "icalcomponent_kind""'");
  } 
  arg2 = (icalcomponent_kind)(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_icalgauge_impl, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "icalfileset_begin_component" "', argument " "3"" of type '" "icalgauge *""'"); 
  }
  arg3 = (icalgauge *)(argp3);
  result = icalfileset_begin_component(arg1,arg2,arg3);
  resultobj = SWIG_NewPointerObj((icalsetiter *)memcpy((icalsetiter *)malloc(sizeof(icalsetiter)),&result,sizeof(icalsetiter)), SWIGTYPE_p_icalsetiter, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalfilesetiter_to_next(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  icalsetiter *arg2 = (icalsetiter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalfilesetiter_to_next",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalfilesetiter_to_next" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icalsetiter, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalfilesetiter_to_next" "', argument " "2"" of type '" "icalsetiter *""'"); 
  }
  arg2 = (icalsetiter *)(argp2);
  result = (icalcomponent *)icalfilesetiter_to_next(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalfileset_form_a_matched_recurrence_component(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalsetiter *arg1 = (icalsetiter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalfileset_form_a_matched_recurrence_component",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalsetiter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalfileset_form_a_matched_recurrence_component" "', argument " "1"" of type '" "icalsetiter *""'"); 
  }
  arg1 = (icalsetiter *)(argp1);
  result = (icalcomponent *)icalfileset_form_a_matched_recurrence_component(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalfileset_get_component(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalfileset_get_component",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalfileset_get_component" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  result = (icalcomponent *)icalfileset_get_component(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalfileset_options_flags_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalfileset_options *arg1 = (icalfileset_options *) 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:icalfileset_options_flags_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalfileset_options, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalfileset_options_flags_set" "', argument " "1"" of type '" "icalfileset_options *""'"); 
  }
  arg1 = (icalfileset_options *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalfileset_options_flags_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  if (arg1) (arg1)->flags = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalfileset_options_flags_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalfileset_options *arg1 = (icalfileset_options *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalfileset_options_flags_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalfileset_options, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalfileset_options_flags_get" "', argument " "1"" of type '" "icalfileset_options *""'"); 
  }
  arg1 = (icalfileset_options *)(argp1);
  result = (int) ((arg1)->flags);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalfileset_options_mode_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalfileset_options *arg1 = (icalfileset_options *) 0 ;
  mode_t arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalfileset_options_mode_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalfileset_options, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalfileset_options_mode_set" "', argument " "1"" of type '" "icalfileset_options *""'"); 
  }
  arg1 = (icalfileset_options *)(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_mode_t,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalfileset_options_mode_set" "', argument " "2"" of type '" "mode_t""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalfileset_options_mode_set" "', argument " "2"" of type '" "mode_t""'");
    } else {
      arg2 = *((mode_t *)(argp2));
    }
  }
  if (arg1) (arg1)->mode = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalfileset_options_mode_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalfileset_options *arg1 = (icalfileset_options *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  mode_t result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalfileset_options_mode_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalfileset_options, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalfileset_options_mode_get" "', argument " "1"" of type '" "icalfileset_options *""'"); 
  }
  arg1 = (icalfileset_options *)(argp1);
  result =  ((arg1)->mode);
  resultobj = SWIG_NewPointerObj((mode_t *)memcpy((mode_t *)malloc(sizeof(mode_t)),&result,sizeof(mode_t)), SWIGTYPE_p_mode_t, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalfileset_options_safe_saves_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalfileset_options *arg1 = (icalfileset_options *) 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:icalfileset_options_safe_saves_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalfileset_options, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalfileset_options_safe_saves_set" "', argument " "1"" of type '" "icalfileset_options *""'"); 
  }
  arg1 = (icalfileset_options *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalfileset_options_safe_saves_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  if (arg1) (arg1)->safe_saves = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalfileset_options_safe_saves_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalfileset_options *arg1 = (icalfileset_options *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalfileset_options_safe_saves_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalfileset_options, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalfileset_options_safe_saves_get" "', argument " "1"" of type '" "icalfileset_options *""'"); 
  }
  arg1 = (icalfileset_options *)(argp1);
  result = (int) ((arg1)->safe_saves);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalfileset_options_cluster_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalfileset_options *arg1 = (icalfileset_options *) 0 ;
  icalcluster *arg2 = (icalcluster *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalfileset_options_cluster_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalfileset_options, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalfileset_options_cluster_set" "', argument " "1"" of type '" "icalfileset_options *""'"); 
  }
  arg1 = (icalfileset_options *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icalcluster_impl, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalfileset_options_cluster_set" "', argument " "2"" of type '" "icalcluster *""'"); 
  }
  arg2 = (icalcluster *)(argp2);
  if (arg1) (arg1)->cluster = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalfileset_options_cluster_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalfileset_options *arg1 = (icalfileset_options *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalcluster *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalfileset_options_cluster_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalfileset_options, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalfileset_options_cluster_get" "', argument " "1"" of type '" "icalfileset_options *""'"); 
  }
  arg1 = (icalfileset_options *)(argp1);
  result = (icalcluster *) ((arg1)->cluster);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcluster_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_icalfileset_options(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalfileset_options *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_icalfileset_options")) SWIG_fail;
  result = (icalfileset_options *)calloc(1, sizeof(icalfileset_options));
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalfileset_options, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_icalfileset_options(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalfileset_options *arg1 = (icalfileset_options *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_icalfileset_options",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalfileset_options, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_icalfileset_options" "', argument " "1"" of type '" "icalfileset_options *""'"); 
  }
  arg1 = (icalfileset_options *)(argp1);
  free((char *) arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


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

SWIGINTERN int Swig_var_icalfileset_options_default_set(PyObject *_val) {
  {
    void *argp = 0;
    int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_icalfileset_options,  0 );
    if (!SWIG_IsOK(res)) {
      SWIG_exception_fail(SWIG_ArgError(res), "in variable '""icalfileset_options_default""' of type '""icalfileset_options""'");
    }
    if (!argp) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""icalfileset_options_default""' of type '""icalfileset_options""'");
    } else {
      icalfileset_options_default = *((icalfileset_options *)(argp));
    }
  }
  return 0;
fail:
  return 1;
}


SWIGINTERN PyObject *Swig_var_icalfileset_options_default_get(void) {
  PyObject *pyobj = 0;
  
  pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&icalfileset_options_default), SWIGTYPE_p_icalfileset_options,  0 );
  return pyobj;
}


SWIGINTERN PyObject *_wrap_icaldirset_new(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalset *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaldirset_new",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaldirset_new" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalset *)icaldirset_new((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaldirset_new_reader(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalset *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaldirset_new_reader",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaldirset_new_reader" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalset *)icaldirset_new_reader((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaldirset_new_writer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalset *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaldirset_new_writer",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaldirset_new_writer" "', argument " "1"" of type '" "char const *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalset *)icaldirset_new_writer((char const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaldirset_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  char *arg2 = (char *) 0 ;
  void *arg3 = (void *) 0 ;
  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 ;
  icalset *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:icaldirset_init",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaldirset_init" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icaldirset_init" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "icaldirset_init" "', argument " "3"" of type '" "void *""'"); 
  }
  result = (icalset *)icaldirset_init(arg1,(char const *)arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaldirset_free(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaldirset_free",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaldirset_free" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  icaldirset_free(arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaldirset_path(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  char *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaldirset_path",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaldirset_path" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  result = (char *)icaldirset_path(arg1);
  resultobj = SWIG_FromCharPtr((const char *)result);
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaldirset_mark(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaldirset_mark",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaldirset_mark" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  icaldirset_mark(arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaldirset_commit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalerrorenum result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaldirset_commit",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaldirset_commit" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  result = (icalerrorenum)icaldirset_commit(arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaldirset_add_component(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  icalcomponent *arg2 = (icalcomponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  icalerrorenum result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icaldirset_add_component",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaldirset_add_component" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icaldirset_add_component" "', argument " "2"" of type '" "icalcomponent *""'"); 
  }
  arg2 = (icalcomponent *)(argp2);
  result = (icalerrorenum)icaldirset_add_component(arg1,arg2);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaldirset_remove_component(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  icalcomponent *arg2 = (icalcomponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  icalerrorenum result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icaldirset_remove_component",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaldirset_remove_component" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icaldirset_remove_component" "', argument " "2"" of type '" "icalcomponent *""'"); 
  }
  arg2 = (icalcomponent *)(argp2);
  result = (icalerrorenum)icaldirset_remove_component(arg1,arg2);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaldirset_count_components(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  icalcomponent_kind arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icaldirset_count_components",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaldirset_count_components" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icaldirset_count_components" "', argument " "2"" of type '" "icalcomponent_kind""'");
  } 
  arg2 = (icalcomponent_kind)(val2);
  result = (int)icaldirset_count_components(arg1,arg2);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaldirset_select(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  icalgauge *arg2 = (icalgauge *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  icalerrorenum result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icaldirset_select",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaldirset_select" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icalgauge_impl, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icaldirset_select" "', argument " "2"" of type '" "icalgauge *""'"); 
  }
  arg2 = (icalgauge *)(argp2);
  result = (icalerrorenum)icaldirset_select(arg1,arg2);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaldirset_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaldirset_clear",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaldirset_clear" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  icaldirset_clear(arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaldirset_fetch(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 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 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icaldirset_fetch",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaldirset_fetch" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icaldirset_fetch" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  result = (icalcomponent *)icaldirset_fetch(arg1,(char const *)arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaldirset_has_uid(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 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 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icaldirset_has_uid",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaldirset_has_uid" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icaldirset_has_uid" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  result = (int)icaldirset_has_uid(arg1,(char const *)arg2);
  resultobj = SWIG_From_int((int)(result));
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaldirset_fetch_match(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  icalcomponent *arg2 = (icalcomponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icaldirset_fetch_match",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaldirset_fetch_match" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icaldirset_fetch_match" "', argument " "2"" of type '" "icalcomponent *""'"); 
  }
  arg2 = (icalcomponent *)(argp2);
  result = (icalcomponent *)icaldirset_fetch_match(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaldirset_modify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  icalcomponent *arg2 = (icalcomponent *) 0 ;
  icalcomponent *arg3 = (icalcomponent *) 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 ;
  icalerrorenum result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:icaldirset_modify",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaldirset_modify" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icaldirset_modify" "', argument " "2"" of type '" "icalcomponent *""'"); 
  }
  arg2 = (icalcomponent *)(argp2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "icaldirset_modify" "', argument " "3"" of type '" "icalcomponent *""'"); 
  }
  arg3 = (icalcomponent *)(argp3);
  result = (icalerrorenum)icaldirset_modify(arg1,arg2,arg3);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaldirset_get_current_component(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaldirset_get_current_component",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaldirset_get_current_component" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  result = (icalcomponent *)icaldirset_get_current_component(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaldirset_get_first_component(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaldirset_get_first_component",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaldirset_get_first_component" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  result = (icalcomponent *)icaldirset_get_first_component(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaldirset_get_next_component(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaldirset_get_next_component",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaldirset_get_next_component" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  result = (icalcomponent *)icaldirset_get_next_component(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaldirset_begin_component(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  icalcomponent_kind arg2 ;
  icalgauge *arg3 = (icalgauge *) 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 ;
  icalsetiter result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:icaldirset_begin_component",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaldirset_begin_component" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icaldirset_begin_component" "', argument " "2"" of type '" "icalcomponent_kind""'");
  } 
  arg2 = (icalcomponent_kind)(val2);
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_icalgauge_impl, 0 |  0 );
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "icaldirset_begin_component" "', argument " "3"" of type '" "icalgauge *""'"); 
  }
  arg3 = (icalgauge *)(argp3);
  result = icaldirset_begin_component(arg1,arg2,arg3);
  resultobj = SWIG_NewPointerObj((icalsetiter *)memcpy((icalsetiter *)malloc(sizeof(icalsetiter)),&result,sizeof(icalsetiter)), SWIGTYPE_p_icalsetiter, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaldirsetiter_to_next(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  icalsetiter *arg2 = (icalsetiter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icaldirsetiter_to_next",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaldirsetiter_to_next" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icalsetiter, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icaldirsetiter_to_next" "', argument " "2"" of type '" "icalsetiter *""'"); 
  }
  arg2 = (icalsetiter *)(argp2);
  result = (icalcomponent *)icaldirsetiter_to_next(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaldirsetiter_to_prior(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  icalsetiter *arg2 = (icalsetiter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icaldirsetiter_to_prior",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaldirsetiter_to_prior" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icalsetiter, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icaldirsetiter_to_prior" "', argument " "2"" of type '" "icalsetiter *""'"); 
  }
  arg2 = (icalsetiter *)(argp2);
  result = (icalcomponent *)icaldirsetiter_to_prior(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaldirset_options_flags_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icaldirset_options *arg1 = (icaldirset_options *) 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:icaldirset_options_flags_set",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaldirset_options, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaldirset_options_flags_set" "', argument " "1"" of type '" "icaldirset_options *""'"); 
  }
  arg1 = (icaldirset_options *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icaldirset_options_flags_set" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  if (arg1) (arg1)->flags = arg2;
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icaldirset_options_flags_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icaldirset_options *arg1 = (icaldirset_options *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icaldirset_options_flags_get",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaldirset_options, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icaldirset_options_flags_get" "', argument " "1"" of type '" "icaldirset_options *""'"); 
  }
  arg1 = (icaldirset_options *)(argp1);
  result = (int) ((arg1)->flags);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_new_icaldirset_options(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icaldirset_options *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)":new_icaldirset_options")) SWIG_fail;
  result = (icaldirset_options *)calloc(1, sizeof(icaldirset_options));
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icaldirset_options, SWIG_POINTER_NEW |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_delete_icaldirset_options(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icaldirset_options *arg1 = (icaldirset_options *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:delete_icaldirset_options",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icaldirset_options, SWIG_POINTER_DISOWN |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_icaldirset_options" "', argument " "1"" of type '" "icaldirset_options *""'"); 
  }
  arg1 = (icaldirset_options *)(argp1);
  free((char *) arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


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

SWIGINTERN PyObject *_wrap_icalcalendar_new(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  char *arg1 = (char *) 0 ;
  int res1 ;
  char *buf1 = 0 ;
  int alloc1 = 0 ;
  PyObject * obj0 = 0 ;
  icalcalendar *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcalendar_new",&obj0)) SWIG_fail;
  res1 = SWIG_AsCharPtrAndSize(obj0, &buf1, NULL, &alloc1);
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcalendar_new" "', argument " "1"" of type '" "char *""'");
  }
  arg1 = (char *)(buf1);
  result = (icalcalendar *)icalcalendar_new(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcalendar_impl, 0 |  0 );
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return resultobj;
fail:
  if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcalendar_free(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcalendar *arg1 = (icalcalendar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcalendar_free",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcalendar_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcalendar_free" "', argument " "1"" of type '" "icalcalendar *""'"); 
  }
  arg1 = (icalcalendar *)(argp1);
  icalcalendar_free(arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcalendar_lock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcalendar *arg1 = (icalcalendar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcalendar_lock",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcalendar_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcalendar_lock" "', argument " "1"" of type '" "icalcalendar *""'"); 
  }
  arg1 = (icalcalendar *)(argp1);
  result = (int)icalcalendar_lock(arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcalendar_unlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcalendar *arg1 = (icalcalendar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcalendar_unlock",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcalendar_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcalendar_unlock" "', argument " "1"" of type '" "icalcalendar *""'"); 
  }
  arg1 = (icalcalendar *)(argp1);
  result = (int)icalcalendar_unlock(arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcalendar_islocked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcalendar *arg1 = (icalcalendar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcalendar_islocked",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcalendar_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcalendar_islocked" "', argument " "1"" of type '" "icalcalendar *""'"); 
  }
  arg1 = (icalcalendar *)(argp1);
  result = (int)icalcalendar_islocked(arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcalendar_ownlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcalendar *arg1 = (icalcalendar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  int result;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcalendar_ownlock",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcalendar_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcalendar_ownlock" "', argument " "1"" of type '" "icalcalendar *""'"); 
  }
  arg1 = (icalcalendar *)(argp1);
  result = (int)icalcalendar_ownlock(arg1);
  resultobj = SWIG_From_int((int)(result));
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcalendar_get_booked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcalendar *arg1 = (icalcalendar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalset *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcalendar_get_booked",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcalendar_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcalendar_get_booked" "', argument " "1"" of type '" "icalcalendar *""'"); 
  }
  arg1 = (icalcalendar *)(argp1);
  result = (icalset *)icalcalendar_get_booked(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalset_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcalendar_get_incoming(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcalendar *arg1 = (icalcalendar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalset *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcalendar_get_incoming",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcalendar_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcalendar_get_incoming" "', argument " "1"" of type '" "icalcalendar *""'"); 
  }
  arg1 = (icalcalendar *)(argp1);
  result = (icalset *)icalcalendar_get_incoming(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalset_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcalendar_get_properties(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcalendar *arg1 = (icalcalendar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalset *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcalendar_get_properties",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcalendar_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcalendar_get_properties" "', argument " "1"" of type '" "icalcalendar *""'"); 
  }
  arg1 = (icalcalendar *)(argp1);
  result = (icalset *)icalcalendar_get_properties(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalset_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalcalendar_get_freebusy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcalendar *arg1 = (icalcalendar *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalset *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalcalendar_get_freebusy",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcalendar_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalcalendar_get_freebusy" "', argument " "1"" of type '" "icalcalendar *""'"); 
  }
  arg1 = (icalcalendar *)(argp1);
  result = (icalset *)icalcalendar_get_freebusy(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalset_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalclassify(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  icalcomponent *arg2 = (icalcomponent *) 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 ;
  icalproperty_xlicclass result;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:icalclassify",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalclassify" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalclassify" "', argument " "2"" of type '" "icalcomponent *""'"); 
  }
  arg2 = (icalcomponent *)(argp2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "icalclassify" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = (char *)(buf3);
  result = (icalproperty_xlicclass)icalclassify(arg1,arg2,(char const *)arg3);
  resultobj = SWIG_From_int((int)(result));
  if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalclassify_find_overlaps(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  icalcomponent *arg2 = (icalcomponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalclassify_find_overlaps",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalclassify_find_overlaps" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalclassify_find_overlaps" "', argument " "2"" of type '" "icalcomponent *""'"); 
  }
  arg2 = (icalcomponent *)(argp2);
  result = (icalcomponent *)icalclassify_find_overlaps(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalspanlist_new(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalset *arg1 = (icalset *) 0 ;
  struct icaltimetype arg2 ;
  struct icaltimetype 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 ;
  icalspanlist *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:icalspanlist_new",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalset_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalspanlist_new" "', argument " "1"" of type '" "icalset *""'"); 
  }
  arg1 = (icalset *)(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalspanlist_new" "', argument " "2"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalspanlist_new" "', argument " "2"" of type '" "struct icaltimetype""'");
    } else {
      arg2 = *((struct icaltimetype *)(argp2));
    }
  }
  {
    res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res3)) {
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "icalspanlist_new" "', argument " "3"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp3) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalspanlist_new" "', argument " "3"" of type '" "struct icaltimetype""'");
    } else {
      arg3 = *((struct icaltimetype *)(argp3));
    }
  }
  result = (icalspanlist *)icalspanlist_new(arg1,arg2,arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalspanlist_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalspanlist_free(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalspanlist *arg1 = (icalspanlist *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalspanlist_free",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalspanlist_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalspanlist_free" "', argument " "1"" of type '" "icalspanlist *""'"); 
  }
  arg1 = (icalspanlist *)(argp1);
  icalspanlist_free(arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalspanlist_next_free_time(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalspanlist *arg1 = (icalspanlist *) 0 ;
  struct icaltimetype arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  struct icalperiodtype result;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalspanlist_next_free_time",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalspanlist_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalspanlist_next_free_time" "', argument " "1"" of type '" "icalspanlist *""'"); 
  }
  arg1 = (icalspanlist *)(argp1);
  {
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_icaltimetype,  0 );
    if (!SWIG_IsOK(res2)) {
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalspanlist_next_free_time" "', argument " "2"" of type '" "struct icaltimetype""'"); 
    }  
    if (!argp2) {
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "icalspanlist_next_free_time" "', argument " "2"" of type '" "struct icaltimetype""'");
    } else {
      arg2 = *((struct icaltimetype *)(argp2));
    }
  }
  result = icalspanlist_next_free_time(arg1,arg2);
  resultobj = SWIG_NewPointerObj((struct icalperiodtype *)memcpy((struct icalperiodtype *)malloc(sizeof(struct icalperiodtype)),&result,sizeof(struct icalperiodtype)), SWIGTYPE_p_icalperiodtype, SWIG_POINTER_OWN |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalspanlist_dump(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalspanlist *arg1 = (icalspanlist *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalspanlist_dump",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalspanlist_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalspanlist_dump" "', argument " "1"" of type '" "icalspanlist *""'"); 
  }
  arg1 = (icalspanlist *)(argp1);
  icalspanlist_dump(arg1);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalspanlist_as_vfreebusy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalspanlist *arg1 = (icalspanlist *) 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 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:icalspanlist_as_vfreebusy",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalspanlist_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalspanlist_as_vfreebusy" "', argument " "1"" of type '" "icalspanlist *""'"); 
  }
  arg1 = (icalspanlist *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalspanlist_as_vfreebusy" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "icalspanlist_as_vfreebusy" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = (char *)(buf3);
  result = (icalcomponent *)icalspanlist_as_vfreebusy(arg1,(char const *)arg2,(char const *)arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalspanlist_as_freebusy_matrix(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalspanlist *arg1 = (icalspanlist *) 0 ;
  int arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  int val2 ;
  int ecode2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  int *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalspanlist_as_freebusy_matrix",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalspanlist_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalspanlist_as_freebusy_matrix" "', argument " "1"" of type '" "icalspanlist *""'"); 
  }
  arg1 = (icalspanlist *)(argp1);
  ecode2 = SWIG_AsVal_int(obj1, &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "icalspanlist_as_freebusy_matrix" "', argument " "2"" of type '" "int""'");
  } 
  arg2 = (int)(val2);
  result = (int *)icalspanlist_as_freebusy_matrix(arg1,arg2);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalspanlist_from_vfreebusy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalspanlist *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalspanlist_from_vfreebusy",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalspanlist_from_vfreebusy" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  result = (icalspanlist *)icalspanlist_from_vfreebusy(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalspanlist_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalmessage_new_accept_reply(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 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 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:icalmessage_new_accept_reply",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalmessage_new_accept_reply" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalmessage_new_accept_reply" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "icalmessage_new_accept_reply" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = (char *)(buf3);
  result = (icalcomponent *)icalmessage_new_accept_reply(arg1,(char const *)arg2,(char const *)arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalmessage_new_decline_reply(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 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 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOO:icalmessage_new_decline_reply",&obj0,&obj1,&obj2)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalmessage_new_decline_reply" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalmessage_new_decline_reply" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "icalmessage_new_decline_reply" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = (char *)(buf3);
  result = (icalcomponent *)icalmessage_new_decline_reply(arg1,(char const *)arg2,(char const *)arg3);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalmessage_new_counterpropose_reply(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  icalcomponent *arg2 = (icalcomponent *) 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 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:icalmessage_new_counterpropose_reply",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalmessage_new_counterpropose_reply" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalmessage_new_counterpropose_reply" "', argument " "2"" of type '" "icalcomponent *""'"); 
  }
  arg2 = (icalcomponent *)(argp2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "icalmessage_new_counterpropose_reply" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = (char *)(buf3);
  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "icalmessage_new_counterpropose_reply" "', argument " "4"" of type '" "char const *""'");
  }
  arg4 = (char *)(buf4);
  result = (icalcomponent *)icalmessage_new_counterpropose_reply(arg1,arg2,(char const *)arg3,(char const *)arg4);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
  if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
  return resultobj;
fail:
  if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
  if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalmessage_new_delegate_reply(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  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 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOO:icalmessage_new_delegate_reply",&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalmessage_new_delegate_reply" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalmessage_new_delegate_reply" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "icalmessage_new_delegate_reply" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = (char *)(buf3);
  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "icalmessage_new_delegate_reply" "', argument " "4"" of type '" "char const *""'");
  }
  arg4 = (char *)(buf4);
  result = (icalcomponent *)icalmessage_new_delegate_reply(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
  if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
  if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalmessage_new_error_reply(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalcomponent *arg1 = (icalcomponent *) 0 ;
  char *arg2 = (char *) 0 ;
  char *arg3 = (char *) 0 ;
  char *arg4 = (char *) 0 ;
  icalrequeststatus arg5 ;
  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 val5 ;
  int ecode5 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  PyObject * obj2 = 0 ;
  PyObject * obj3 = 0 ;
  PyObject * obj4 = 0 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OOOOO:icalmessage_new_error_reply",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalmessage_new_error_reply" "', argument " "1"" of type '" "icalcomponent *""'"); 
  }
  arg1 = (icalcomponent *)(argp1);
  res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2);
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalmessage_new_error_reply" "', argument " "2"" of type '" "char const *""'");
  }
  arg2 = (char *)(buf2);
  res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3);
  if (!SWIG_IsOK(res3)) {
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "icalmessage_new_error_reply" "', argument " "3"" of type '" "char const *""'");
  }
  arg3 = (char *)(buf3);
  res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4);
  if (!SWIG_IsOK(res4)) {
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "icalmessage_new_error_reply" "', argument " "4"" of type '" "char const *""'");
  }
  arg4 = (char *)(buf4);
  ecode5 = SWIG_AsVal_int(obj4, &val5);
  if (!SWIG_IsOK(ecode5)) {
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "icalmessage_new_error_reply" "', argument " "5"" of type '" "icalrequeststatus""'");
  } 
  arg5 = (icalrequeststatus)(val5);
  result = (icalcomponent *)icalmessage_new_error_reply(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4,arg5);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
  if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
  return resultobj;
fail:
  if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
  if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
  if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_set_parent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  icalcomponent *arg2 = (icalcomponent *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalproperty_set_parent",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_set_parent" "', argument " "1"" of type '" "icalproperty *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalproperty_set_parent" "', argument " "2"" of type '" "icalcomponent *""'"); 
  }
  arg2 = (icalcomponent *)(argp2);
  icalproperty_set_parent(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalproperty_get_parent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalproperty *arg1 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalcomponent *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalproperty_get_parent",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalproperty_get_parent" "', argument " "1"" of type '" "icalproperty const *""'"); 
  }
  arg1 = (icalproperty *)(argp1);
  result = (icalcomponent *)icalproperty_get_parent((struct icalproperty_impl const *)arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalcomponent_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_set_parent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  icalproperty *arg2 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalvalue_set_parent",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_set_parent" "', argument " "1"" of type '" "icalvalue *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalvalue_set_parent" "', argument " "2"" of type '" "icalproperty *""'"); 
  }
  arg2 = (icalproperty *)(argp2);
  icalvalue_set_parent(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalvalue_get_parent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalvalue *arg1 = (icalvalue *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalvalue_get_parent",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalvalue_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalvalue_get_parent" "', argument " "1"" of type '" "icalvalue *""'"); 
  }
  arg1 = (icalvalue *)(argp1);
  result = (icalproperty *)icalvalue_get_parent(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_set_parent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  icalproperty *arg2 = (icalproperty *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  void *argp2 = 0 ;
  int res2 = 0 ;
  PyObject * obj0 = 0 ;
  PyObject * obj1 = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"OO:icalparameter_set_parent",&obj0,&obj1)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_set_parent" "', argument " "1"" of type '" "icalparameter *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  if (!SWIG_IsOK(res2)) {
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "icalparameter_set_parent" "', argument " "2"" of type '" "icalproperty *""'"); 
  }
  arg2 = (icalproperty *)(argp2);
  icalparameter_set_parent(arg1,arg2);
  resultobj = SWIG_Py_Void();
  return resultobj;
fail:
  return NULL;
}


SWIGINTERN PyObject *_wrap_icalparameter_get_parent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
  PyObject *resultobj = 0;
  icalparameter *arg1 = (icalparameter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  PyObject * obj0 = 0 ;
  icalproperty *result = 0 ;
  
  if (!PyArg_ParseTuple(args,(char *)"O:icalparameter_get_parent",&obj0)) SWIG_fail;
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_icalparameter_impl, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "icalparameter_get_parent" "', argument " "1"" of type '" "icalparameter *""'"); 
  }
  arg1 = (icalparameter *)(argp1);
  result = (icalproperty *)icalparameter_get_parent(arg1);
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_icalproperty_impl, 0 |  0 );
  return resultobj;
fail:
  return NULL;
}


static PyMethodDef SwigMethods[] = {
	 { (char *)"SWIG_PyInstanceMethod_New", (PyCFunction)SWIG_PyInstanceMethod_New, METH_O, NULL},
	 { (char *)"icaltime_span_start_set", _wrap_icaltime_span_start_set, METH_VARARGS, (char *)"icaltime_span_start_set(struct icaltime_span self, time_t start)"},
	 { (char *)"icaltime_span_start_get", _wrap_icaltime_span_start_get, METH_VARARGS, (char *)"icaltime_span_start_get(struct icaltime_span self) -> time_t"},
	 { (char *)"icaltime_span_end_set", _wrap_icaltime_span_end_set, METH_VARARGS, (char *)"icaltime_span_end_set(struct icaltime_span self, time_t end)"},
	 { (char *)"icaltime_span_end_get", _wrap_icaltime_span_end_get, METH_VARARGS, (char *)"icaltime_span_end_get(struct icaltime_span self) -> time_t"},
	 { (char *)"icaltime_span_is_busy_set", _wrap_icaltime_span_is_busy_set, METH_VARARGS, (char *)"icaltime_span_is_busy_set(struct icaltime_span self, int is_busy)"},
	 { (char *)"icaltime_span_is_busy_get", _wrap_icaltime_span_is_busy_get, METH_VARARGS, (char *)"icaltime_span_is_busy_get(struct icaltime_span self) -> int"},
	 { (char *)"new_icaltime_span", _wrap_new_icaltime_span, METH_VARARGS, (char *)"new_icaltime_span() -> struct icaltime_span"},
	 { (char *)"delete_icaltime_span", _wrap_delete_icaltime_span, METH_VARARGS, (char *)"delete_icaltime_span(struct icaltime_span self)"},
	 { (char *)"icaltime_span_swigregister", icaltime_span_swigregister, METH_VARARGS, NULL},
	 { (char *)"icaltimetype_year_set", _wrap_icaltimetype_year_set, METH_VARARGS, (char *)"icaltimetype_year_set(struct icaltimetype self, int year)"},
	 { (char *)"icaltimetype_year_get", _wrap_icaltimetype_year_get, METH_VARARGS, (char *)"icaltimetype_year_get(struct icaltimetype self) -> int"},
	 { (char *)"icaltimetype_month_set", _wrap_icaltimetype_month_set, METH_VARARGS, (char *)"icaltimetype_month_set(struct icaltimetype self, int month)"},
	 { (char *)"icaltimetype_month_get", _wrap_icaltimetype_month_get, METH_VARARGS, (char *)"icaltimetype_month_get(struct icaltimetype self) -> int"},
	 { (char *)"icaltimetype_day_set", _wrap_icaltimetype_day_set, METH_VARARGS, (char *)"icaltimetype_day_set(struct icaltimetype self, int day)"},
	 { (char *)"icaltimetype_day_get", _wrap_icaltimetype_day_get, METH_VARARGS, (char *)"icaltimetype_day_get(struct icaltimetype self) -> int"},
	 { (char *)"icaltimetype_hour_set", _wrap_icaltimetype_hour_set, METH_VARARGS, (char *)"icaltimetype_hour_set(struct icaltimetype self, int hour)"},
	 { (char *)"icaltimetype_hour_get", _wrap_icaltimetype_hour_get, METH_VARARGS, (char *)"icaltimetype_hour_get(struct icaltimetype self) -> int"},
	 { (char *)"icaltimetype_minute_set", _wrap_icaltimetype_minute_set, METH_VARARGS, (char *)"icaltimetype_minute_set(struct icaltimetype self, int minute)"},
	 { (char *)"icaltimetype_minute_get", _wrap_icaltimetype_minute_get, METH_VARARGS, (char *)"icaltimetype_minute_get(struct icaltimetype self) -> int"},
	 { (char *)"icaltimetype_second_set", _wrap_icaltimetype_second_set, METH_VARARGS, (char *)"icaltimetype_second_set(struct icaltimetype self, int second)"},
	 { (char *)"icaltimetype_second_get", _wrap_icaltimetype_second_get, METH_VARARGS, (char *)"icaltimetype_second_get(struct icaltimetype self) -> int"},
	 { (char *)"icaltimetype_is_utc_set", _wrap_icaltimetype_is_utc_set, METH_VARARGS, (char *)"icaltimetype_is_utc_set(struct icaltimetype self, int is_utc)"},
	 { (char *)"icaltimetype_is_utc_get", _wrap_icaltimetype_is_utc_get, METH_VARARGS, (char *)"icaltimetype_is_utc_get(struct icaltimetype self) -> int"},
	 { (char *)"icaltimetype_is_date_set", _wrap_icaltimetype_is_date_set, METH_VARARGS, (char *)"icaltimetype_is_date_set(struct icaltimetype self, int is_date)"},
	 { (char *)"icaltimetype_is_date_get", _wrap_icaltimetype_is_date_get, METH_VARARGS, (char *)"icaltimetype_is_date_get(struct icaltimetype self) -> int"},
	 { (char *)"icaltimetype_is_daylight_set", _wrap_icaltimetype_is_daylight_set, METH_VARARGS, (char *)"icaltimetype_is_daylight_set(struct icaltimetype self, int is_daylight)"},
	 { (char *)"icaltimetype_is_daylight_get", _wrap_icaltimetype_is_daylight_get, METH_VARARGS, (char *)"icaltimetype_is_daylight_get(struct icaltimetype self) -> int"},
	 { (char *)"icaltimetype_zone_set", _wrap_icaltimetype_zone_set, METH_VARARGS, (char *)"icaltimetype_zone_set(struct icaltimetype self, icaltimezone zone)"},
	 { (char *)"icaltimetype_zone_get", _wrap_icaltimetype_zone_get, METH_VARARGS, (char *)"icaltimetype_zone_get(struct icaltimetype self) -> icaltimezone"},
	 { (char *)"icaltimetype_as_timet", _wrap_icaltimetype_as_timet, METH_VARARGS, (char *)"icaltimetype_as_timet(struct icaltimetype self, icaltimezone zone = None) -> time_t"},
	 { (char *)"icaltimetype_from_timet", _wrap_icaltimetype_from_timet, METH_VARARGS, (char *)"icaltimetype_from_timet(time_t tm, int is_date = 0, icaltimezone zone = None) -> struct icaltimetype"},
	 { (char *)"new_icaltimetype", _wrap_new_icaltimetype, METH_VARARGS, (char *)"new_icaltimetype() -> struct icaltimetype"},
	 { (char *)"delete_icaltimetype", _wrap_delete_icaltimetype, METH_VARARGS, (char *)"delete_icaltimetype(struct icaltimetype self)"},
	 { (char *)"icaltimetype_swigregister", icaltimetype_swigregister, METH_VARARGS, NULL},
	 { (char *)"icaltime_null_time", _wrap_icaltime_null_time, METH_VARARGS, (char *)"icaltime_null_time() -> struct icaltimetype"},
	 { (char *)"icaltime_null_date", _wrap_icaltime_null_date, METH_VARARGS, (char *)"icaltime_null_date() -> struct icaltimetype"},
	 { (char *)"icaltime_current_time_with_zone", _wrap_icaltime_current_time_with_zone, METH_VARARGS, (char *)"icaltime_current_time_with_zone(icaltimezone zone) -> struct icaltimetype"},
	 { (char *)"icaltime_today", _wrap_icaltime_today, METH_VARARGS, (char *)"icaltime_today() -> struct icaltimetype"},
	 { (char *)"icaltime_from_timet", _wrap_icaltime_from_timet, METH_VARARGS, (char *)"icaltime_from_timet(time_t v, int is_date) -> struct icaltimetype"},
	 { (char *)"icaltime_from_timet_with_zone", _wrap_icaltime_from_timet_with_zone, METH_VARARGS, (char *)"icaltime_from_timet_with_zone(time_t tm, int is_date, icaltimezone zone) -> struct icaltimetype"},
	 { (char *)"icaltime_from_string", _wrap_icaltime_from_string, METH_VARARGS, (char *)"icaltime_from_string(char str) -> struct icaltimetype"},
	 { (char *)"icaltime_from_day_of_year", _wrap_icaltime_from_day_of_year, METH_VARARGS, (char *)"icaltime_from_day_of_year(int doy, int year) -> struct icaltimetype"},
	 { (char *)"icaltime_as_timet", _wrap_icaltime_as_timet, METH_VARARGS, (char *)"icaltime_as_timet(struct icaltimetype arg0) -> time_t"},
	 { (char *)"icaltime_as_timet_with_zone", _wrap_icaltime_as_timet_with_zone, METH_VARARGS, (char *)"icaltime_as_timet_with_zone(struct icaltimetype tt, icaltimezone zone) -> time_t"},
	 { (char *)"icaltime_as_ical_string", _wrap_icaltime_as_ical_string, METH_VARARGS, (char *)"icaltime_as_ical_string(struct icaltimetype tt) -> char"},
	 { (char *)"icaltime_as_ical_string_r", _wrap_icaltime_as_ical_string_r, METH_VARARGS, (char *)"icaltime_as_ical_string_r(struct icaltimetype tt) -> char"},
	 { (char *)"icaltime_get_timezone", _wrap_icaltime_get_timezone, METH_VARARGS, (char *)"icaltime_get_timezone(struct icaltimetype t) -> icaltimezone"},
	 { (char *)"icaltime_get_tzid", _wrap_icaltime_get_tzid, METH_VARARGS, (char *)"icaltime_get_tzid(struct icaltimetype t) -> char"},
	 { (char *)"icaltime_set_timezone", _wrap_icaltime_set_timezone, METH_VARARGS, (char *)"icaltime_set_timezone(struct icaltimetype t, icaltimezone zone) -> struct icaltimetype"},
	 { (char *)"icaltime_day_of_year", _wrap_icaltime_day_of_year, METH_VARARGS, (char *)"icaltime_day_of_year(struct icaltimetype t) -> int"},
	 { (char *)"icaltime_day_of_week", _wrap_icaltime_day_of_week, METH_VARARGS, (char *)"icaltime_day_of_week(struct icaltimetype t) -> int"},
	 { (char *)"icaltime_start_doy_week", _wrap_icaltime_start_doy_week, METH_VARARGS, (char *)"icaltime_start_doy_week(struct icaltimetype t, int fdow) -> int"},
	 { (char *)"icaltime_week_number", _wrap_icaltime_week_number, METH_VARARGS, (char *)"icaltime_week_number(struct icaltimetype t) -> int"},
	 { (char *)"icaltime_is_null_time", _wrap_icaltime_is_null_time, METH_VARARGS, (char *)"icaltime_is_null_time(struct icaltimetype t) -> int"},
	 { (char *)"icaltime_is_valid_time", _wrap_icaltime_is_valid_time, METH_VARARGS, (char *)"icaltime_is_valid_time(struct icaltimetype t) -> int"},
	 { (char *)"icaltime_is_date", _wrap_icaltime_is_date, METH_VARARGS, (char *)"icaltime_is_date(struct icaltimetype t) -> int"},
	 { (char *)"icaltime_is_utc", _wrap_icaltime_is_utc, METH_VARARGS, (char *)"icaltime_is_utc(struct icaltimetype t) -> int"},
	 { (char *)"icaltime_compare", _wrap_icaltime_compare, METH_VARARGS, (char *)"icaltime_compare(struct icaltimetype a, struct icaltimetype b) -> int"},
	 { (char *)"icaltime_compare_date_only", _wrap_icaltime_compare_date_only, METH_VARARGS, (char *)"icaltime_compare_date_only(struct icaltimetype a, struct icaltimetype b) -> int"},
	 { (char *)"icaltime_compare_date_only_tz", _wrap_icaltime_compare_date_only_tz, METH_VARARGS, (char *)"icaltime_compare_date_only_tz(struct icaltimetype a, struct icaltimetype b, icaltimezone tz) -> int"},
	 { (char *)"icaltime_adjust", _wrap_icaltime_adjust, METH_VARARGS, (char *)"\n"
		"icaltime_adjust(struct icaltimetype tt, int days, int hours, int minutes, \n"
		"    int seconds)\n"
		""},
	 { (char *)"icaltime_normalize", _wrap_icaltime_normalize, METH_VARARGS, (char *)"icaltime_normalize(struct icaltimetype t) -> struct icaltimetype"},
	 { (char *)"icaltime_convert_to_zone", _wrap_icaltime_convert_to_zone, METH_VARARGS, (char *)"icaltime_convert_to_zone(struct icaltimetype tt, icaltimezone zone) -> struct icaltimetype"},
	 { (char *)"icaltime_days_in_month", _wrap_icaltime_days_in_month, METH_VARARGS, (char *)"icaltime_days_in_month(int month, int year) -> int"},
	 { (char *)"icaltime_is_leap_year", _wrap_icaltime_is_leap_year, METH_VARARGS, (char *)"icaltime_is_leap_year(int year) -> int"},
	 { (char *)"icaltime_span_new", _wrap_icaltime_span_new, METH_VARARGS, (char *)"\n"
		"icaltime_span_new(struct icaltimetype dtstart, struct icaltimetype dtend, \n"
		"    int is_busy) -> struct icaltime_span\n"
		""},
	 { (char *)"icaltime_span_overlaps", _wrap_icaltime_span_overlaps, METH_VARARGS, (char *)"icaltime_span_overlaps(icaltime_span s1, icaltime_span s2) -> int"},
	 { (char *)"icaltime_span_contains", _wrap_icaltime_span_contains, METH_VARARGS, (char *)"icaltime_span_contains(icaltime_span s, icaltime_span container) -> int"},
	 { (char *)"icaldurationtype_is_neg_set", _wrap_icaldurationtype_is_neg_set, METH_VARARGS, (char *)"icaldurationtype_is_neg_set(struct icaldurationtype self, int is_neg)"},
	 { (char *)"icaldurationtype_is_neg_get", _wrap_icaldurationtype_is_neg_get, METH_VARARGS, (char *)"icaldurationtype_is_neg_get(struct icaldurationtype self) -> int"},
	 { (char *)"icaldurationtype_days_set", _wrap_icaldurationtype_days_set, METH_VARARGS, (char *)"icaldurationtype_days_set(struct icaldurationtype self, unsigned int days)"},
	 { (char *)"icaldurationtype_days_get", _wrap_icaldurationtype_days_get, METH_VARARGS, (char *)"icaldurationtype_days_get(struct icaldurationtype self) -> unsigned int"},
	 { (char *)"icaldurationtype_weeks_set", _wrap_icaldurationtype_weeks_set, METH_VARARGS, (char *)"icaldurationtype_weeks_set(struct icaldurationtype self, unsigned int weeks)"},
	 { (char *)"icaldurationtype_weeks_get", _wrap_icaldurationtype_weeks_get, METH_VARARGS, (char *)"icaldurationtype_weeks_get(struct icaldurationtype self) -> unsigned int"},
	 { (char *)"icaldurationtype_hours_set", _wrap_icaldurationtype_hours_set, METH_VARARGS, (char *)"icaldurationtype_hours_set(struct icaldurationtype self, unsigned int hours)"},
	 { (char *)"icaldurationtype_hours_get", _wrap_icaldurationtype_hours_get, METH_VARARGS, (char *)"icaldurationtype_hours_get(struct icaldurationtype self) -> unsigned int"},
	 { (char *)"icaldurationtype_minutes_set", _wrap_icaldurationtype_minutes_set, METH_VARARGS, (char *)"icaldurationtype_minutes_set(struct icaldurationtype self, unsigned int minutes)"},
	 { (char *)"icaldurationtype_minutes_get", _wrap_icaldurationtype_minutes_get, METH_VARARGS, (char *)"icaldurationtype_minutes_get(struct icaldurationtype self) -> unsigned int"},
	 { (char *)"icaldurationtype_seconds_set", _wrap_icaldurationtype_seconds_set, METH_VARARGS, (char *)"icaldurationtype_seconds_set(struct icaldurationtype self, unsigned int seconds)"},
	 { (char *)"icaldurationtype_seconds_get", _wrap_icaldurationtype_seconds_get, METH_VARARGS, (char *)"icaldurationtype_seconds_get(struct icaldurationtype self) -> unsigned int"},
	 { (char *)"new_icaldurationtype", _wrap_new_icaldurationtype, METH_VARARGS, (char *)"new_icaldurationtype() -> struct icaldurationtype"},
	 { (char *)"delete_icaldurationtype", _wrap_delete_icaldurationtype, METH_VARARGS, (char *)"delete_icaldurationtype(struct icaldurationtype self)"},
	 { (char *)"icaldurationtype_swigregister", icaldurationtype_swigregister, METH_VARARGS, NULL},
	 { (char *)"icaldurationtype_from_int", _wrap_icaldurationtype_from_int, METH_VARARGS, (char *)"icaldurationtype_from_int(int t) -> struct icaldurationtype"},
	 { (char *)"icaldurationtype_from_string", _wrap_icaldurationtype_from_string, METH_VARARGS, (char *)"icaldurationtype_from_string(char arg0) -> struct icaldurationtype"},
	 { (char *)"icaldurationtype_as_int", _wrap_icaldurationtype_as_int, METH_VARARGS, (char *)"icaldurationtype_as_int(struct icaldurationtype duration) -> int"},
	 { (char *)"icaldurationtype_as_ical_string", _wrap_icaldurationtype_as_ical_string, METH_VARARGS, (char *)"icaldurationtype_as_ical_string(struct icaldurationtype d) -> char"},
	 { (char *)"icaldurationtype_as_ical_string_r", _wrap_icaldurationtype_as_ical_string_r, METH_VARARGS, (char *)"icaldurationtype_as_ical_string_r(struct icaldurationtype d) -> char"},
	 { (char *)"icaldurationtype_null_duration", _wrap_icaldurationtype_null_duration, METH_VARARGS, (char *)"icaldurationtype_null_duration() -> struct icaldurationtype"},
	 { (char *)"icaldurationtype_bad_duration", _wrap_icaldurationtype_bad_duration, METH_VARARGS, (char *)"icaldurationtype_bad_duration() -> struct icaldurationtype"},
	 { (char *)"icaldurationtype_is_null_duration", _wrap_icaldurationtype_is_null_duration, METH_VARARGS, (char *)"icaldurationtype_is_null_duration(struct icaldurationtype d) -> int"},
	 { (char *)"icaldurationtype_is_bad_duration", _wrap_icaldurationtype_is_bad_duration, METH_VARARGS, (char *)"icaldurationtype_is_bad_duration(struct icaldurationtype d) -> int"},
	 { (char *)"icaltime_add", _wrap_icaltime_add, METH_VARARGS, (char *)"icaltime_add(struct icaltimetype t, struct icaldurationtype d) -> struct icaltimetype"},
	 { (char *)"icaltime_subtract", _wrap_icaltime_subtract, METH_VARARGS, (char *)"icaltime_subtract(struct icaltimetype t1, struct icaltimetype t2) -> struct icaldurationtype"},
	 { (char *)"icalperiodtype_start_set", _wrap_icalperiodtype_start_set, METH_VARARGS, (char *)"icalperiodtype_start_set(struct icalperiodtype self, struct icaltimetype start)"},
	 { (char *)"icalperiodtype_start_get", _wrap_icalperiodtype_start_get, METH_VARARGS, (char *)"icalperiodtype_start_get(struct icalperiodtype self) -> struct icaltimetype"},
	 { (char *)"icalperiodtype_end_set", _wrap_icalperiodtype_end_set, METH_VARARGS, (char *)"icalperiodtype_end_set(struct icalperiodtype self, struct icaltimetype end)"},
	 { (char *)"icalperiodtype_end_get", _wrap_icalperiodtype_end_get, METH_VARARGS, (char *)"icalperiodtype_end_get(struct icalperiodtype self) -> struct icaltimetype"},
	 { (char *)"icalperiodtype_duration_set", _wrap_icalperiodtype_duration_set, METH_VARARGS, (char *)"icalperiodtype_duration_set(struct icalperiodtype self, struct icaldurationtype duration)"},
	 { (char *)"icalperiodtype_duration_get", _wrap_icalperiodtype_duration_get, METH_VARARGS, (char *)"icalperiodtype_duration_get(struct icalperiodtype self) -> struct icaldurationtype"},
	 { (char *)"new_icalperiodtype", _wrap_new_icalperiodtype, METH_VARARGS, (char *)"new_icalperiodtype() -> struct icalperiodtype"},
	 { (char *)"delete_icalperiodtype", _wrap_delete_icalperiodtype, METH_VARARGS, (char *)"delete_icalperiodtype(struct icalperiodtype self)"},
	 { (char *)"icalperiodtype_swigregister", icalperiodtype_swigregister, METH_VARARGS, NULL},
	 { (char *)"icalperiodtype_from_string", _wrap_icalperiodtype_from_string, METH_VARARGS, (char *)"icalperiodtype_from_string(char str) -> struct icalperiodtype"},
	 { (char *)"icalperiodtype_as_ical_string", _wrap_icalperiodtype_as_ical_string, METH_VARARGS, (char *)"icalperiodtype_as_ical_string(struct icalperiodtype p) -> char"},
	 { (char *)"icalperiodtype_as_ical_string_r", _wrap_icalperiodtype_as_ical_string_r, METH_VARARGS, (char *)"icalperiodtype_as_ical_string_r(struct icalperiodtype p) -> char"},
	 { (char *)"icalperiodtype_null_period", _wrap_icalperiodtype_null_period, METH_VARARGS, (char *)"icalperiodtype_null_period() -> struct icalperiodtype"},
	 { (char *)"icalperiodtype_is_null_period", _wrap_icalperiodtype_is_null_period, METH_VARARGS, (char *)"icalperiodtype_is_null_period(struct icalperiodtype p) -> int"},
	 { (char *)"icalperiodtype_is_valid_period", _wrap_icalperiodtype_is_valid_period, METH_VARARGS, (char *)"icalperiodtype_is_valid_period(struct icalperiodtype p) -> int"},
	 { (char *)"icalenum_reqstat_desc", _wrap_icalenum_reqstat_desc, METH_VARARGS, (char *)"icalenum_reqstat_desc(icalrequeststatus stat) -> char"},
	 { (char *)"icalenum_reqstat_major", _wrap_icalenum_reqstat_major, METH_VARARGS, (char *)"icalenum_reqstat_major(icalrequeststatus stat) -> short"},
	 { (char *)"icalenum_reqstat_minor", _wrap_icalenum_reqstat_minor, METH_VARARGS, (char *)"icalenum_reqstat_minor(icalrequeststatus stat) -> short"},
	 { (char *)"icalenum_num_to_reqstat", _wrap_icalenum_num_to_reqstat, METH_VARARGS, (char *)"icalenum_num_to_reqstat(short major, short minor) -> icalrequeststatus"},
	 { (char *)"icalenum_reqstat_code", _wrap_icalenum_reqstat_code, METH_VARARGS, (char *)"icalenum_reqstat_code(icalrequeststatus stat) -> char"},
	 { (char *)"icalenum_reqstat_code_r", _wrap_icalenum_reqstat_code_r, METH_VARARGS, (char *)"icalenum_reqstat_code_r(icalrequeststatus stat) -> char"},
	 { (char *)"icalgeotype_lat_set", _wrap_icalgeotype_lat_set, METH_VARARGS, (char *)"icalgeotype_lat_set(struct icalgeotype self, double lat)"},
	 { (char *)"icalgeotype_lat_get", _wrap_icalgeotype_lat_get, METH_VARARGS, (char *)"icalgeotype_lat_get(struct icalgeotype self) -> double"},
	 { (char *)"icalgeotype_lon_set", _wrap_icalgeotype_lon_set, METH_VARARGS, (char *)"icalgeotype_lon_set(struct icalgeotype self, double lon)"},
	 { (char *)"icalgeotype_lon_get", _wrap_icalgeotype_lon_get, METH_VARARGS, (char *)"icalgeotype_lon_get(struct icalgeotype self) -> double"},
	 { (char *)"new_icalgeotype", _wrap_new_icalgeotype, METH_VARARGS, (char *)"new_icalgeotype() -> struct icalgeotype"},
	 { (char *)"delete_icalgeotype", _wrap_delete_icalgeotype, METH_VARARGS, (char *)"delete_icalgeotype(struct icalgeotype self)"},
	 { (char *)"icalgeotype_swigregister", icalgeotype_swigregister, METH_VARARGS, NULL},
	 { (char *)"icaldatetimeperiodtype_time_set", _wrap_icaldatetimeperiodtype_time_set, METH_VARARGS, (char *)"icaldatetimeperiodtype_time_set(struct icaldatetimeperiodtype self, struct icaltimetype time)"},
	 { (char *)"icaldatetimeperiodtype_time_get", _wrap_icaldatetimeperiodtype_time_get, METH_VARARGS, (char *)"icaldatetimeperiodtype_time_get(struct icaldatetimeperiodtype self) -> struct icaltimetype"},
	 { (char *)"icaldatetimeperiodtype_period_set", _wrap_icaldatetimeperiodtype_period_set, METH_VARARGS, (char *)"icaldatetimeperiodtype_period_set(struct icaldatetimeperiodtype self, struct icalperiodtype period)"},
	 { (char *)"icaldatetimeperiodtype_period_get", _wrap_icaldatetimeperiodtype_period_get, METH_VARARGS, (char *)"icaldatetimeperiodtype_period_get(struct icaldatetimeperiodtype self) -> struct icalperiodtype"},
	 { (char *)"new_icaldatetimeperiodtype", _wrap_new_icaldatetimeperiodtype, METH_VARARGS, (char *)"new_icaldatetimeperiodtype() -> struct icaldatetimeperiodtype"},
	 { (char *)"delete_icaldatetimeperiodtype", _wrap_delete_icaldatetimeperiodtype, METH_VARARGS, (char *)"delete_icaldatetimeperiodtype(struct icaldatetimeperiodtype self)"},
	 { (char *)"icaldatetimeperiodtype_swigregister", icaldatetimeperiodtype_swigregister, METH_VARARGS, NULL},
	 { (char *)"icaltriggertype_time_set", _wrap_icaltriggertype_time_set, METH_VARARGS, (char *)"icaltriggertype_time_set(struct icaltriggertype self, struct icaltimetype time)"},
	 { (char *)"icaltriggertype_time_get", _wrap_icaltriggertype_time_get, METH_VARARGS, (char *)"icaltriggertype_time_get(struct icaltriggertype self) -> struct icaltimetype"},
	 { (char *)"icaltriggertype_duration_set", _wrap_icaltriggertype_duration_set, METH_VARARGS, (char *)"icaltriggertype_duration_set(struct icaltriggertype self, struct icaldurationtype duration)"},
	 { (char *)"icaltriggertype_duration_get", _wrap_icaltriggertype_duration_get, METH_VARARGS, (char *)"icaltriggertype_duration_get(struct icaltriggertype self) -> struct icaldurationtype"},
	 { (char *)"new_icaltriggertype", _wrap_new_icaltriggertype, METH_VARARGS, (char *)"new_icaltriggertype() -> struct icaltriggertype"},
	 { (char *)"delete_icaltriggertype", _wrap_delete_icaltriggertype, METH_VARARGS, (char *)"delete_icaltriggertype(struct icaltriggertype self)"},
	 { (char *)"icaltriggertype_swigregister", icaltriggertype_swigregister, METH_VARARGS, NULL},
	 { (char *)"icaltriggertype_from_int", _wrap_icaltriggertype_from_int, METH_VARARGS, (char *)"icaltriggertype_from_int(int reltime) -> struct icaltriggertype"},
	 { (char *)"icaltriggertype_from_string", _wrap_icaltriggertype_from_string, METH_VARARGS, (char *)"icaltriggertype_from_string(char str) -> struct icaltriggertype"},
	 { (char *)"icaltriggertype_is_null_trigger", _wrap_icaltriggertype_is_null_trigger, METH_VARARGS, (char *)"icaltriggertype_is_null_trigger(struct icaltriggertype tr) -> int"},
	 { (char *)"icaltriggertype_is_bad_trigger", _wrap_icaltriggertype_is_bad_trigger, METH_VARARGS, (char *)"icaltriggertype_is_bad_trigger(struct icaltriggertype tr) -> int"},
	 { (char *)"icalreqstattype_code_set", _wrap_icalreqstattype_code_set, METH_VARARGS, (char *)"icalreqstattype_code_set(struct icalreqstattype self, icalrequeststatus code)"},
	 { (char *)"icalreqstattype_code_get", _wrap_icalreqstattype_code_get, METH_VARARGS, (char *)"icalreqstattype_code_get(struct icalreqstattype self) -> icalrequeststatus"},
	 { (char *)"icalreqstattype_desc_set", _wrap_icalreqstattype_desc_set, METH_VARARGS, (char *)"icalreqstattype_desc_set(struct icalreqstattype self, char desc)"},
	 { (char *)"icalreqstattype_desc_get", _wrap_icalreqstattype_desc_get, METH_VARARGS, (char *)"icalreqstattype_desc_get(struct icalreqstattype self) -> char"},
	 { (char *)"icalreqstattype_debug_set", _wrap_icalreqstattype_debug_set, METH_VARARGS, (char *)"icalreqstattype_debug_set(struct icalreqstattype self, char debug)"},
	 { (char *)"icalreqstattype_debug_get", _wrap_icalreqstattype_debug_get, METH_VARARGS, (char *)"icalreqstattype_debug_get(struct icalreqstattype self) -> char"},
	 { (char *)"new_icalreqstattype", _wrap_new_icalreqstattype, METH_VARARGS, (char *)"new_icalreqstattype() -> struct icalreqstattype"},
	 { (char *)"delete_icalreqstattype", _wrap_delete_icalreqstattype, METH_VARARGS, (char *)"delete_icalreqstattype(struct icalreqstattype self)"},
	 { (char *)"icalreqstattype_swigregister", icalreqstattype_swigregister, METH_VARARGS, NULL},
	 { (char *)"icalreqstattype_from_string", _wrap_icalreqstattype_from_string, METH_VARARGS, (char *)"icalreqstattype_from_string(char str) -> struct icalreqstattype"},
	 { (char *)"icalreqstattype_as_string", _wrap_icalreqstattype_as_string, METH_VARARGS, (char *)"icalreqstattype_as_string(struct icalreqstattype arg0) -> char"},
	 { (char *)"icalreqstattype_as_string_r", _wrap_icalreqstattype_as_string_r, METH_VARARGS, (char *)"icalreqstattype_as_string_r(struct icalreqstattype arg0) -> char"},
	 { (char *)"icaltimezonephase_tzname_set", _wrap_icaltimezonephase_tzname_set, METH_VARARGS, (char *)"icaltimezonephase_tzname_set(struct icaltimezonephase self, char tzname)"},
	 { (char *)"icaltimezonephase_tzname_get", _wrap_icaltimezonephase_tzname_get, METH_VARARGS, (char *)"icaltimezonephase_tzname_get(struct icaltimezonephase self) -> char"},
	 { (char *)"icaltimezonephase_is_stdandard_set", _wrap_icaltimezonephase_is_stdandard_set, METH_VARARGS, (char *)"icaltimezonephase_is_stdandard_set(struct icaltimezonephase self, int is_stdandard)"},
	 { (char *)"icaltimezonephase_is_stdandard_get", _wrap_icaltimezonephase_is_stdandard_get, METH_VARARGS, (char *)"icaltimezonephase_is_stdandard_get(struct icaltimezonephase self) -> int"},
	 { (char *)"icaltimezonephase_dtstart_set", _wrap_icaltimezonephase_dtstart_set, METH_VARARGS, (char *)"icaltimezonephase_dtstart_set(struct icaltimezonephase self, struct icaltimetype dtstart)"},
	 { (char *)"icaltimezonephase_dtstart_get", _wrap_icaltimezonephase_dtstart_get, METH_VARARGS, (char *)"icaltimezonephase_dtstart_get(struct icaltimezonephase self) -> struct icaltimetype"},
	 { (char *)"icaltimezonephase_offsetto_set", _wrap_icaltimezonephase_offsetto_set, METH_VARARGS, (char *)"icaltimezonephase_offsetto_set(struct icaltimezonephase self, int offsetto)"},
	 { (char *)"icaltimezonephase_offsetto_get", _wrap_icaltimezonephase_offsetto_get, METH_VARARGS, (char *)"icaltimezonephase_offsetto_get(struct icaltimezonephase self) -> int"},
	 { (char *)"icaltimezonephase_tzoffsetfrom_set", _wrap_icaltimezonephase_tzoffsetfrom_set, METH_VARARGS, (char *)"icaltimezonephase_tzoffsetfrom_set(struct icaltimezonephase self, int tzoffsetfrom)"},
	 { (char *)"icaltimezonephase_tzoffsetfrom_get", _wrap_icaltimezonephase_tzoffsetfrom_get, METH_VARARGS, (char *)"icaltimezonephase_tzoffsetfrom_get(struct icaltimezonephase self) -> int"},
	 { (char *)"icaltimezonephase_comment_set", _wrap_icaltimezonephase_comment_set, METH_VARARGS, (char *)"icaltimezonephase_comment_set(struct icaltimezonephase self, char comment)"},
	 { (char *)"icaltimezonephase_comment_get", _wrap_icaltimezonephase_comment_get, METH_VARARGS, (char *)"icaltimezonephase_comment_get(struct icaltimezonephase self) -> char"},
	 { (char *)"icaltimezonephase_rdate_set", _wrap_icaltimezonephase_rdate_set, METH_VARARGS, (char *)"icaltimezonephase_rdate_set(struct icaltimezonephase self, struct icaldatetimeperiodtype rdate)"},
	 { (char *)"icaltimezonephase_rdate_get", _wrap_icaltimezonephase_rdate_get, METH_VARARGS, (char *)"icaltimezonephase_rdate_get(struct icaltimezonephase self) -> struct icaldatetimeperiodtype"},
	 { (char *)"icaltimezonephase_rrule_set", _wrap_icaltimezonephase_rrule_set, METH_VARARGS, (char *)"icaltimezonephase_rrule_set(struct icaltimezonephase self, char rrule)"},
	 { (char *)"icaltimezonephase_rrule_get", _wrap_icaltimezonephase_rrule_get, METH_VARARGS, (char *)"icaltimezonephase_rrule_get(struct icaltimezonephase self) -> char"},
	 { (char *)"new_icaltimezonephase", _wrap_new_icaltimezonephase, METH_VARARGS, (char *)"new_icaltimezonephase() -> struct icaltimezonephase"},
	 { (char *)"delete_icaltimezonephase", _wrap_delete_icaltimezonephase, METH_VARARGS, (char *)"delete_icaltimezonephase(struct icaltimezonephase self)"},
	 { (char *)"icaltimezonephase_swigregister", icaltimezonephase_swigregister, METH_VARARGS, NULL},
	 { (char *)"icaltimezonetype_tzid_set", _wrap_icaltimezonetype_tzid_set, METH_VARARGS, (char *)"icaltimezonetype_tzid_set(struct icaltimezonetype self, char tzid)"},
	 { (char *)"icaltimezonetype_tzid_get", _wrap_icaltimezonetype_tzid_get, METH_VARARGS, (char *)"icaltimezonetype_tzid_get(struct icaltimezonetype self) -> char"},
	 { (char *)"icaltimezonetype_last_mod_set", _wrap_icaltimezonetype_last_mod_set, METH_VARARGS, (char *)"icaltimezonetype_last_mod_set(struct icaltimezonetype self, struct icaltimetype last_mod)"},
	 { (char *)"icaltimezonetype_last_mod_get", _wrap_icaltimezonetype_last_mod_get, METH_VARARGS, (char *)"icaltimezonetype_last_mod_get(struct icaltimezonetype self) -> struct icaltimetype"},
	 { (char *)"icaltimezonetype_tzurl_set", _wrap_icaltimezonetype_tzurl_set, METH_VARARGS, (char *)"icaltimezonetype_tzurl_set(struct icaltimezonetype self, char tzurl)"},
	 { (char *)"icaltimezonetype_tzurl_get", _wrap_icaltimezonetype_tzurl_get, METH_VARARGS, (char *)"icaltimezonetype_tzurl_get(struct icaltimezonetype self) -> char"},
	 { (char *)"icaltimezonetype_phases_set", _wrap_icaltimezonetype_phases_set, METH_VARARGS, (char *)"icaltimezonetype_phases_set(struct icaltimezonetype self, struct icaltimezonephase phases)"},
	 { (char *)"icaltimezonetype_phases_get", _wrap_icaltimezonetype_phases_get, METH_VARARGS, (char *)"icaltimezonetype_phases_get(struct icaltimezonetype self) -> struct icaltimezonephase"},
	 { (char *)"new_icaltimezonetype", _wrap_new_icaltimezonetype, METH_VARARGS, (char *)"new_icaltimezonetype() -> struct icaltimezonetype"},
	 { (char *)"delete_icaltimezonetype", _wrap_delete_icaltimezonetype, METH_VARARGS, (char *)"delete_icaltimezonetype(struct icaltimezonetype self)"},
	 { (char *)"icaltimezonetype_swigregister", icaltimezonetype_swigregister, METH_VARARGS, NULL},
	 { (char *)"ical_get_unknown_token_handling_setting", _wrap_ical_get_unknown_token_handling_setting, METH_VARARGS, (char *)"ical_get_unknown_token_handling_setting() -> ical_unknown_token_handling"},
	 { (char *)"ical_set_unknown_token_handling_setting", _wrap_ical_set_unknown_token_handling_setting, METH_VARARGS, (char *)"ical_set_unknown_token_handling_setting(ical_unknown_token_handling newSetting)"},
	 { (char *)"icalrecurrencetype_freq_set", _wrap_icalrecurrencetype_freq_set, METH_VARARGS, (char *)"icalrecurrencetype_freq_set(struct icalrecurrencetype self, icalrecurrencetype_frequency freq)"},
	 { (char *)"icalrecurrencetype_freq_get", _wrap_icalrecurrencetype_freq_get, METH_VARARGS, (char *)"icalrecurrencetype_freq_get(struct icalrecurrencetype self) -> icalrecurrencetype_frequency"},
	 { (char *)"icalrecurrencetype_until_set", _wrap_icalrecurrencetype_until_set, METH_VARARGS, (char *)"icalrecurrencetype_until_set(struct icalrecurrencetype self, struct icaltimetype until)"},
	 { (char *)"icalrecurrencetype_until_get", _wrap_icalrecurrencetype_until_get, METH_VARARGS, (char *)"icalrecurrencetype_until_get(struct icalrecurrencetype self) -> struct icaltimetype"},
	 { (char *)"icalrecurrencetype_count_set", _wrap_icalrecurrencetype_count_set, METH_VARARGS, (char *)"icalrecurrencetype_count_set(struct icalrecurrencetype self, int count)"},
	 { (char *)"icalrecurrencetype_count_get", _wrap_icalrecurrencetype_count_get, METH_VARARGS, (char *)"icalrecurrencetype_count_get(struct icalrecurrencetype self) -> int"},
	 { (char *)"icalrecurrencetype_interval_set", _wrap_icalrecurrencetype_interval_set, METH_VARARGS, (char *)"icalrecurrencetype_interval_set(struct icalrecurrencetype self, short interval)"},
	 { (char *)"icalrecurrencetype_interval_get", _wrap_icalrecurrencetype_interval_get, METH_VARARGS, (char *)"icalrecurrencetype_interval_get(struct icalrecurrencetype self) -> short"},
	 { (char *)"icalrecurrencetype_week_start_set", _wrap_icalrecurrencetype_week_start_set, METH_VARARGS, (char *)"icalrecurrencetype_week_start_set(struct icalrecurrencetype self, icalrecurrencetype_weekday week_start)"},
	 { (char *)"icalrecurrencetype_week_start_get", _wrap_icalrecurrencetype_week_start_get, METH_VARARGS, (char *)"icalrecurrencetype_week_start_get(struct icalrecurrencetype self) -> icalrecurrencetype_weekday"},
	 { (char *)"icalrecurrencetype_by_second_set", _wrap_icalrecurrencetype_by_second_set, METH_VARARGS, (char *)"icalrecurrencetype_by_second_set(struct icalrecurrencetype self, short by_second)"},
	 { (char *)"icalrecurrencetype_by_second_get", _wrap_icalrecurrencetype_by_second_get, METH_VARARGS, (char *)"icalrecurrencetype_by_second_get(struct icalrecurrencetype self) -> short"},
	 { (char *)"icalrecurrencetype_by_minute_set", _wrap_icalrecurrencetype_by_minute_set, METH_VARARGS, (char *)"icalrecurrencetype_by_minute_set(struct icalrecurrencetype self, short by_minute)"},
	 { (char *)"icalrecurrencetype_by_minute_get", _wrap_icalrecurrencetype_by_minute_get, METH_VARARGS, (char *)"icalrecurrencetype_by_minute_get(struct icalrecurrencetype self) -> short"},
	 { (char *)"icalrecurrencetype_by_hour_set", _wrap_icalrecurrencetype_by_hour_set, METH_VARARGS, (char *)"icalrecurrencetype_by_hour_set(struct icalrecurrencetype self, short by_hour)"},
	 { (char *)"icalrecurrencetype_by_hour_get", _wrap_icalrecurrencetype_by_hour_get, METH_VARARGS, (char *)"icalrecurrencetype_by_hour_get(struct icalrecurrencetype self) -> short"},
	 { (char *)"icalrecurrencetype_by_day_set", _wrap_icalrecurrencetype_by_day_set, METH_VARARGS, (char *)"icalrecurrencetype_by_day_set(struct icalrecurrencetype self, short by_day)"},
	 { (char *)"icalrecurrencetype_by_day_get", _wrap_icalrecurrencetype_by_day_get, METH_VARARGS, (char *)"icalrecurrencetype_by_day_get(struct icalrecurrencetype self) -> short"},
	 { (char *)"icalrecurrencetype_by_month_day_set", _wrap_icalrecurrencetype_by_month_day_set, METH_VARARGS, (char *)"icalrecurrencetype_by_month_day_set(struct icalrecurrencetype self, short by_month_day)"},
	 { (char *)"icalrecurrencetype_by_month_day_get", _wrap_icalrecurrencetype_by_month_day_get, METH_VARARGS, (char *)"icalrecurrencetype_by_month_day_get(struct icalrecurrencetype self) -> short"},
	 { (char *)"icalrecurrencetype_by_year_day_set", _wrap_icalrecurrencetype_by_year_day_set, METH_VARARGS, (char *)"icalrecurrencetype_by_year_day_set(struct icalrecurrencetype self, short by_year_day)"},
	 { (char *)"icalrecurrencetype_by_year_day_get", _wrap_icalrecurrencetype_by_year_day_get, METH_VARARGS, (char *)"icalrecurrencetype_by_year_day_get(struct icalrecurrencetype self) -> short"},
	 { (char *)"icalrecurrencetype_by_week_no_set", _wrap_icalrecurrencetype_by_week_no_set, METH_VARARGS, (char *)"icalrecurrencetype_by_week_no_set(struct icalrecurrencetype self, short by_week_no)"},
	 { (char *)"icalrecurrencetype_by_week_no_get", _wrap_icalrecurrencetype_by_week_no_get, METH_VARARGS, (char *)"icalrecurrencetype_by_week_no_get(struct icalrecurrencetype self) -> short"},
	 { (char *)"icalrecurrencetype_by_month_set", _wrap_icalrecurrencetype_by_month_set, METH_VARARGS, (char *)"icalrecurrencetype_by_month_set(struct icalrecurrencetype self, short by_month)"},
	 { (char *)"icalrecurrencetype_by_month_get", _wrap_icalrecurrencetype_by_month_get, METH_VARARGS, (char *)"icalrecurrencetype_by_month_get(struct icalrecurrencetype self) -> short"},
	 { (char *)"icalrecurrencetype_by_set_pos_set", _wrap_icalrecurrencetype_by_set_pos_set, METH_VARARGS, (char *)"icalrecurrencetype_by_set_pos_set(struct icalrecurrencetype self, short by_set_pos)"},
	 { (char *)"icalrecurrencetype_by_set_pos_get", _wrap_icalrecurrencetype_by_set_pos_get, METH_VARARGS, (char *)"icalrecurrencetype_by_set_pos_get(struct icalrecurrencetype self) -> short"},
	 { (char *)"new_icalrecurrencetype", _wrap_new_icalrecurrencetype, METH_VARARGS, (char *)"new_icalrecurrencetype() -> struct icalrecurrencetype"},
	 { (char *)"delete_icalrecurrencetype", _wrap_delete_icalrecurrencetype, METH_VARARGS, (char *)"delete_icalrecurrencetype(struct icalrecurrencetype self)"},
	 { (char *)"icalrecurrencetype_swigregister", icalrecurrencetype_swigregister, METH_VARARGS, NULL},
	 { (char *)"icalrecurrencetype_clear", _wrap_icalrecurrencetype_clear, METH_VARARGS, (char *)"icalrecurrencetype_clear(struct icalrecurrencetype r)"},
	 { (char *)"icalrecurrencetype_day_day_of_week", _wrap_icalrecurrencetype_day_day_of_week, METH_VARARGS, (char *)"icalrecurrencetype_day_day_of_week(short day) -> enum icalrecurrencetype_weekday"},
	 { (char *)"icalrecurrencetype_day_position", _wrap_icalrecurrencetype_day_position, METH_VARARGS, (char *)"icalrecurrencetype_day_position(short day) -> int"},
	 { (char *)"icalrecur_string_to_weekday", _wrap_icalrecur_string_to_weekday, METH_VARARGS, (char *)"icalrecur_string_to_weekday(char str) -> icalrecurrencetype_weekday"},
	 { (char *)"icalrecurrencetype_from_string", _wrap_icalrecurrencetype_from_string, METH_VARARGS, (char *)"icalrecurrencetype_from_string(char str) -> struct icalrecurrencetype"},
	 { (char *)"icalrecurrencetype_as_string", _wrap_icalrecurrencetype_as_string, METH_VARARGS, (char *)"icalrecurrencetype_as_string(struct icalrecurrencetype recur) -> char"},
	 { (char *)"icalrecurrencetype_as_string_r", _wrap_icalrecurrencetype_as_string_r, METH_VARARGS, (char *)"icalrecurrencetype_as_string_r(struct icalrecurrencetype recur) -> char"},
	 { (char *)"icalrecur_iterator_new", _wrap_icalrecur_iterator_new, METH_VARARGS, (char *)"icalrecur_iterator_new(struct icalrecurrencetype rule, struct icaltimetype dtstart) -> icalrecur_iterator"},
	 { (char *)"icalrecur_iterator_next", _wrap_icalrecur_iterator_next, METH_VARARGS, (char *)"icalrecur_iterator_next(icalrecur_iterator arg0) -> struct icaltimetype"},
	 { (char *)"icalrecur_iterator_free", _wrap_icalrecur_iterator_free, METH_VARARGS, (char *)"icalrecur_iterator_free(icalrecur_iterator arg0)"},
	 { (char *)"icalrecur_expand_recurrence", _wrap_icalrecur_expand_recurrence, METH_VARARGS, (char *)"icalrecur_expand_recurrence(char rule, time_t start, int count, time_t array) -> int"},
	 { (char *)"icalattach_new_from_url", _wrap_icalattach_new_from_url, METH_VARARGS, (char *)"icalattach_new_from_url(char url) -> icalattach"},
	 { (char *)"icalattach_new_from_data", _wrap_icalattach_new_from_data, METH_VARARGS, (char *)"icalattach_new_from_data(char data, icalattach_free_fn_t free_fn, void free_fn_data) -> icalattach"},
	 { (char *)"icalattach_ref", _wrap_icalattach_ref, METH_VARARGS, (char *)"icalattach_ref(icalattach attach)"},
	 { (char *)"icalattach_unref", _wrap_icalattach_unref, METH_VARARGS, (char *)"icalattach_unref(icalattach attach)"},
	 { (char *)"icalattach_get_is_url", _wrap_icalattach_get_is_url, METH_VARARGS, (char *)"icalattach_get_is_url(icalattach attach) -> int"},
	 { (char *)"icalattach_get_url", _wrap_icalattach_get_url, METH_VARARGS, (char *)"icalattach_get_url(icalattach attach) -> char"},
	 { (char *)"icalattach_get_data", _wrap_icalattach_get_data, METH_VARARGS, (char *)"icalattach_get_data(icalattach attach) -> unsigned char"},
	 { (char *)"icalvalue_set_x", _wrap_icalvalue_set_x, METH_VARARGS, (char *)"icalvalue_set_x(icalvalue value, char v)"},
	 { (char *)"icalvalue_new_x", _wrap_icalvalue_new_x, METH_VARARGS, (char *)"icalvalue_new_x(char v) -> icalvalue"},
	 { (char *)"icalvalue_get_x", _wrap_icalvalue_get_x, METH_VARARGS, (char *)"icalvalue_get_x(icalvalue value) -> char"},
	 { (char *)"icalvalue_new_recur", _wrap_icalvalue_new_recur, METH_VARARGS, (char *)"icalvalue_new_recur(struct icalrecurrencetype v) -> icalvalue"},
	 { (char *)"icalvalue_set_recur", _wrap_icalvalue_set_recur, METH_VARARGS, (char *)"icalvalue_set_recur(icalvalue value, struct icalrecurrencetype v)"},
	 { (char *)"icalvalue_get_recur", _wrap_icalvalue_get_recur, METH_VARARGS, (char *)"icalvalue_get_recur(icalvalue value) -> struct icalrecurrencetype"},
	 { (char *)"icalvalue_new_trigger", _wrap_icalvalue_new_trigger, METH_VARARGS, (char *)"icalvalue_new_trigger(struct icaltriggertype v) -> icalvalue"},
	 { (char *)"icalvalue_set_trigger", _wrap_icalvalue_set_trigger, METH_VARARGS, (char *)"icalvalue_set_trigger(icalvalue value, struct icaltriggertype v)"},
	 { (char *)"icalvalue_get_trigger", _wrap_icalvalue_get_trigger, METH_VARARGS, (char *)"icalvalue_get_trigger(icalvalue value) -> struct icaltriggertype"},
	 { (char *)"icalvalue_new_datetime", _wrap_icalvalue_new_datetime, METH_VARARGS, (char *)"icalvalue_new_datetime(struct icaltimetype v) -> icalvalue"},
	 { (char *)"icalvalue_get_datetime", _wrap_icalvalue_get_datetime, METH_VARARGS, (char *)"icalvalue_get_datetime(icalvalue value) -> struct icaltimetype"},
	 { (char *)"icalvalue_set_datetime", _wrap_icalvalue_set_datetime, METH_VARARGS, (char *)"icalvalue_set_datetime(icalvalue value, struct icaltimetype v)"},
	 { (char *)"icalvalue_new_datetimeperiod", _wrap_icalvalue_new_datetimeperiod, METH_VARARGS, (char *)"icalvalue_new_datetimeperiod(struct icaldatetimeperiodtype v) -> icalvalue"},
	 { (char *)"icalvalue_set_datetimeperiod", _wrap_icalvalue_set_datetimeperiod, METH_VARARGS, (char *)"icalvalue_set_datetimeperiod(icalvalue value, struct icaldatetimeperiodtype v)"},
	 { (char *)"icalvalue_get_datetimeperiod", _wrap_icalvalue_get_datetimeperiod, METH_VARARGS, (char *)"icalvalue_get_datetimeperiod(icalvalue value) -> struct icaldatetimeperiodtype"},
	 { (char *)"icalvalue_new_geo", _wrap_icalvalue_new_geo, METH_VARARGS, (char *)"icalvalue_new_geo(struct icalgeotype v) -> icalvalue"},
	 { (char *)"icalvalue_get_geo", _wrap_icalvalue_get_geo, METH_VARARGS, (char *)"icalvalue_get_geo(icalvalue value) -> struct icalgeotype"},
	 { (char *)"icalvalue_set_geo", _wrap_icalvalue_set_geo, METH_VARARGS, (char *)"icalvalue_set_geo(icalvalue value, struct icalgeotype v)"},
	 { (char *)"icalvalue_new_attach", _wrap_icalvalue_new_attach, METH_VARARGS, (char *)"icalvalue_new_attach(icalattach attach) -> icalvalue"},
	 { (char *)"icalvalue_set_attach", _wrap_icalvalue_set_attach, METH_VARARGS, (char *)"icalvalue_set_attach(icalvalue value, icalattach attach)"},
	 { (char *)"icalvalue_get_attach", _wrap_icalvalue_get_attach, METH_VARARGS, (char *)"icalvalue_get_attach(icalvalue value) -> icalattach"},
	 { (char *)"icalvalue_reset_kind", _wrap_icalvalue_reset_kind, METH_VARARGS, (char *)"icalvalue_reset_kind(icalvalue value)"},
	 { (char *)"icalvalue_new_query", _wrap_icalvalue_new_query, METH_VARARGS, (char *)"icalvalue_new_query(char v) -> icalvalue"},
	 { (char *)"icalvalue_get_query", _wrap_icalvalue_get_query, METH_VARARGS, (char *)"icalvalue_get_query(icalvalue value) -> char"},
	 { (char *)"icalvalue_set_query", _wrap_icalvalue_set_query, METH_VARARGS, (char *)"icalvalue_set_query(icalvalue value, char v)"},
	 { (char *)"icalvalue_new_date", _wrap_icalvalue_new_date, METH_VARARGS, (char *)"icalvalue_new_date(struct icaltimetype v) -> icalvalue"},
	 { (char *)"icalvalue_get_date", _wrap_icalvalue_get_date, METH_VARARGS, (char *)"icalvalue_get_date(icalvalue value) -> struct icaltimetype"},
	 { (char *)"icalvalue_set_date", _wrap_icalvalue_set_date, METH_VARARGS, (char *)"icalvalue_set_date(icalvalue value, struct icaltimetype v)"},
	 { (char *)"icalvalue_new_status", _wrap_icalvalue_new_status, METH_VARARGS, (char *)"icalvalue_new_status(enum icalproperty_status v) -> icalvalue"},
	 { (char *)"icalvalue_get_status", _wrap_icalvalue_get_status, METH_VARARGS, (char *)"icalvalue_get_status(icalvalue value) -> enum icalproperty_status"},
	 { (char *)"icalvalue_set_status", _wrap_icalvalue_set_status, METH_VARARGS, (char *)"icalvalue_set_status(icalvalue value, enum icalproperty_status v)"},
	 { (char *)"icalvalue_new_transp", _wrap_icalvalue_new_transp, METH_VARARGS, (char *)"icalvalue_new_transp(enum icalproperty_transp v) -> icalvalue"},
	 { (char *)"icalvalue_get_transp", _wrap_icalvalue_get_transp, METH_VARARGS, (char *)"icalvalue_get_transp(icalvalue value) -> enum icalproperty_transp"},
	 { (char *)"icalvalue_set_transp", _wrap_icalvalue_set_transp, METH_VARARGS, (char *)"icalvalue_set_transp(icalvalue value, enum icalproperty_transp v)"},
	 { (char *)"icalvalue_new_string", _wrap_icalvalue_new_string, METH_VARARGS, (char *)"icalvalue_new_string(char v) -> icalvalue"},
	 { (char *)"icalvalue_get_string", _wrap_icalvalue_get_string, METH_VARARGS, (char *)"icalvalue_get_string(icalvalue value) -> char"},
	 { (char *)"icalvalue_set_string", _wrap_icalvalue_set_string, METH_VARARGS, (char *)"icalvalue_set_string(icalvalue value, char v)"},
	 { (char *)"icalvalue_new_text", _wrap_icalvalue_new_text, METH_VARARGS, (char *)"icalvalue_new_text(char v) -> icalvalue"},
	 { (char *)"icalvalue_get_text", _wrap_icalvalue_get_text, METH_VARARGS, (char *)"icalvalue_get_text(icalvalue value) -> char"},
	 { (char *)"icalvalue_set_text", _wrap_icalvalue_set_text, METH_VARARGS, (char *)"icalvalue_set_text(icalvalue value, char v)"},
	 { (char *)"icalvalue_new_requeststatus", _wrap_icalvalue_new_requeststatus, METH_VARARGS, (char *)"icalvalue_new_requeststatus(struct icalreqstattype v) -> icalvalue"},
	 { (char *)"icalvalue_get_requeststatus", _wrap_icalvalue_get_requeststatus, METH_VARARGS, (char *)"icalvalue_get_requeststatus(icalvalue value) -> struct icalreqstattype"},
	 { (char *)"icalvalue_set_requeststatus", _wrap_icalvalue_set_requeststatus, METH_VARARGS, (char *)"icalvalue_set_requeststatus(icalvalue value, struct icalreqstattype v)"},
	 { (char *)"icalvalue_new_cmd", _wrap_icalvalue_new_cmd, METH_VARARGS, (char *)"icalvalue_new_cmd(enum icalproperty_cmd v) -> icalvalue"},
	 { (char *)"icalvalue_get_cmd", _wrap_icalvalue_get_cmd, METH_VARARGS, (char *)"icalvalue_get_cmd(icalvalue value) -> enum icalproperty_cmd"},
	 { (char *)"icalvalue_set_cmd", _wrap_icalvalue_set_cmd, METH_VARARGS, (char *)"icalvalue_set_cmd(icalvalue value, enum icalproperty_cmd v)"},
	 { (char *)"icalvalue_new_binary", _wrap_icalvalue_new_binary, METH_VARARGS, (char *)"icalvalue_new_binary(char v) -> icalvalue"},
	 { (char *)"icalvalue_get_binary", _wrap_icalvalue_get_binary, METH_VARARGS, (char *)"icalvalue_get_binary(icalvalue value) -> char"},
	 { (char *)"icalvalue_set_binary", _wrap_icalvalue_set_binary, METH_VARARGS, (char *)"icalvalue_set_binary(icalvalue value, char v)"},
	 { (char *)"icalvalue_new_querylevel", _wrap_icalvalue_new_querylevel, METH_VARARGS, (char *)"icalvalue_new_querylevel(enum icalproperty_querylevel v) -> icalvalue"},
	 { (char *)"icalvalue_get_querylevel", _wrap_icalvalue_get_querylevel, METH_VARARGS, (char *)"icalvalue_get_querylevel(icalvalue value) -> enum icalproperty_querylevel"},
	 { (char *)"icalvalue_set_querylevel", _wrap_icalvalue_set_querylevel, METH_VARARGS, (char *)"icalvalue_set_querylevel(icalvalue value, enum icalproperty_querylevel v)"},
	 { (char *)"icalvalue_new_period", _wrap_icalvalue_new_period, METH_VARARGS, (char *)"icalvalue_new_period(struct icalperiodtype v) -> icalvalue"},
	 { (char *)"icalvalue_get_period", _wrap_icalvalue_get_period, METH_VARARGS, (char *)"icalvalue_get_period(icalvalue value) -> struct icalperiodtype"},
	 { (char *)"icalvalue_set_period", _wrap_icalvalue_set_period, METH_VARARGS, (char *)"icalvalue_set_period(icalvalue value, struct icalperiodtype v)"},
	 { (char *)"icalvalue_new_float", _wrap_icalvalue_new_float, METH_VARARGS, (char *)"icalvalue_new_float(float v) -> icalvalue"},
	 { (char *)"icalvalue_get_float", _wrap_icalvalue_get_float, METH_VARARGS, (char *)"icalvalue_get_float(icalvalue value) -> float"},
	 { (char *)"icalvalue_set_float", _wrap_icalvalue_set_float, METH_VARARGS, (char *)"icalvalue_set_float(icalvalue value, float v)"},
	 { (char *)"icalvalue_new_carlevel", _wrap_icalvalue_new_carlevel, METH_VARARGS, (char *)"icalvalue_new_carlevel(enum icalproperty_carlevel v) -> icalvalue"},
	 { (char *)"icalvalue_get_carlevel", _wrap_icalvalue_get_carlevel, METH_VARARGS, (char *)"icalvalue_get_carlevel(icalvalue value) -> enum icalproperty_carlevel"},
	 { (char *)"icalvalue_set_carlevel", _wrap_icalvalue_set_carlevel, METH_VARARGS, (char *)"icalvalue_set_carlevel(icalvalue value, enum icalproperty_carlevel v)"},
	 { (char *)"icalvalue_new_integer", _wrap_icalvalue_new_integer, METH_VARARGS, (char *)"icalvalue_new_integer(int v) -> icalvalue"},
	 { (char *)"icalvalue_get_integer", _wrap_icalvalue_get_integer, METH_VARARGS, (char *)"icalvalue_get_integer(icalvalue value) -> int"},
	 { (char *)"icalvalue_set_integer", _wrap_icalvalue_set_integer, METH_VARARGS, (char *)"icalvalue_set_integer(icalvalue value, int v)"},
	 { (char *)"icalvalue_new_uri", _wrap_icalvalue_new_uri, METH_VARARGS, (char *)"icalvalue_new_uri(char v) -> icalvalue"},
	 { (char *)"icalvalue_get_uri", _wrap_icalvalue_get_uri, METH_VARARGS, (char *)"icalvalue_get_uri(icalvalue value) -> char"},
	 { (char *)"icalvalue_set_uri", _wrap_icalvalue_set_uri, METH_VARARGS, (char *)"icalvalue_set_uri(icalvalue value, char v)"},
	 { (char *)"icalvalue_new_duration", _wrap_icalvalue_new_duration, METH_VARARGS, (char *)"icalvalue_new_duration(struct icaldurationtype v) -> icalvalue"},
	 { (char *)"icalvalue_get_duration", _wrap_icalvalue_get_duration, METH_VARARGS, (char *)"icalvalue_get_duration(icalvalue value) -> struct icaldurationtype"},
	 { (char *)"icalvalue_set_duration", _wrap_icalvalue_set_duration, METH_VARARGS, (char *)"icalvalue_set_duration(icalvalue value, struct icaldurationtype v)"},
	 { (char *)"icalvalue_new_boolean", _wrap_icalvalue_new_boolean, METH_VARARGS, (char *)"icalvalue_new_boolean(int v) -> icalvalue"},
	 { (char *)"icalvalue_get_boolean", _wrap_icalvalue_get_boolean, METH_VARARGS, (char *)"icalvalue_get_boolean(icalvalue value) -> int"},
	 { (char *)"icalvalue_set_boolean", _wrap_icalvalue_set_boolean, METH_VARARGS, (char *)"icalvalue_set_boolean(icalvalue value, int v)"},
	 { (char *)"icalvalue_new_caladdress", _wrap_icalvalue_new_caladdress, METH_VARARGS, (char *)"icalvalue_new_caladdress(char v) -> icalvalue"},
	 { (char *)"icalvalue_get_caladdress", _wrap_icalvalue_get_caladdress, METH_VARARGS, (char *)"icalvalue_get_caladdress(icalvalue value) -> char"},
	 { (char *)"icalvalue_set_caladdress", _wrap_icalvalue_set_caladdress, METH_VARARGS, (char *)"icalvalue_set_caladdress(icalvalue value, char v)"},
	 { (char *)"icalvalue_new_xlicclass", _wrap_icalvalue_new_xlicclass, METH_VARARGS, (char *)"icalvalue_new_xlicclass(enum icalproperty_xlicclass v) -> icalvalue"},
	 { (char *)"icalvalue_get_xlicclass", _wrap_icalvalue_get_xlicclass, METH_VARARGS, (char *)"icalvalue_get_xlicclass(icalvalue value) -> enum icalproperty_xlicclass"},
	 { (char *)"icalvalue_set_xlicclass", _wrap_icalvalue_set_xlicclass, METH_VARARGS, (char *)"icalvalue_set_xlicclass(icalvalue value, enum icalproperty_xlicclass v)"},
	 { (char *)"icalvalue_new_action", _wrap_icalvalue_new_action, METH_VARARGS, (char *)"icalvalue_new_action(enum icalproperty_action v) -> icalvalue"},
	 { (char *)"icalvalue_get_action", _wrap_icalvalue_get_action, METH_VARARGS, (char *)"icalvalue_get_action(icalvalue value) -> enum icalproperty_action"},
	 { (char *)"icalvalue_set_action", _wrap_icalvalue_set_action, METH_VARARGS, (char *)"icalvalue_set_action(icalvalue value, enum icalproperty_action v)"},
	 { (char *)"icalvalue_new_utcoffset", _wrap_icalvalue_new_utcoffset, METH_VARARGS, (char *)"icalvalue_new_utcoffset(int v) -> icalvalue"},
	 { (char *)"icalvalue_get_utcoffset", _wrap_icalvalue_get_utcoffset, METH_VARARGS, (char *)"icalvalue_get_utcoffset(icalvalue value) -> int"},
	 { (char *)"icalvalue_set_utcoffset", _wrap_icalvalue_set_utcoffset, METH_VARARGS, (char *)"icalvalue_set_utcoffset(icalvalue value, int v)"},
	 { (char *)"icalvalue_new_method", _wrap_icalvalue_new_method, METH_VARARGS, (char *)"icalvalue_new_method(enum icalproperty_method v) -> icalvalue"},
	 { (char *)"icalvalue_get_method", _wrap_icalvalue_get_method, METH_VARARGS, (char *)"icalvalue_get_method(icalvalue value) -> enum icalproperty_method"},
	 { (char *)"icalvalue_set_method", _wrap_icalvalue_set_method, METH_VARARGS, (char *)"icalvalue_set_method(icalvalue value, enum icalproperty_method v)"},
	 { (char *)"icalvalue_new_class", _wrap_icalvalue_new_class, METH_VARARGS, (char *)"icalvalue_new_class(enum icalproperty_class v) -> icalvalue"},
	 { (char *)"icalvalue_get_class", _wrap_icalvalue_get_class, METH_VARARGS, (char *)"icalvalue_get_class(icalvalue value) -> enum icalproperty_class"},
	 { (char *)"icalvalue_set_class", _wrap_icalvalue_set_class, METH_VARARGS, (char *)"icalvalue_set_class(icalvalue value, enum icalproperty_class v)"},
	 { (char *)"icalparameter_enum_to_string", _wrap_icalparameter_enum_to_string, METH_VARARGS, (char *)"icalparameter_enum_to_string(int e) -> char"},
	 { (char *)"icalparameter_string_to_enum", _wrap_icalparameter_string_to_enum, METH_VARARGS, (char *)"icalparameter_string_to_enum(char str) -> int"},
	 { (char *)"icalparameter_new_actionparam", _wrap_icalparameter_new_actionparam, METH_VARARGS, (char *)"icalparameter_new_actionparam(icalparameter_action v) -> icalparameter"},
	 { (char *)"icalparameter_get_actionparam", _wrap_icalparameter_get_actionparam, METH_VARARGS, (char *)"icalparameter_get_actionparam(icalparameter value) -> icalparameter_action"},
	 { (char *)"icalparameter_set_actionparam", _wrap_icalparameter_set_actionparam, METH_VARARGS, (char *)"icalparameter_set_actionparam(icalparameter value, icalparameter_action v)"},
	 { (char *)"icalparameter_new_altrep", _wrap_icalparameter_new_altrep, METH_VARARGS, (char *)"icalparameter_new_altrep(char v) -> icalparameter"},
	 { (char *)"icalparameter_get_altrep", _wrap_icalparameter_get_altrep, METH_VARARGS, (char *)"icalparameter_get_altrep(icalparameter value) -> char"},
	 { (char *)"icalparameter_set_altrep", _wrap_icalparameter_set_altrep, METH_VARARGS, (char *)"icalparameter_set_altrep(icalparameter value, char v)"},
	 { (char *)"icalparameter_new_charset", _wrap_icalparameter_new_charset, METH_VARARGS, (char *)"icalparameter_new_charset(char v) -> icalparameter"},
	 { (char *)"icalparameter_get_charset", _wrap_icalparameter_get_charset, METH_VARARGS, (char *)"icalparameter_get_charset(icalparameter value) -> char"},
	 { (char *)"icalparameter_set_charset", _wrap_icalparameter_set_charset, METH_VARARGS, (char *)"icalparameter_set_charset(icalparameter value, char v)"},
	 { (char *)"icalparameter_new_cn", _wrap_icalparameter_new_cn, METH_VARARGS, (char *)"icalparameter_new_cn(char v) -> icalparameter"},
	 { (char *)"icalparameter_get_cn", _wrap_icalparameter_get_cn, METH_VARARGS, (char *)"icalparameter_get_cn(icalparameter value) -> char"},
	 { (char *)"icalparameter_set_cn", _wrap_icalparameter_set_cn, METH_VARARGS, (char *)"icalparameter_set_cn(icalparameter value, char v)"},
	 { (char *)"icalparameter_new_cutype", _wrap_icalparameter_new_cutype, METH_VARARGS, (char *)"icalparameter_new_cutype(icalparameter_cutype v) -> icalparameter"},
	 { (char *)"icalparameter_get_cutype", _wrap_icalparameter_get_cutype, METH_VARARGS, (char *)"icalparameter_get_cutype(icalparameter value) -> icalparameter_cutype"},
	 { (char *)"icalparameter_set_cutype", _wrap_icalparameter_set_cutype, METH_VARARGS, (char *)"icalparameter_set_cutype(icalparameter value, icalparameter_cutype v)"},
	 { (char *)"icalparameter_new_delegatedfrom", _wrap_icalparameter_new_delegatedfrom, METH_VARARGS, (char *)"icalparameter_new_delegatedfrom(char v) -> icalparameter"},
	 { (char *)"icalparameter_get_delegatedfrom", _wrap_icalparameter_get_delegatedfrom, METH_VARARGS, (char *)"icalparameter_get_delegatedfrom(icalparameter value) -> char"},
	 { (char *)"icalparameter_set_delegatedfrom", _wrap_icalparameter_set_delegatedfrom, METH_VARARGS, (char *)"icalparameter_set_delegatedfrom(icalparameter value, char v)"},
	 { (char *)"icalparameter_new_delegatedto", _wrap_icalparameter_new_delegatedto, METH_VARARGS, (char *)"icalparameter_new_delegatedto(char v) -> icalparameter"},
	 { (char *)"icalparameter_get_delegatedto", _wrap_icalparameter_get_delegatedto, METH_VARARGS, (char *)"icalparameter_get_delegatedto(icalparameter value) -> char"},
	 { (char *)"icalparameter_set_delegatedto", _wrap_icalparameter_set_delegatedto, METH_VARARGS, (char *)"icalparameter_set_delegatedto(icalparameter value, char v)"},
	 { (char *)"icalparameter_new_dir", _wrap_icalparameter_new_dir, METH_VARARGS, (char *)"icalparameter_new_dir(char v) -> icalparameter"},
	 { (char *)"icalparameter_get_dir", _wrap_icalparameter_get_dir, METH_VARARGS, (char *)"icalparameter_get_dir(icalparameter value) -> char"},
	 { (char *)"icalparameter_set_dir", _wrap_icalparameter_set_dir, METH_VARARGS, (char *)"icalparameter_set_dir(icalparameter value, char v)"},
	 { (char *)"icalparameter_new_enable", _wrap_icalparameter_new_enable, METH_VARARGS, (char *)"icalparameter_new_enable(icalparameter_enable v) -> icalparameter"},
	 { (char *)"icalparameter_get_enable", _wrap_icalparameter_get_enable, METH_VARARGS, (char *)"icalparameter_get_enable(icalparameter value) -> icalparameter_enable"},
	 { (char *)"icalparameter_set_enable", _wrap_icalparameter_set_enable, METH_VARARGS, (char *)"icalparameter_set_enable(icalparameter value, icalparameter_enable v)"},
	 { (char *)"icalparameter_new_encoding", _wrap_icalparameter_new_encoding, METH_VARARGS, (char *)"icalparameter_new_encoding(icalparameter_encoding v) -> icalparameter"},
	 { (char *)"icalparameter_get_encoding", _wrap_icalparameter_get_encoding, METH_VARARGS, (char *)"icalparameter_get_encoding(icalparameter value) -> icalparameter_encoding"},
	 { (char *)"icalparameter_set_encoding", _wrap_icalparameter_set_encoding, METH_VARARGS, (char *)"icalparameter_set_encoding(icalparameter value, icalparameter_encoding v)"},
	 { (char *)"icalparameter_new_fbtype", _wrap_icalparameter_new_fbtype, METH_VARARGS, (char *)"icalparameter_new_fbtype(icalparameter_fbtype v) -> icalparameter"},
	 { (char *)"icalparameter_get_fbtype", _wrap_icalparameter_get_fbtype, METH_VARARGS, (char *)"icalparameter_get_fbtype(icalparameter value) -> icalparameter_fbtype"},
	 { (char *)"icalparameter_set_fbtype", _wrap_icalparameter_set_fbtype, METH_VARARGS, (char *)"icalparameter_set_fbtype(icalparameter value, icalparameter_fbtype v)"},
	 { (char *)"icalparameter_new_fmttype", _wrap_icalparameter_new_fmttype, METH_VARARGS, (char *)"icalparameter_new_fmttype(char v) -> icalparameter"},
	 { (char *)"icalparameter_get_fmttype", _wrap_icalparameter_get_fmttype, METH_VARARGS, (char *)"icalparameter_get_fmttype(icalparameter value) -> char"},
	 { (char *)"icalparameter_set_fmttype", _wrap_icalparameter_set_fmttype, METH_VARARGS, (char *)"icalparameter_set_fmttype(icalparameter value, char v)"},
	 { (char *)"icalparameter_new_iana", _wrap_icalparameter_new_iana, METH_VARARGS, (char *)"icalparameter_new_iana(char v) -> icalparameter"},
	 { (char *)"icalparameter_get_iana", _wrap_icalparameter_get_iana, METH_VARARGS, (char *)"icalparameter_get_iana(icalparameter value) -> char"},
	 { (char *)"icalparameter_set_iana", _wrap_icalparameter_set_iana, METH_VARARGS, (char *)"icalparameter_set_iana(icalparameter value, char v)"},
	 { (char *)"icalparameter_new_id", _wrap_icalparameter_new_id, METH_VARARGS, (char *)"icalparameter_new_id(char v) -> icalparameter"},
	 { (char *)"icalparameter_get_id", _wrap_icalparameter_get_id, METH_VARARGS, (char *)"icalparameter_get_id(icalparameter value) -> char"},
	 { (char *)"icalparameter_set_id", _wrap_icalparameter_set_id, METH_VARARGS, (char *)"icalparameter_set_id(icalparameter value, char v)"},
	 { (char *)"icalparameter_new_language", _wrap_icalparameter_new_language, METH_VARARGS, (char *)"icalparameter_new_language(char v) -> icalparameter"},
	 { (char *)"icalparameter_get_language", _wrap_icalparameter_get_language, METH_VARARGS, (char *)"icalparameter_get_language(icalparameter value) -> char"},
	 { (char *)"icalparameter_set_language", _wrap_icalparameter_set_language, METH_VARARGS, (char *)"icalparameter_set_language(icalparameter value, char v)"},
	 { (char *)"icalparameter_new_latency", _wrap_icalparameter_new_latency, METH_VARARGS, (char *)"icalparameter_new_latency(char v) -> icalparameter"},
	 { (char *)"icalparameter_get_latency", _wrap_icalparameter_get_latency, METH_VARARGS, (char *)"icalparameter_get_latency(icalparameter value) -> char"},
	 { (char *)"icalparameter_set_latency", _wrap_icalparameter_set_latency, METH_VARARGS, (char *)"icalparameter_set_latency(icalparameter value, char v)"},
	 { (char *)"icalparameter_new_local", _wrap_icalparameter_new_local, METH_VARARGS, (char *)"icalparameter_new_local(icalparameter_local v) -> icalparameter"},
	 { (char *)"icalparameter_get_local", _wrap_icalparameter_get_local, METH_VARARGS, (char *)"icalparameter_get_local(icalparameter value) -> icalparameter_local"},
	 { (char *)"icalparameter_set_local", _wrap_icalparameter_set_local, METH_VARARGS, (char *)"icalparameter_set_local(icalparameter value, icalparameter_local v)"},
	 { (char *)"icalparameter_new_localize", _wrap_icalparameter_new_localize, METH_VARARGS, (char *)"icalparameter_new_localize(char v) -> icalparameter"},
	 { (char *)"icalparameter_get_localize", _wrap_icalparameter_get_localize, METH_VARARGS, (char *)"icalparameter_get_localize(icalparameter value) -> char"},
	 { (char *)"icalparameter_set_localize", _wrap_icalparameter_set_localize, METH_VARARGS, (char *)"icalparameter_set_localize(icalparameter value, char v)"},
	 { (char *)"icalparameter_new_member", _wrap_icalparameter_new_member, METH_VARARGS, (char *)"icalparameter_new_member(char v) -> icalparameter"},
	 { (char *)"icalparameter_get_member", _wrap_icalparameter_get_member, METH_VARARGS, (char *)"icalparameter_get_member(icalparameter value) -> char"},
	 { (char *)"icalparameter_set_member", _wrap_icalparameter_set_member, METH_VARARGS, (char *)"icalparameter_set_member(icalparameter value, char v)"},
	 { (char *)"icalparameter_new_options", _wrap_icalparameter_new_options, METH_VARARGS, (char *)"icalparameter_new_options(char v) -> icalparameter"},
	 { (char *)"icalparameter_get_options", _wrap_icalparameter_get_options, METH_VARARGS, (char *)"icalparameter_get_options(icalparameter value) -> char"},
	 { (char *)"icalparameter_set_options", _wrap_icalparameter_set_options, METH_VARARGS, (char *)"icalparameter_set_options(icalparameter value, char v)"},
	 { (char *)"icalparameter_new_partstat", _wrap_icalparameter_new_partstat, METH_VARARGS, (char *)"icalparameter_new_partstat(icalparameter_partstat v) -> icalparameter"},
	 { (char *)"icalparameter_get_partstat", _wrap_icalparameter_get_partstat, METH_VARARGS, (char *)"icalparameter_get_partstat(icalparameter value) -> icalparameter_partstat"},
	 { (char *)"icalparameter_set_partstat", _wrap_icalparameter_set_partstat, METH_VARARGS, (char *)"icalparameter_set_partstat(icalparameter value, icalparameter_partstat v)"},
	 { (char *)"icalparameter_new_range", _wrap_icalparameter_new_range, METH_VARARGS, (char *)"icalparameter_new_range(icalparameter_range v) -> icalparameter"},
	 { (char *)"icalparameter_get_range", _wrap_icalparameter_get_range, METH_VARARGS, (char *)"icalparameter_get_range(icalparameter value) -> icalparameter_range"},
	 { (char *)"icalparameter_set_range", _wrap_icalparameter_set_range, METH_VARARGS, (char *)"icalparameter_set_range(icalparameter value, icalparameter_range v)"},
	 { (char *)"icalparameter_new_related", _wrap_icalparameter_new_related, METH_VARARGS, (char *)"icalparameter_new_related(icalparameter_related v) -> icalparameter"},
	 { (char *)"icalparameter_get_related", _wrap_icalparameter_get_related, METH_VARARGS, (char *)"icalparameter_get_related(icalparameter value) -> icalparameter_related"},
	 { (char *)"icalparameter_set_related", _wrap_icalparameter_set_related, METH_VARARGS, (char *)"icalparameter_set_related(icalparameter value, icalparameter_related v)"},
	 { (char *)"icalparameter_new_reltype", _wrap_icalparameter_new_reltype, METH_VARARGS, (char *)"icalparameter_new_reltype(icalparameter_reltype v) -> icalparameter"},
	 { (char *)"icalparameter_get_reltype", _wrap_icalparameter_get_reltype, METH_VARARGS, (char *)"icalparameter_get_reltype(icalparameter value) -> icalparameter_reltype"},
	 { (char *)"icalparameter_set_reltype", _wrap_icalparameter_set_reltype, METH_VARARGS, (char *)"icalparameter_set_reltype(icalparameter value, icalparameter_reltype v)"},
	 { (char *)"icalparameter_new_role", _wrap_icalparameter_new_role, METH_VARARGS, (char *)"icalparameter_new_role(icalparameter_role v) -> icalparameter"},
	 { (char *)"icalparameter_get_role", _wrap_icalparameter_get_role, METH_VARARGS, (char *)"icalparameter_get_role(icalparameter value) -> icalparameter_role"},
	 { (char *)"icalparameter_set_role", _wrap_icalparameter_set_role, METH_VARARGS, (char *)"icalparameter_set_role(icalparameter value, icalparameter_role v)"},
	 { (char *)"icalparameter_new_rsvp", _wrap_icalparameter_new_rsvp, METH_VARARGS, (char *)"icalparameter_new_rsvp(icalparameter_rsvp v) -> icalparameter"},
	 { (char *)"icalparameter_get_rsvp", _wrap_icalparameter_get_rsvp, METH_VARARGS, (char *)"icalparameter_get_rsvp(icalparameter value) -> icalparameter_rsvp"},
	 { (char *)"icalparameter_set_rsvp", _wrap_icalparameter_set_rsvp, METH_VARARGS, (char *)"icalparameter_set_rsvp(icalparameter value, icalparameter_rsvp v)"},
	 { (char *)"icalparameter_new_sentby", _wrap_icalparameter_new_sentby, METH_VARARGS, (char *)"icalparameter_new_sentby(char v) -> icalparameter"},
	 { (char *)"icalparameter_get_sentby", _wrap_icalparameter_get_sentby, METH_VARARGS, (char *)"icalparameter_get_sentby(icalparameter value) -> char"},
	 { (char *)"icalparameter_set_sentby", _wrap_icalparameter_set_sentby, METH_VARARGS, (char *)"icalparameter_set_sentby(icalparameter value, char v)"},
	 { (char *)"icalparameter_new_tzid", _wrap_icalparameter_new_tzid, METH_VARARGS, (char *)"icalparameter_new_tzid(char v) -> icalparameter"},
	 { (char *)"icalparameter_get_tzid", _wrap_icalparameter_get_tzid, METH_VARARGS, (char *)"icalparameter_get_tzid(icalparameter value) -> char"},
	 { (char *)"icalparameter_set_tzid", _wrap_icalparameter_set_tzid, METH_VARARGS, (char *)"icalparameter_set_tzid(icalparameter value, char v)"},
	 { (char *)"icalparameter_new_value", _wrap_icalparameter_new_value, METH_VARARGS, (char *)"icalparameter_new_value(icalparameter_value v) -> icalparameter"},
	 { (char *)"icalparameter_get_value", _wrap_icalparameter_get_value, METH_VARARGS, (char *)"icalparameter_get_value(icalparameter value) -> icalparameter_value"},
	 { (char *)"icalparameter_set_value", _wrap_icalparameter_set_value, METH_VARARGS, (char *)"icalparameter_set_value(icalparameter value, icalparameter_value v)"},
	 { (char *)"icalparameter_new_x", _wrap_icalparameter_new_x, METH_VARARGS, (char *)"icalparameter_new_x(char v) -> icalparameter"},
	 { (char *)"icalparameter_get_x", _wrap_icalparameter_get_x, METH_VARARGS, (char *)"icalparameter_get_x(icalparameter value) -> char"},
	 { (char *)"icalparameter_set_x", _wrap_icalparameter_set_x, METH_VARARGS, (char *)"icalparameter_set_x(icalparameter value, char v)"},
	 { (char *)"icalparameter_new_xliccomparetype", _wrap_icalparameter_new_xliccomparetype, METH_VARARGS, (char *)"icalparameter_new_xliccomparetype(icalparameter_xliccomparetype v) -> icalparameter"},
	 { (char *)"icalparameter_get_xliccomparetype", _wrap_icalparameter_get_xliccomparetype, METH_VARARGS, (char *)"icalparameter_get_xliccomparetype(icalparameter value) -> icalparameter_xliccomparetype"},
	 { (char *)"icalparameter_set_xliccomparetype", _wrap_icalparameter_set_xliccomparetype, METH_VARARGS, (char *)"icalparameter_set_xliccomparetype(icalparameter value, icalparameter_xliccomparetype v)"},
	 { (char *)"icalparameter_new_xlicerrortype", _wrap_icalparameter_new_xlicerrortype, METH_VARARGS, (char *)"icalparameter_new_xlicerrortype(icalparameter_xlicerrortype v) -> icalparameter"},
	 { (char *)"icalparameter_get_xlicerrortype", _wrap_icalparameter_get_xlicerrortype, METH_VARARGS, (char *)"icalparameter_get_xlicerrortype(icalparameter value) -> icalparameter_xlicerrortype"},
	 { (char *)"icalparameter_set_xlicerrortype", _wrap_icalparameter_set_xlicerrortype, METH_VARARGS, (char *)"icalparameter_set_xlicerrortype(icalparameter value, icalparameter_xlicerrortype v)"},
	 { (char *)"icalvalue_new", _wrap_icalvalue_new, METH_VARARGS, (char *)"icalvalue_new(icalvalue_kind kind) -> icalvalue"},
	 { (char *)"icalvalue_new_clone", _wrap_icalvalue_new_clone, METH_VARARGS, (char *)"icalvalue_new_clone(icalvalue value) -> icalvalue"},
	 { (char *)"icalvalue_new_from_string", _wrap_icalvalue_new_from_string, METH_VARARGS, (char *)"icalvalue_new_from_string(icalvalue_kind kind, char str) -> icalvalue"},
	 { (char *)"icalvalue_free", _wrap_icalvalue_free, METH_VARARGS, (char *)"icalvalue_free(icalvalue value)"},
	 { (char *)"icalvalue_is_valid", _wrap_icalvalue_is_valid, METH_VARARGS, (char *)"icalvalue_is_valid(icalvalue value) -> int"},
	 { (char *)"icalvalue_as_ical_string", _wrap_icalvalue_as_ical_string, METH_VARARGS, (char *)"icalvalue_as_ical_string(icalvalue value) -> char"},
	 { (char *)"icalvalue_as_ical_string_r", _wrap_icalvalue_as_ical_string_r, METH_VARARGS, (char *)"icalvalue_as_ical_string_r(icalvalue value) -> char"},
	 { (char *)"icalvalue_isa", _wrap_icalvalue_isa, METH_VARARGS, (char *)"icalvalue_isa(icalvalue value) -> icalvalue_kind"},
	 { (char *)"icalvalue_isa_value", _wrap_icalvalue_isa_value, METH_VARARGS, (char *)"icalvalue_isa_value(void arg0) -> int"},
	 { (char *)"icalvalue_compare", _wrap_icalvalue_compare, METH_VARARGS, (char *)"icalvalue_compare(icalvalue a, icalvalue b) -> icalparameter_xliccomparetype"},
	 { (char *)"icalvalue_string_to_kind", _wrap_icalvalue_string_to_kind, METH_VARARGS, (char *)"icalvalue_string_to_kind(char str) -> icalvalue_kind"},
	 { (char *)"icalvalue_kind_to_string", _wrap_icalvalue_kind_to_string, METH_VARARGS, (char *)"icalvalue_kind_to_string(icalvalue_kind kind) -> char"},
	 { (char *)"icalvalue_kind_is_valid", _wrap_icalvalue_kind_is_valid, METH_VARARGS, (char *)"icalvalue_kind_is_valid(icalvalue_kind kind) -> int"},
	 { (char *)"icalvalue_encode_ical_string", _wrap_icalvalue_encode_ical_string, METH_VARARGS, (char *)"icalvalue_encode_ical_string(char szText, char szEncText, int MaxBufferLen) -> int"},
	 { (char *)"icalvalue_decode_ical_string", _wrap_icalvalue_decode_ical_string, METH_VARARGS, (char *)"icalvalue_decode_ical_string(char szText, char szDecText, int nMaxBufferLen) -> int"},
	 { (char *)"icalparameter_new", _wrap_icalparameter_new, METH_VARARGS, (char *)"icalparameter_new(icalparameter_kind kind) -> icalparameter"},
	 { (char *)"icalparameter_new_clone", _wrap_icalparameter_new_clone, METH_VARARGS, (char *)"icalparameter_new_clone(icalparameter p) -> icalparameter"},
	 { (char *)"icalparameter_new_from_string", _wrap_icalparameter_new_from_string, METH_VARARGS, (char *)"icalparameter_new_from_string(char value) -> icalparameter"},
	 { (char *)"icalparameter_new_from_value_string", _wrap_icalparameter_new_from_value_string, METH_VARARGS, (char *)"icalparameter_new_from_value_string(icalparameter_kind kind, char value) -> icalparameter"},
	 { (char *)"icalparameter_free", _wrap_icalparameter_free, METH_VARARGS, (char *)"icalparameter_free(icalparameter parameter)"},
	 { (char *)"icalparameter_as_ical_string", _wrap_icalparameter_as_ical_string, METH_VARARGS, (char *)"icalparameter_as_ical_string(icalparameter parameter) -> char"},
	 { (char *)"icalparameter_as_ical_string_r", _wrap_icalparameter_as_ical_string_r, METH_VARARGS, (char *)"icalparameter_as_ical_string_r(icalparameter parameter) -> char"},
	 { (char *)"icalparameter_isa", _wrap_icalparameter_isa, METH_VARARGS, (char *)"icalparameter_isa(icalparameter parameter) -> icalparameter_kind"},
	 { (char *)"icalparameter_isa_parameter", _wrap_icalparameter_isa_parameter, METH_VARARGS, (char *)"icalparameter_isa_parameter(void param) -> int"},
	 { (char *)"icalparameter_set_xname", _wrap_icalparameter_set_xname, METH_VARARGS, (char *)"icalparameter_set_xname(icalparameter param, char v)"},
	 { (char *)"icalparameter_get_xname", _wrap_icalparameter_get_xname, METH_VARARGS, (char *)"icalparameter_get_xname(icalparameter param) -> char"},
	 { (char *)"icalparameter_set_xvalue", _wrap_icalparameter_set_xvalue, METH_VARARGS, (char *)"icalparameter_set_xvalue(icalparameter param, char v)"},
	 { (char *)"icalparameter_get_xvalue", _wrap_icalparameter_get_xvalue, METH_VARARGS, (char *)"icalparameter_get_xvalue(icalparameter param) -> char"},
	 { (char *)"icalparameter_set_iana_name", _wrap_icalparameter_set_iana_name, METH_VARARGS, (char *)"icalparameter_set_iana_name(icalparameter param, char v)"},
	 { (char *)"icalparameter_get_iana_name", _wrap_icalparameter_get_iana_name, METH_VARARGS, (char *)"icalparameter_get_iana_name(icalparameter param) -> char"},
	 { (char *)"icalparameter_set_iana_value", _wrap_icalparameter_set_iana_value, METH_VARARGS, (char *)"icalparameter_set_iana_value(icalparameter param, char v)"},
	 { (char *)"icalparameter_get_iana_value", _wrap_icalparameter_get_iana_value, METH_VARARGS, (char *)"icalparameter_get_iana_value(icalparameter param) -> char"},
	 { (char *)"icalparameter_has_same_name", _wrap_icalparameter_has_same_name, METH_VARARGS, (char *)"icalparameter_has_same_name(icalparameter param1, icalparameter param2) -> int"},
	 { (char *)"icalparameter_kind_to_string", _wrap_icalparameter_kind_to_string, METH_VARARGS, (char *)"icalparameter_kind_to_string(icalparameter_kind kind) -> char"},
	 { (char *)"icalparameter_string_to_kind", _wrap_icalparameter_string_to_kind, METH_VARARGS, (char *)"icalparameter_string_to_kind(char string) -> icalparameter_kind"},
	 { (char *)"icalproperty_new_action", _wrap_icalproperty_new_action, METH_VARARGS, (char *)"icalproperty_new_action(enum icalproperty_action v) -> icalproperty"},
	 { (char *)"icalproperty_set_action", _wrap_icalproperty_set_action, METH_VARARGS, (char *)"icalproperty_set_action(icalproperty prop, enum icalproperty_action v)"},
	 { (char *)"icalproperty_get_action", _wrap_icalproperty_get_action, METH_VARARGS, (char *)"icalproperty_get_action(icalproperty prop) -> enum icalproperty_action"},
	 { (char *)"icalproperty_vanew_action", _wrap_icalproperty_vanew_action, METH_VARARGS, (char *)"icalproperty_vanew_action(enum icalproperty_action v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_allowconflict", _wrap_icalproperty_new_allowconflict, METH_VARARGS, (char *)"icalproperty_new_allowconflict(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_allowconflict", _wrap_icalproperty_set_allowconflict, METH_VARARGS, (char *)"icalproperty_set_allowconflict(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_allowconflict", _wrap_icalproperty_get_allowconflict, METH_VARARGS, (char *)"icalproperty_get_allowconflict(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_allowconflict", _wrap_icalproperty_vanew_allowconflict, METH_VARARGS, (char *)"icalproperty_vanew_allowconflict(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_attach", _wrap_icalproperty_new_attach, METH_VARARGS, (char *)"icalproperty_new_attach(icalattach v) -> icalproperty"},
	 { (char *)"icalproperty_set_attach", _wrap_icalproperty_set_attach, METH_VARARGS, (char *)"icalproperty_set_attach(icalproperty prop, icalattach v)"},
	 { (char *)"icalproperty_get_attach", _wrap_icalproperty_get_attach, METH_VARARGS, (char *)"icalproperty_get_attach(icalproperty prop) -> icalattach"},
	 { (char *)"icalproperty_vanew_attach", _wrap_icalproperty_vanew_attach, METH_VARARGS, (char *)"icalproperty_vanew_attach(icalattach v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_attendee", _wrap_icalproperty_new_attendee, METH_VARARGS, (char *)"icalproperty_new_attendee(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_attendee", _wrap_icalproperty_set_attendee, METH_VARARGS, (char *)"icalproperty_set_attendee(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_attendee", _wrap_icalproperty_get_attendee, METH_VARARGS, (char *)"icalproperty_get_attendee(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_attendee", _wrap_icalproperty_vanew_attendee, METH_VARARGS, (char *)"icalproperty_vanew_attendee(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_calid", _wrap_icalproperty_new_calid, METH_VARARGS, (char *)"icalproperty_new_calid(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_calid", _wrap_icalproperty_set_calid, METH_VARARGS, (char *)"icalproperty_set_calid(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_calid", _wrap_icalproperty_get_calid, METH_VARARGS, (char *)"icalproperty_get_calid(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_calid", _wrap_icalproperty_vanew_calid, METH_VARARGS, (char *)"icalproperty_vanew_calid(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_calmaster", _wrap_icalproperty_new_calmaster, METH_VARARGS, (char *)"icalproperty_new_calmaster(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_calmaster", _wrap_icalproperty_set_calmaster, METH_VARARGS, (char *)"icalproperty_set_calmaster(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_calmaster", _wrap_icalproperty_get_calmaster, METH_VARARGS, (char *)"icalproperty_get_calmaster(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_calmaster", _wrap_icalproperty_vanew_calmaster, METH_VARARGS, (char *)"icalproperty_vanew_calmaster(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_calscale", _wrap_icalproperty_new_calscale, METH_VARARGS, (char *)"icalproperty_new_calscale(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_calscale", _wrap_icalproperty_set_calscale, METH_VARARGS, (char *)"icalproperty_set_calscale(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_calscale", _wrap_icalproperty_get_calscale, METH_VARARGS, (char *)"icalproperty_get_calscale(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_calscale", _wrap_icalproperty_vanew_calscale, METH_VARARGS, (char *)"icalproperty_vanew_calscale(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_capversion", _wrap_icalproperty_new_capversion, METH_VARARGS, (char *)"icalproperty_new_capversion(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_capversion", _wrap_icalproperty_set_capversion, METH_VARARGS, (char *)"icalproperty_set_capversion(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_capversion", _wrap_icalproperty_get_capversion, METH_VARARGS, (char *)"icalproperty_get_capversion(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_capversion", _wrap_icalproperty_vanew_capversion, METH_VARARGS, (char *)"icalproperty_vanew_capversion(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_carlevel", _wrap_icalproperty_new_carlevel, METH_VARARGS, (char *)"icalproperty_new_carlevel(enum icalproperty_carlevel v) -> icalproperty"},
	 { (char *)"icalproperty_set_carlevel", _wrap_icalproperty_set_carlevel, METH_VARARGS, (char *)"icalproperty_set_carlevel(icalproperty prop, enum icalproperty_carlevel v)"},
	 { (char *)"icalproperty_get_carlevel", _wrap_icalproperty_get_carlevel, METH_VARARGS, (char *)"icalproperty_get_carlevel(icalproperty prop) -> enum icalproperty_carlevel"},
	 { (char *)"icalproperty_vanew_carlevel", _wrap_icalproperty_vanew_carlevel, METH_VARARGS, (char *)"icalproperty_vanew_carlevel(enum icalproperty_carlevel v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_carid", _wrap_icalproperty_new_carid, METH_VARARGS, (char *)"icalproperty_new_carid(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_carid", _wrap_icalproperty_set_carid, METH_VARARGS, (char *)"icalproperty_set_carid(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_carid", _wrap_icalproperty_get_carid, METH_VARARGS, (char *)"icalproperty_get_carid(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_carid", _wrap_icalproperty_vanew_carid, METH_VARARGS, (char *)"icalproperty_vanew_carid(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_categories", _wrap_icalproperty_new_categories, METH_VARARGS, (char *)"icalproperty_new_categories(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_categories", _wrap_icalproperty_set_categories, METH_VARARGS, (char *)"icalproperty_set_categories(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_categories", _wrap_icalproperty_get_categories, METH_VARARGS, (char *)"icalproperty_get_categories(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_categories", _wrap_icalproperty_vanew_categories, METH_VARARGS, (char *)"icalproperty_vanew_categories(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_class", _wrap_icalproperty_new_class, METH_VARARGS, (char *)"icalproperty_new_class(enum icalproperty_class v) -> icalproperty"},
	 { (char *)"icalproperty_set_class", _wrap_icalproperty_set_class, METH_VARARGS, (char *)"icalproperty_set_class(icalproperty prop, enum icalproperty_class v)"},
	 { (char *)"icalproperty_get_class", _wrap_icalproperty_get_class, METH_VARARGS, (char *)"icalproperty_get_class(icalproperty prop) -> enum icalproperty_class"},
	 { (char *)"icalproperty_vanew_class", _wrap_icalproperty_vanew_class, METH_VARARGS, (char *)"icalproperty_vanew_class(enum icalproperty_class v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_cmd", _wrap_icalproperty_new_cmd, METH_VARARGS, (char *)"icalproperty_new_cmd(enum icalproperty_cmd v) -> icalproperty"},
	 { (char *)"icalproperty_set_cmd", _wrap_icalproperty_set_cmd, METH_VARARGS, (char *)"icalproperty_set_cmd(icalproperty prop, enum icalproperty_cmd v)"},
	 { (char *)"icalproperty_get_cmd", _wrap_icalproperty_get_cmd, METH_VARARGS, (char *)"icalproperty_get_cmd(icalproperty prop) -> enum icalproperty_cmd"},
	 { (char *)"icalproperty_vanew_cmd", _wrap_icalproperty_vanew_cmd, METH_VARARGS, (char *)"icalproperty_vanew_cmd(enum icalproperty_cmd v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_comment", _wrap_icalproperty_new_comment, METH_VARARGS, (char *)"icalproperty_new_comment(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_comment", _wrap_icalproperty_set_comment, METH_VARARGS, (char *)"icalproperty_set_comment(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_comment", _wrap_icalproperty_get_comment, METH_VARARGS, (char *)"icalproperty_get_comment(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_comment", _wrap_icalproperty_vanew_comment, METH_VARARGS, (char *)"icalproperty_vanew_comment(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_completed", _wrap_icalproperty_new_completed, METH_VARARGS, (char *)"icalproperty_new_completed(struct icaltimetype v) -> icalproperty"},
	 { (char *)"icalproperty_set_completed", _wrap_icalproperty_set_completed, METH_VARARGS, (char *)"icalproperty_set_completed(icalproperty prop, struct icaltimetype v)"},
	 { (char *)"icalproperty_get_completed", _wrap_icalproperty_get_completed, METH_VARARGS, (char *)"icalproperty_get_completed(icalproperty prop) -> struct icaltimetype"},
	 { (char *)"icalproperty_vanew_completed", _wrap_icalproperty_vanew_completed, METH_VARARGS, (char *)"icalproperty_vanew_completed(struct icaltimetype v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_components", _wrap_icalproperty_new_components, METH_VARARGS, (char *)"icalproperty_new_components(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_components", _wrap_icalproperty_set_components, METH_VARARGS, (char *)"icalproperty_set_components(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_components", _wrap_icalproperty_get_components, METH_VARARGS, (char *)"icalproperty_get_components(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_components", _wrap_icalproperty_vanew_components, METH_VARARGS, (char *)"icalproperty_vanew_components(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_contact", _wrap_icalproperty_new_contact, METH_VARARGS, (char *)"icalproperty_new_contact(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_contact", _wrap_icalproperty_set_contact, METH_VARARGS, (char *)"icalproperty_set_contact(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_contact", _wrap_icalproperty_get_contact, METH_VARARGS, (char *)"icalproperty_get_contact(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_contact", _wrap_icalproperty_vanew_contact, METH_VARARGS, (char *)"icalproperty_vanew_contact(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_created", _wrap_icalproperty_new_created, METH_VARARGS, (char *)"icalproperty_new_created(struct icaltimetype v) -> icalproperty"},
	 { (char *)"icalproperty_set_created", _wrap_icalproperty_set_created, METH_VARARGS, (char *)"icalproperty_set_created(icalproperty prop, struct icaltimetype v)"},
	 { (char *)"icalproperty_get_created", _wrap_icalproperty_get_created, METH_VARARGS, (char *)"icalproperty_get_created(icalproperty prop) -> struct icaltimetype"},
	 { (char *)"icalproperty_vanew_created", _wrap_icalproperty_vanew_created, METH_VARARGS, (char *)"icalproperty_vanew_created(struct icaltimetype v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_csid", _wrap_icalproperty_new_csid, METH_VARARGS, (char *)"icalproperty_new_csid(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_csid", _wrap_icalproperty_set_csid, METH_VARARGS, (char *)"icalproperty_set_csid(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_csid", _wrap_icalproperty_get_csid, METH_VARARGS, (char *)"icalproperty_get_csid(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_csid", _wrap_icalproperty_vanew_csid, METH_VARARGS, (char *)"icalproperty_vanew_csid(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_datemax", _wrap_icalproperty_new_datemax, METH_VARARGS, (char *)"icalproperty_new_datemax(struct icaltimetype v) -> icalproperty"},
	 { (char *)"icalproperty_set_datemax", _wrap_icalproperty_set_datemax, METH_VARARGS, (char *)"icalproperty_set_datemax(icalproperty prop, struct icaltimetype v)"},
	 { (char *)"icalproperty_get_datemax", _wrap_icalproperty_get_datemax, METH_VARARGS, (char *)"icalproperty_get_datemax(icalproperty prop) -> struct icaltimetype"},
	 { (char *)"icalproperty_vanew_datemax", _wrap_icalproperty_vanew_datemax, METH_VARARGS, (char *)"icalproperty_vanew_datemax(struct icaltimetype v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_datemin", _wrap_icalproperty_new_datemin, METH_VARARGS, (char *)"icalproperty_new_datemin(struct icaltimetype v) -> icalproperty"},
	 { (char *)"icalproperty_set_datemin", _wrap_icalproperty_set_datemin, METH_VARARGS, (char *)"icalproperty_set_datemin(icalproperty prop, struct icaltimetype v)"},
	 { (char *)"icalproperty_get_datemin", _wrap_icalproperty_get_datemin, METH_VARARGS, (char *)"icalproperty_get_datemin(icalproperty prop) -> struct icaltimetype"},
	 { (char *)"icalproperty_vanew_datemin", _wrap_icalproperty_vanew_datemin, METH_VARARGS, (char *)"icalproperty_vanew_datemin(struct icaltimetype v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_decreed", _wrap_icalproperty_new_decreed, METH_VARARGS, (char *)"icalproperty_new_decreed(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_decreed", _wrap_icalproperty_set_decreed, METH_VARARGS, (char *)"icalproperty_set_decreed(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_decreed", _wrap_icalproperty_get_decreed, METH_VARARGS, (char *)"icalproperty_get_decreed(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_decreed", _wrap_icalproperty_vanew_decreed, METH_VARARGS, (char *)"icalproperty_vanew_decreed(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_defaultcharset", _wrap_icalproperty_new_defaultcharset, METH_VARARGS, (char *)"icalproperty_new_defaultcharset(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_defaultcharset", _wrap_icalproperty_set_defaultcharset, METH_VARARGS, (char *)"icalproperty_set_defaultcharset(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_defaultcharset", _wrap_icalproperty_get_defaultcharset, METH_VARARGS, (char *)"icalproperty_get_defaultcharset(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_defaultcharset", _wrap_icalproperty_vanew_defaultcharset, METH_VARARGS, (char *)"icalproperty_vanew_defaultcharset(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_defaultlocale", _wrap_icalproperty_new_defaultlocale, METH_VARARGS, (char *)"icalproperty_new_defaultlocale(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_defaultlocale", _wrap_icalproperty_set_defaultlocale, METH_VARARGS, (char *)"icalproperty_set_defaultlocale(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_defaultlocale", _wrap_icalproperty_get_defaultlocale, METH_VARARGS, (char *)"icalproperty_get_defaultlocale(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_defaultlocale", _wrap_icalproperty_vanew_defaultlocale, METH_VARARGS, (char *)"icalproperty_vanew_defaultlocale(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_defaulttzid", _wrap_icalproperty_new_defaulttzid, METH_VARARGS, (char *)"icalproperty_new_defaulttzid(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_defaulttzid", _wrap_icalproperty_set_defaulttzid, METH_VARARGS, (char *)"icalproperty_set_defaulttzid(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_defaulttzid", _wrap_icalproperty_get_defaulttzid, METH_VARARGS, (char *)"icalproperty_get_defaulttzid(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_defaulttzid", _wrap_icalproperty_vanew_defaulttzid, METH_VARARGS, (char *)"icalproperty_vanew_defaulttzid(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_defaultvcars", _wrap_icalproperty_new_defaultvcars, METH_VARARGS, (char *)"icalproperty_new_defaultvcars(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_defaultvcars", _wrap_icalproperty_set_defaultvcars, METH_VARARGS, (char *)"icalproperty_set_defaultvcars(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_defaultvcars", _wrap_icalproperty_get_defaultvcars, METH_VARARGS, (char *)"icalproperty_get_defaultvcars(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_defaultvcars", _wrap_icalproperty_vanew_defaultvcars, METH_VARARGS, (char *)"icalproperty_vanew_defaultvcars(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_deny", _wrap_icalproperty_new_deny, METH_VARARGS, (char *)"icalproperty_new_deny(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_deny", _wrap_icalproperty_set_deny, METH_VARARGS, (char *)"icalproperty_set_deny(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_deny", _wrap_icalproperty_get_deny, METH_VARARGS, (char *)"icalproperty_get_deny(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_deny", _wrap_icalproperty_vanew_deny, METH_VARARGS, (char *)"icalproperty_vanew_deny(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_description", _wrap_icalproperty_new_description, METH_VARARGS, (char *)"icalproperty_new_description(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_description", _wrap_icalproperty_set_description, METH_VARARGS, (char *)"icalproperty_set_description(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_description", _wrap_icalproperty_get_description, METH_VARARGS, (char *)"icalproperty_get_description(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_description", _wrap_icalproperty_vanew_description, METH_VARARGS, (char *)"icalproperty_vanew_description(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_dtend", _wrap_icalproperty_new_dtend, METH_VARARGS, (char *)"icalproperty_new_dtend(struct icaltimetype v) -> icalproperty"},
	 { (char *)"icalproperty_set_dtend", _wrap_icalproperty_set_dtend, METH_VARARGS, (char *)"icalproperty_set_dtend(icalproperty prop, struct icaltimetype v)"},
	 { (char *)"icalproperty_get_dtend", _wrap_icalproperty_get_dtend, METH_VARARGS, (char *)"icalproperty_get_dtend(icalproperty prop) -> struct icaltimetype"},
	 { (char *)"icalproperty_vanew_dtend", _wrap_icalproperty_vanew_dtend, METH_VARARGS, (char *)"icalproperty_vanew_dtend(struct icaltimetype v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_dtstamp", _wrap_icalproperty_new_dtstamp, METH_VARARGS, (char *)"icalproperty_new_dtstamp(struct icaltimetype v) -> icalproperty"},
	 { (char *)"icalproperty_set_dtstamp", _wrap_icalproperty_set_dtstamp, METH_VARARGS, (char *)"icalproperty_set_dtstamp(icalproperty prop, struct icaltimetype v)"},
	 { (char *)"icalproperty_get_dtstamp", _wrap_icalproperty_get_dtstamp, METH_VARARGS, (char *)"icalproperty_get_dtstamp(icalproperty prop) -> struct icaltimetype"},
	 { (char *)"icalproperty_vanew_dtstamp", _wrap_icalproperty_vanew_dtstamp, METH_VARARGS, (char *)"icalproperty_vanew_dtstamp(struct icaltimetype v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_dtstart", _wrap_icalproperty_new_dtstart, METH_VARARGS, (char *)"icalproperty_new_dtstart(struct icaltimetype v) -> icalproperty"},
	 { (char *)"icalproperty_set_dtstart", _wrap_icalproperty_set_dtstart, METH_VARARGS, (char *)"icalproperty_set_dtstart(icalproperty prop, struct icaltimetype v)"},
	 { (char *)"icalproperty_get_dtstart", _wrap_icalproperty_get_dtstart, METH_VARARGS, (char *)"icalproperty_get_dtstart(icalproperty prop) -> struct icaltimetype"},
	 { (char *)"icalproperty_vanew_dtstart", _wrap_icalproperty_vanew_dtstart, METH_VARARGS, (char *)"icalproperty_vanew_dtstart(struct icaltimetype v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_due", _wrap_icalproperty_new_due, METH_VARARGS, (char *)"icalproperty_new_due(struct icaltimetype v) -> icalproperty"},
	 { (char *)"icalproperty_set_due", _wrap_icalproperty_set_due, METH_VARARGS, (char *)"icalproperty_set_due(icalproperty prop, struct icaltimetype v)"},
	 { (char *)"icalproperty_get_due", _wrap_icalproperty_get_due, METH_VARARGS, (char *)"icalproperty_get_due(icalproperty prop) -> struct icaltimetype"},
	 { (char *)"icalproperty_vanew_due", _wrap_icalproperty_vanew_due, METH_VARARGS, (char *)"icalproperty_vanew_due(struct icaltimetype v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_duration", _wrap_icalproperty_new_duration, METH_VARARGS, (char *)"icalproperty_new_duration(struct icaldurationtype v) -> icalproperty"},
	 { (char *)"icalproperty_set_duration", _wrap_icalproperty_set_duration, METH_VARARGS, (char *)"icalproperty_set_duration(icalproperty prop, struct icaldurationtype v)"},
	 { (char *)"icalproperty_get_duration", _wrap_icalproperty_get_duration, METH_VARARGS, (char *)"icalproperty_get_duration(icalproperty prop) -> struct icaldurationtype"},
	 { (char *)"icalproperty_vanew_duration", _wrap_icalproperty_vanew_duration, METH_VARARGS, (char *)"icalproperty_vanew_duration(struct icaldurationtype v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_exdate", _wrap_icalproperty_new_exdate, METH_VARARGS, (char *)"icalproperty_new_exdate(struct icaltimetype v) -> icalproperty"},
	 { (char *)"icalproperty_set_exdate", _wrap_icalproperty_set_exdate, METH_VARARGS, (char *)"icalproperty_set_exdate(icalproperty prop, struct icaltimetype v)"},
	 { (char *)"icalproperty_get_exdate", _wrap_icalproperty_get_exdate, METH_VARARGS, (char *)"icalproperty_get_exdate(icalproperty prop) -> struct icaltimetype"},
	 { (char *)"icalproperty_vanew_exdate", _wrap_icalproperty_vanew_exdate, METH_VARARGS, (char *)"icalproperty_vanew_exdate(struct icaltimetype v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_expand", _wrap_icalproperty_new_expand, METH_VARARGS, (char *)"icalproperty_new_expand(int v) -> icalproperty"},
	 { (char *)"icalproperty_set_expand", _wrap_icalproperty_set_expand, METH_VARARGS, (char *)"icalproperty_set_expand(icalproperty prop, int v)"},
	 { (char *)"icalproperty_get_expand", _wrap_icalproperty_get_expand, METH_VARARGS, (char *)"icalproperty_get_expand(icalproperty prop) -> int"},
	 { (char *)"icalproperty_vanew_expand", _wrap_icalproperty_vanew_expand, METH_VARARGS, (char *)"icalproperty_vanew_expand(int v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_exrule", _wrap_icalproperty_new_exrule, METH_VARARGS, (char *)"icalproperty_new_exrule(struct icalrecurrencetype v) -> icalproperty"},
	 { (char *)"icalproperty_set_exrule", _wrap_icalproperty_set_exrule, METH_VARARGS, (char *)"icalproperty_set_exrule(icalproperty prop, struct icalrecurrencetype v)"},
	 { (char *)"icalproperty_get_exrule", _wrap_icalproperty_get_exrule, METH_VARARGS, (char *)"icalproperty_get_exrule(icalproperty prop) -> struct icalrecurrencetype"},
	 { (char *)"icalproperty_vanew_exrule", _wrap_icalproperty_vanew_exrule, METH_VARARGS, (char *)"icalproperty_vanew_exrule(struct icalrecurrencetype v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_freebusy", _wrap_icalproperty_new_freebusy, METH_VARARGS, (char *)"icalproperty_new_freebusy(struct icalperiodtype v) -> icalproperty"},
	 { (char *)"icalproperty_set_freebusy", _wrap_icalproperty_set_freebusy, METH_VARARGS, (char *)"icalproperty_set_freebusy(icalproperty prop, struct icalperiodtype v)"},
	 { (char *)"icalproperty_get_freebusy", _wrap_icalproperty_get_freebusy, METH_VARARGS, (char *)"icalproperty_get_freebusy(icalproperty prop) -> struct icalperiodtype"},
	 { (char *)"icalproperty_vanew_freebusy", _wrap_icalproperty_vanew_freebusy, METH_VARARGS, (char *)"icalproperty_vanew_freebusy(struct icalperiodtype v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_geo", _wrap_icalproperty_new_geo, METH_VARARGS, (char *)"icalproperty_new_geo(struct icalgeotype v) -> icalproperty"},
	 { (char *)"icalproperty_set_geo", _wrap_icalproperty_set_geo, METH_VARARGS, (char *)"icalproperty_set_geo(icalproperty prop, struct icalgeotype v)"},
	 { (char *)"icalproperty_get_geo", _wrap_icalproperty_get_geo, METH_VARARGS, (char *)"icalproperty_get_geo(icalproperty prop) -> struct icalgeotype"},
	 { (char *)"icalproperty_vanew_geo", _wrap_icalproperty_vanew_geo, METH_VARARGS, (char *)"icalproperty_vanew_geo(struct icalgeotype v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_grant", _wrap_icalproperty_new_grant, METH_VARARGS, (char *)"icalproperty_new_grant(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_grant", _wrap_icalproperty_set_grant, METH_VARARGS, (char *)"icalproperty_set_grant(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_grant", _wrap_icalproperty_get_grant, METH_VARARGS, (char *)"icalproperty_get_grant(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_grant", _wrap_icalproperty_vanew_grant, METH_VARARGS, (char *)"icalproperty_vanew_grant(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_itipversion", _wrap_icalproperty_new_itipversion, METH_VARARGS, (char *)"icalproperty_new_itipversion(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_itipversion", _wrap_icalproperty_set_itipversion, METH_VARARGS, (char *)"icalproperty_set_itipversion(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_itipversion", _wrap_icalproperty_get_itipversion, METH_VARARGS, (char *)"icalproperty_get_itipversion(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_itipversion", _wrap_icalproperty_vanew_itipversion, METH_VARARGS, (char *)"icalproperty_vanew_itipversion(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_lastmodified", _wrap_icalproperty_new_lastmodified, METH_VARARGS, (char *)"icalproperty_new_lastmodified(struct icaltimetype v) -> icalproperty"},
	 { (char *)"icalproperty_set_lastmodified", _wrap_icalproperty_set_lastmodified, METH_VARARGS, (char *)"icalproperty_set_lastmodified(icalproperty prop, struct icaltimetype v)"},
	 { (char *)"icalproperty_get_lastmodified", _wrap_icalproperty_get_lastmodified, METH_VARARGS, (char *)"icalproperty_get_lastmodified(icalproperty prop) -> struct icaltimetype"},
	 { (char *)"icalproperty_vanew_lastmodified", _wrap_icalproperty_vanew_lastmodified, METH_VARARGS, (char *)"icalproperty_vanew_lastmodified(struct icaltimetype v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_location", _wrap_icalproperty_new_location, METH_VARARGS, (char *)"icalproperty_new_location(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_location", _wrap_icalproperty_set_location, METH_VARARGS, (char *)"icalproperty_set_location(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_location", _wrap_icalproperty_get_location, METH_VARARGS, (char *)"icalproperty_get_location(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_location", _wrap_icalproperty_vanew_location, METH_VARARGS, (char *)"icalproperty_vanew_location(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_maxcomponentsize", _wrap_icalproperty_new_maxcomponentsize, METH_VARARGS, (char *)"icalproperty_new_maxcomponentsize(int v) -> icalproperty"},
	 { (char *)"icalproperty_set_maxcomponentsize", _wrap_icalproperty_set_maxcomponentsize, METH_VARARGS, (char *)"icalproperty_set_maxcomponentsize(icalproperty prop, int v)"},
	 { (char *)"icalproperty_get_maxcomponentsize", _wrap_icalproperty_get_maxcomponentsize, METH_VARARGS, (char *)"icalproperty_get_maxcomponentsize(icalproperty prop) -> int"},
	 { (char *)"icalproperty_vanew_maxcomponentsize", _wrap_icalproperty_vanew_maxcomponentsize, METH_VARARGS, (char *)"icalproperty_vanew_maxcomponentsize(int v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_maxdate", _wrap_icalproperty_new_maxdate, METH_VARARGS, (char *)"icalproperty_new_maxdate(struct icaltimetype v) -> icalproperty"},
	 { (char *)"icalproperty_set_maxdate", _wrap_icalproperty_set_maxdate, METH_VARARGS, (char *)"icalproperty_set_maxdate(icalproperty prop, struct icaltimetype v)"},
	 { (char *)"icalproperty_get_maxdate", _wrap_icalproperty_get_maxdate, METH_VARARGS, (char *)"icalproperty_get_maxdate(icalproperty prop) -> struct icaltimetype"},
	 { (char *)"icalproperty_vanew_maxdate", _wrap_icalproperty_vanew_maxdate, METH_VARARGS, (char *)"icalproperty_vanew_maxdate(struct icaltimetype v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_maxresults", _wrap_icalproperty_new_maxresults, METH_VARARGS, (char *)"icalproperty_new_maxresults(int v) -> icalproperty"},
	 { (char *)"icalproperty_set_maxresults", _wrap_icalproperty_set_maxresults, METH_VARARGS, (char *)"icalproperty_set_maxresults(icalproperty prop, int v)"},
	 { (char *)"icalproperty_get_maxresults", _wrap_icalproperty_get_maxresults, METH_VARARGS, (char *)"icalproperty_get_maxresults(icalproperty prop) -> int"},
	 { (char *)"icalproperty_vanew_maxresults", _wrap_icalproperty_vanew_maxresults, METH_VARARGS, (char *)"icalproperty_vanew_maxresults(int v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_maxresultssize", _wrap_icalproperty_new_maxresultssize, METH_VARARGS, (char *)"icalproperty_new_maxresultssize(int v) -> icalproperty"},
	 { (char *)"icalproperty_set_maxresultssize", _wrap_icalproperty_set_maxresultssize, METH_VARARGS, (char *)"icalproperty_set_maxresultssize(icalproperty prop, int v)"},
	 { (char *)"icalproperty_get_maxresultssize", _wrap_icalproperty_get_maxresultssize, METH_VARARGS, (char *)"icalproperty_get_maxresultssize(icalproperty prop) -> int"},
	 { (char *)"icalproperty_vanew_maxresultssize", _wrap_icalproperty_vanew_maxresultssize, METH_VARARGS, (char *)"icalproperty_vanew_maxresultssize(int v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_method", _wrap_icalproperty_new_method, METH_VARARGS, (char *)"icalproperty_new_method(enum icalproperty_method v) -> icalproperty"},
	 { (char *)"icalproperty_set_method", _wrap_icalproperty_set_method, METH_VARARGS, (char *)"icalproperty_set_method(icalproperty prop, enum icalproperty_method v)"},
	 { (char *)"icalproperty_get_method", _wrap_icalproperty_get_method, METH_VARARGS, (char *)"icalproperty_get_method(icalproperty prop) -> enum icalproperty_method"},
	 { (char *)"icalproperty_vanew_method", _wrap_icalproperty_vanew_method, METH_VARARGS, (char *)"icalproperty_vanew_method(enum icalproperty_method v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_mindate", _wrap_icalproperty_new_mindate, METH_VARARGS, (char *)"icalproperty_new_mindate(struct icaltimetype v) -> icalproperty"},
	 { (char *)"icalproperty_set_mindate", _wrap_icalproperty_set_mindate, METH_VARARGS, (char *)"icalproperty_set_mindate(icalproperty prop, struct icaltimetype v)"},
	 { (char *)"icalproperty_get_mindate", _wrap_icalproperty_get_mindate, METH_VARARGS, (char *)"icalproperty_get_mindate(icalproperty prop) -> struct icaltimetype"},
	 { (char *)"icalproperty_vanew_mindate", _wrap_icalproperty_vanew_mindate, METH_VARARGS, (char *)"icalproperty_vanew_mindate(struct icaltimetype v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_multipart", _wrap_icalproperty_new_multipart, METH_VARARGS, (char *)"icalproperty_new_multipart(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_multipart", _wrap_icalproperty_set_multipart, METH_VARARGS, (char *)"icalproperty_set_multipart(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_multipart", _wrap_icalproperty_get_multipart, METH_VARARGS, (char *)"icalproperty_get_multipart(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_multipart", _wrap_icalproperty_vanew_multipart, METH_VARARGS, (char *)"icalproperty_vanew_multipart(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_name", _wrap_icalproperty_new_name, METH_VARARGS, (char *)"icalproperty_new_name(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_name", _wrap_icalproperty_set_name, METH_VARARGS, (char *)"icalproperty_set_name(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_name", _wrap_icalproperty_get_name, METH_VARARGS, (char *)"icalproperty_get_name(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_name", _wrap_icalproperty_vanew_name, METH_VARARGS, (char *)"icalproperty_vanew_name(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_organizer", _wrap_icalproperty_new_organizer, METH_VARARGS, (char *)"icalproperty_new_organizer(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_organizer", _wrap_icalproperty_set_organizer, METH_VARARGS, (char *)"icalproperty_set_organizer(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_organizer", _wrap_icalproperty_get_organizer, METH_VARARGS, (char *)"icalproperty_get_organizer(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_organizer", _wrap_icalproperty_vanew_organizer, METH_VARARGS, (char *)"icalproperty_vanew_organizer(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_owner", _wrap_icalproperty_new_owner, METH_VARARGS, (char *)"icalproperty_new_owner(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_owner", _wrap_icalproperty_set_owner, METH_VARARGS, (char *)"icalproperty_set_owner(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_owner", _wrap_icalproperty_get_owner, METH_VARARGS, (char *)"icalproperty_get_owner(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_owner", _wrap_icalproperty_vanew_owner, METH_VARARGS, (char *)"icalproperty_vanew_owner(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_percentcomplete", _wrap_icalproperty_new_percentcomplete, METH_VARARGS, (char *)"icalproperty_new_percentcomplete(int v) -> icalproperty"},
	 { (char *)"icalproperty_set_percentcomplete", _wrap_icalproperty_set_percentcomplete, METH_VARARGS, (char *)"icalproperty_set_percentcomplete(icalproperty prop, int v)"},
	 { (char *)"icalproperty_get_percentcomplete", _wrap_icalproperty_get_percentcomplete, METH_VARARGS, (char *)"icalproperty_get_percentcomplete(icalproperty prop) -> int"},
	 { (char *)"icalproperty_vanew_percentcomplete", _wrap_icalproperty_vanew_percentcomplete, METH_VARARGS, (char *)"icalproperty_vanew_percentcomplete(int v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_permission", _wrap_icalproperty_new_permission, METH_VARARGS, (char *)"icalproperty_new_permission(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_permission", _wrap_icalproperty_set_permission, METH_VARARGS, (char *)"icalproperty_set_permission(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_permission", _wrap_icalproperty_get_permission, METH_VARARGS, (char *)"icalproperty_get_permission(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_permission", _wrap_icalproperty_vanew_permission, METH_VARARGS, (char *)"icalproperty_vanew_permission(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_priority", _wrap_icalproperty_new_priority, METH_VARARGS, (char *)"icalproperty_new_priority(int v) -> icalproperty"},
	 { (char *)"icalproperty_set_priority", _wrap_icalproperty_set_priority, METH_VARARGS, (char *)"icalproperty_set_priority(icalproperty prop, int v)"},
	 { (char *)"icalproperty_get_priority", _wrap_icalproperty_get_priority, METH_VARARGS, (char *)"icalproperty_get_priority(icalproperty prop) -> int"},
	 { (char *)"icalproperty_vanew_priority", _wrap_icalproperty_vanew_priority, METH_VARARGS, (char *)"icalproperty_vanew_priority(int v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_prodid", _wrap_icalproperty_new_prodid, METH_VARARGS, (char *)"icalproperty_new_prodid(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_prodid", _wrap_icalproperty_set_prodid, METH_VARARGS, (char *)"icalproperty_set_prodid(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_prodid", _wrap_icalproperty_get_prodid, METH_VARARGS, (char *)"icalproperty_get_prodid(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_prodid", _wrap_icalproperty_vanew_prodid, METH_VARARGS, (char *)"icalproperty_vanew_prodid(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_query", _wrap_icalproperty_new_query, METH_VARARGS, (char *)"icalproperty_new_query(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_query", _wrap_icalproperty_set_query, METH_VARARGS, (char *)"icalproperty_set_query(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_query", _wrap_icalproperty_get_query, METH_VARARGS, (char *)"icalproperty_get_query(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_query", _wrap_icalproperty_vanew_query, METH_VARARGS, (char *)"icalproperty_vanew_query(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_querylevel", _wrap_icalproperty_new_querylevel, METH_VARARGS, (char *)"icalproperty_new_querylevel(enum icalproperty_querylevel v) -> icalproperty"},
	 { (char *)"icalproperty_set_querylevel", _wrap_icalproperty_set_querylevel, METH_VARARGS, (char *)"icalproperty_set_querylevel(icalproperty prop, enum icalproperty_querylevel v)"},
	 { (char *)"icalproperty_get_querylevel", _wrap_icalproperty_get_querylevel, METH_VARARGS, (char *)"icalproperty_get_querylevel(icalproperty prop) -> enum icalproperty_querylevel"},
	 { (char *)"icalproperty_vanew_querylevel", _wrap_icalproperty_vanew_querylevel, METH_VARARGS, (char *)"icalproperty_vanew_querylevel(enum icalproperty_querylevel v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_queryid", _wrap_icalproperty_new_queryid, METH_VARARGS, (char *)"icalproperty_new_queryid(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_queryid", _wrap_icalproperty_set_queryid, METH_VARARGS, (char *)"icalproperty_set_queryid(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_queryid", _wrap_icalproperty_get_queryid, METH_VARARGS, (char *)"icalproperty_get_queryid(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_queryid", _wrap_icalproperty_vanew_queryid, METH_VARARGS, (char *)"icalproperty_vanew_queryid(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_queryname", _wrap_icalproperty_new_queryname, METH_VARARGS, (char *)"icalproperty_new_queryname(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_queryname", _wrap_icalproperty_set_queryname, METH_VARARGS, (char *)"icalproperty_set_queryname(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_queryname", _wrap_icalproperty_get_queryname, METH_VARARGS, (char *)"icalproperty_get_queryname(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_queryname", _wrap_icalproperty_vanew_queryname, METH_VARARGS, (char *)"icalproperty_vanew_queryname(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_rdate", _wrap_icalproperty_new_rdate, METH_VARARGS, (char *)"icalproperty_new_rdate(struct icaldatetimeperiodtype v) -> icalproperty"},
	 { (char *)"icalproperty_set_rdate", _wrap_icalproperty_set_rdate, METH_VARARGS, (char *)"icalproperty_set_rdate(icalproperty prop, struct icaldatetimeperiodtype v)"},
	 { (char *)"icalproperty_get_rdate", _wrap_icalproperty_get_rdate, METH_VARARGS, (char *)"icalproperty_get_rdate(icalproperty prop) -> struct icaldatetimeperiodtype"},
	 { (char *)"icalproperty_vanew_rdate", _wrap_icalproperty_vanew_rdate, METH_VARARGS, (char *)"icalproperty_vanew_rdate(struct icaldatetimeperiodtype v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_recuraccepted", _wrap_icalproperty_new_recuraccepted, METH_VARARGS, (char *)"icalproperty_new_recuraccepted(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_recuraccepted", _wrap_icalproperty_set_recuraccepted, METH_VARARGS, (char *)"icalproperty_set_recuraccepted(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_recuraccepted", _wrap_icalproperty_get_recuraccepted, METH_VARARGS, (char *)"icalproperty_get_recuraccepted(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_recuraccepted", _wrap_icalproperty_vanew_recuraccepted, METH_VARARGS, (char *)"icalproperty_vanew_recuraccepted(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_recurexpand", _wrap_icalproperty_new_recurexpand, METH_VARARGS, (char *)"icalproperty_new_recurexpand(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_recurexpand", _wrap_icalproperty_set_recurexpand, METH_VARARGS, (char *)"icalproperty_set_recurexpand(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_recurexpand", _wrap_icalproperty_get_recurexpand, METH_VARARGS, (char *)"icalproperty_get_recurexpand(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_recurexpand", _wrap_icalproperty_vanew_recurexpand, METH_VARARGS, (char *)"icalproperty_vanew_recurexpand(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_recurlimit", _wrap_icalproperty_new_recurlimit, METH_VARARGS, (char *)"icalproperty_new_recurlimit(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_recurlimit", _wrap_icalproperty_set_recurlimit, METH_VARARGS, (char *)"icalproperty_set_recurlimit(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_recurlimit", _wrap_icalproperty_get_recurlimit, METH_VARARGS, (char *)"icalproperty_get_recurlimit(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_recurlimit", _wrap_icalproperty_vanew_recurlimit, METH_VARARGS, (char *)"icalproperty_vanew_recurlimit(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_recurrenceid", _wrap_icalproperty_new_recurrenceid, METH_VARARGS, (char *)"icalproperty_new_recurrenceid(struct icaltimetype v) -> icalproperty"},
	 { (char *)"icalproperty_set_recurrenceid", _wrap_icalproperty_set_recurrenceid, METH_VARARGS, (char *)"icalproperty_set_recurrenceid(icalproperty prop, struct icaltimetype v)"},
	 { (char *)"icalproperty_get_recurrenceid", _wrap_icalproperty_get_recurrenceid, METH_VARARGS, (char *)"icalproperty_get_recurrenceid(icalproperty prop) -> struct icaltimetype"},
	 { (char *)"icalproperty_vanew_recurrenceid", _wrap_icalproperty_vanew_recurrenceid, METH_VARARGS, (char *)"icalproperty_vanew_recurrenceid(struct icaltimetype v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_relatedto", _wrap_icalproperty_new_relatedto, METH_VARARGS, (char *)"icalproperty_new_relatedto(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_relatedto", _wrap_icalproperty_set_relatedto, METH_VARARGS, (char *)"icalproperty_set_relatedto(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_relatedto", _wrap_icalproperty_get_relatedto, METH_VARARGS, (char *)"icalproperty_get_relatedto(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_relatedto", _wrap_icalproperty_vanew_relatedto, METH_VARARGS, (char *)"icalproperty_vanew_relatedto(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_relcalid", _wrap_icalproperty_new_relcalid, METH_VARARGS, (char *)"icalproperty_new_relcalid(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_relcalid", _wrap_icalproperty_set_relcalid, METH_VARARGS, (char *)"icalproperty_set_relcalid(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_relcalid", _wrap_icalproperty_get_relcalid, METH_VARARGS, (char *)"icalproperty_get_relcalid(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_relcalid", _wrap_icalproperty_vanew_relcalid, METH_VARARGS, (char *)"icalproperty_vanew_relcalid(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_repeat", _wrap_icalproperty_new_repeat, METH_VARARGS, (char *)"icalproperty_new_repeat(int v) -> icalproperty"},
	 { (char *)"icalproperty_set_repeat", _wrap_icalproperty_set_repeat, METH_VARARGS, (char *)"icalproperty_set_repeat(icalproperty prop, int v)"},
	 { (char *)"icalproperty_get_repeat", _wrap_icalproperty_get_repeat, METH_VARARGS, (char *)"icalproperty_get_repeat(icalproperty prop) -> int"},
	 { (char *)"icalproperty_vanew_repeat", _wrap_icalproperty_vanew_repeat, METH_VARARGS, (char *)"icalproperty_vanew_repeat(int v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_requeststatus", _wrap_icalproperty_new_requeststatus, METH_VARARGS, (char *)"icalproperty_new_requeststatus(struct icalreqstattype v) -> icalproperty"},
	 { (char *)"icalproperty_set_requeststatus", _wrap_icalproperty_set_requeststatus, METH_VARARGS, (char *)"icalproperty_set_requeststatus(icalproperty prop, struct icalreqstattype v)"},
	 { (char *)"icalproperty_get_requeststatus", _wrap_icalproperty_get_requeststatus, METH_VARARGS, (char *)"icalproperty_get_requeststatus(icalproperty prop) -> struct icalreqstattype"},
	 { (char *)"icalproperty_vanew_requeststatus", _wrap_icalproperty_vanew_requeststatus, METH_VARARGS, (char *)"icalproperty_vanew_requeststatus(struct icalreqstattype v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_resources", _wrap_icalproperty_new_resources, METH_VARARGS, (char *)"icalproperty_new_resources(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_resources", _wrap_icalproperty_set_resources, METH_VARARGS, (char *)"icalproperty_set_resources(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_resources", _wrap_icalproperty_get_resources, METH_VARARGS, (char *)"icalproperty_get_resources(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_resources", _wrap_icalproperty_vanew_resources, METH_VARARGS, (char *)"icalproperty_vanew_resources(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_restriction", _wrap_icalproperty_new_restriction, METH_VARARGS, (char *)"icalproperty_new_restriction(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_restriction", _wrap_icalproperty_set_restriction, METH_VARARGS, (char *)"icalproperty_set_restriction(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_restriction", _wrap_icalproperty_get_restriction, METH_VARARGS, (char *)"icalproperty_get_restriction(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_restriction", _wrap_icalproperty_vanew_restriction, METH_VARARGS, (char *)"icalproperty_vanew_restriction(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_rrule", _wrap_icalproperty_new_rrule, METH_VARARGS, (char *)"icalproperty_new_rrule(struct icalrecurrencetype v) -> icalproperty"},
	 { (char *)"icalproperty_set_rrule", _wrap_icalproperty_set_rrule, METH_VARARGS, (char *)"icalproperty_set_rrule(icalproperty prop, struct icalrecurrencetype v)"},
	 { (char *)"icalproperty_get_rrule", _wrap_icalproperty_get_rrule, METH_VARARGS, (char *)"icalproperty_get_rrule(icalproperty prop) -> struct icalrecurrencetype"},
	 { (char *)"icalproperty_vanew_rrule", _wrap_icalproperty_vanew_rrule, METH_VARARGS, (char *)"icalproperty_vanew_rrule(struct icalrecurrencetype v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_scope", _wrap_icalproperty_new_scope, METH_VARARGS, (char *)"icalproperty_new_scope(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_scope", _wrap_icalproperty_set_scope, METH_VARARGS, (char *)"icalproperty_set_scope(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_scope", _wrap_icalproperty_get_scope, METH_VARARGS, (char *)"icalproperty_get_scope(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_scope", _wrap_icalproperty_vanew_scope, METH_VARARGS, (char *)"icalproperty_vanew_scope(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_sequence", _wrap_icalproperty_new_sequence, METH_VARARGS, (char *)"icalproperty_new_sequence(int v) -> icalproperty"},
	 { (char *)"icalproperty_set_sequence", _wrap_icalproperty_set_sequence, METH_VARARGS, (char *)"icalproperty_set_sequence(icalproperty prop, int v)"},
	 { (char *)"icalproperty_get_sequence", _wrap_icalproperty_get_sequence, METH_VARARGS, (char *)"icalproperty_get_sequence(icalproperty prop) -> int"},
	 { (char *)"icalproperty_vanew_sequence", _wrap_icalproperty_vanew_sequence, METH_VARARGS, (char *)"icalproperty_vanew_sequence(int v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_status", _wrap_icalproperty_new_status, METH_VARARGS, (char *)"icalproperty_new_status(enum icalproperty_status v) -> icalproperty"},
	 { (char *)"icalproperty_set_status", _wrap_icalproperty_set_status, METH_VARARGS, (char *)"icalproperty_set_status(icalproperty prop, enum icalproperty_status v)"},
	 { (char *)"icalproperty_get_status", _wrap_icalproperty_get_status, METH_VARARGS, (char *)"icalproperty_get_status(icalproperty prop) -> enum icalproperty_status"},
	 { (char *)"icalproperty_vanew_status", _wrap_icalproperty_vanew_status, METH_VARARGS, (char *)"icalproperty_vanew_status(enum icalproperty_status v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_storesexpanded", _wrap_icalproperty_new_storesexpanded, METH_VARARGS, (char *)"icalproperty_new_storesexpanded(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_storesexpanded", _wrap_icalproperty_set_storesexpanded, METH_VARARGS, (char *)"icalproperty_set_storesexpanded(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_storesexpanded", _wrap_icalproperty_get_storesexpanded, METH_VARARGS, (char *)"icalproperty_get_storesexpanded(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_storesexpanded", _wrap_icalproperty_vanew_storesexpanded, METH_VARARGS, (char *)"icalproperty_vanew_storesexpanded(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_summary", _wrap_icalproperty_new_summary, METH_VARARGS, (char *)"icalproperty_new_summary(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_summary", _wrap_icalproperty_set_summary, METH_VARARGS, (char *)"icalproperty_set_summary(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_summary", _wrap_icalproperty_get_summary, METH_VARARGS, (char *)"icalproperty_get_summary(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_summary", _wrap_icalproperty_vanew_summary, METH_VARARGS, (char *)"icalproperty_vanew_summary(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_target", _wrap_icalproperty_new_target, METH_VARARGS, (char *)"icalproperty_new_target(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_target", _wrap_icalproperty_set_target, METH_VARARGS, (char *)"icalproperty_set_target(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_target", _wrap_icalproperty_get_target, METH_VARARGS, (char *)"icalproperty_get_target(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_target", _wrap_icalproperty_vanew_target, METH_VARARGS, (char *)"icalproperty_vanew_target(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_transp", _wrap_icalproperty_new_transp, METH_VARARGS, (char *)"icalproperty_new_transp(enum icalproperty_transp v) -> icalproperty"},
	 { (char *)"icalproperty_set_transp", _wrap_icalproperty_set_transp, METH_VARARGS, (char *)"icalproperty_set_transp(icalproperty prop, enum icalproperty_transp v)"},
	 { (char *)"icalproperty_get_transp", _wrap_icalproperty_get_transp, METH_VARARGS, (char *)"icalproperty_get_transp(icalproperty prop) -> enum icalproperty_transp"},
	 { (char *)"icalproperty_vanew_transp", _wrap_icalproperty_vanew_transp, METH_VARARGS, (char *)"icalproperty_vanew_transp(enum icalproperty_transp v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_trigger", _wrap_icalproperty_new_trigger, METH_VARARGS, (char *)"icalproperty_new_trigger(struct icaltriggertype v) -> icalproperty"},
	 { (char *)"icalproperty_set_trigger", _wrap_icalproperty_set_trigger, METH_VARARGS, (char *)"icalproperty_set_trigger(icalproperty prop, struct icaltriggertype v)"},
	 { (char *)"icalproperty_get_trigger", _wrap_icalproperty_get_trigger, METH_VARARGS, (char *)"icalproperty_get_trigger(icalproperty prop) -> struct icaltriggertype"},
	 { (char *)"icalproperty_vanew_trigger", _wrap_icalproperty_vanew_trigger, METH_VARARGS, (char *)"icalproperty_vanew_trigger(struct icaltriggertype v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_tzid", _wrap_icalproperty_new_tzid, METH_VARARGS, (char *)"icalproperty_new_tzid(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_tzid", _wrap_icalproperty_set_tzid, METH_VARARGS, (char *)"icalproperty_set_tzid(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_tzid", _wrap_icalproperty_get_tzid, METH_VARARGS, (char *)"icalproperty_get_tzid(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_tzid", _wrap_icalproperty_vanew_tzid, METH_VARARGS, (char *)"icalproperty_vanew_tzid(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_tzname", _wrap_icalproperty_new_tzname, METH_VARARGS, (char *)"icalproperty_new_tzname(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_tzname", _wrap_icalproperty_set_tzname, METH_VARARGS, (char *)"icalproperty_set_tzname(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_tzname", _wrap_icalproperty_get_tzname, METH_VARARGS, (char *)"icalproperty_get_tzname(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_tzname", _wrap_icalproperty_vanew_tzname, METH_VARARGS, (char *)"icalproperty_vanew_tzname(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_tzoffsetfrom", _wrap_icalproperty_new_tzoffsetfrom, METH_VARARGS, (char *)"icalproperty_new_tzoffsetfrom(int v) -> icalproperty"},
	 { (char *)"icalproperty_set_tzoffsetfrom", _wrap_icalproperty_set_tzoffsetfrom, METH_VARARGS, (char *)"icalproperty_set_tzoffsetfrom(icalproperty prop, int v)"},
	 { (char *)"icalproperty_get_tzoffsetfrom", _wrap_icalproperty_get_tzoffsetfrom, METH_VARARGS, (char *)"icalproperty_get_tzoffsetfrom(icalproperty prop) -> int"},
	 { (char *)"icalproperty_vanew_tzoffsetfrom", _wrap_icalproperty_vanew_tzoffsetfrom, METH_VARARGS, (char *)"icalproperty_vanew_tzoffsetfrom(int v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_tzoffsetto", _wrap_icalproperty_new_tzoffsetto, METH_VARARGS, (char *)"icalproperty_new_tzoffsetto(int v) -> icalproperty"},
	 { (char *)"icalproperty_set_tzoffsetto", _wrap_icalproperty_set_tzoffsetto, METH_VARARGS, (char *)"icalproperty_set_tzoffsetto(icalproperty prop, int v)"},
	 { (char *)"icalproperty_get_tzoffsetto", _wrap_icalproperty_get_tzoffsetto, METH_VARARGS, (char *)"icalproperty_get_tzoffsetto(icalproperty prop) -> int"},
	 { (char *)"icalproperty_vanew_tzoffsetto", _wrap_icalproperty_vanew_tzoffsetto, METH_VARARGS, (char *)"icalproperty_vanew_tzoffsetto(int v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_tzurl", _wrap_icalproperty_new_tzurl, METH_VARARGS, (char *)"icalproperty_new_tzurl(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_tzurl", _wrap_icalproperty_set_tzurl, METH_VARARGS, (char *)"icalproperty_set_tzurl(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_tzurl", _wrap_icalproperty_get_tzurl, METH_VARARGS, (char *)"icalproperty_get_tzurl(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_tzurl", _wrap_icalproperty_vanew_tzurl, METH_VARARGS, (char *)"icalproperty_vanew_tzurl(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_uid", _wrap_icalproperty_new_uid, METH_VARARGS, (char *)"icalproperty_new_uid(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_uid", _wrap_icalproperty_set_uid, METH_VARARGS, (char *)"icalproperty_set_uid(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_uid", _wrap_icalproperty_get_uid, METH_VARARGS, (char *)"icalproperty_get_uid(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_uid", _wrap_icalproperty_vanew_uid, METH_VARARGS, (char *)"icalproperty_vanew_uid(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_url", _wrap_icalproperty_new_url, METH_VARARGS, (char *)"icalproperty_new_url(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_url", _wrap_icalproperty_set_url, METH_VARARGS, (char *)"icalproperty_set_url(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_url", _wrap_icalproperty_get_url, METH_VARARGS, (char *)"icalproperty_get_url(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_url", _wrap_icalproperty_vanew_url, METH_VARARGS, (char *)"icalproperty_vanew_url(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_version", _wrap_icalproperty_new_version, METH_VARARGS, (char *)"icalproperty_new_version(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_version", _wrap_icalproperty_set_version, METH_VARARGS, (char *)"icalproperty_set_version(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_version", _wrap_icalproperty_get_version, METH_VARARGS, (char *)"icalproperty_get_version(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_version", _wrap_icalproperty_vanew_version, METH_VARARGS, (char *)"icalproperty_vanew_version(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_x", _wrap_icalproperty_new_x, METH_VARARGS, (char *)"icalproperty_new_x(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_x", _wrap_icalproperty_set_x, METH_VARARGS, (char *)"icalproperty_set_x(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_x", _wrap_icalproperty_get_x, METH_VARARGS, (char *)"icalproperty_get_x(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_x", _wrap_icalproperty_vanew_x, METH_VARARGS, (char *)"icalproperty_vanew_x(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_xlicclass", _wrap_icalproperty_new_xlicclass, METH_VARARGS, (char *)"icalproperty_new_xlicclass(enum icalproperty_xlicclass v) -> icalproperty"},
	 { (char *)"icalproperty_set_xlicclass", _wrap_icalproperty_set_xlicclass, METH_VARARGS, (char *)"icalproperty_set_xlicclass(icalproperty prop, enum icalproperty_xlicclass v)"},
	 { (char *)"icalproperty_get_xlicclass", _wrap_icalproperty_get_xlicclass, METH_VARARGS, (char *)"icalproperty_get_xlicclass(icalproperty prop) -> enum icalproperty_xlicclass"},
	 { (char *)"icalproperty_vanew_xlicclass", _wrap_icalproperty_vanew_xlicclass, METH_VARARGS, (char *)"icalproperty_vanew_xlicclass(enum icalproperty_xlicclass v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_xlicclustercount", _wrap_icalproperty_new_xlicclustercount, METH_VARARGS, (char *)"icalproperty_new_xlicclustercount(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_xlicclustercount", _wrap_icalproperty_set_xlicclustercount, METH_VARARGS, (char *)"icalproperty_set_xlicclustercount(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_xlicclustercount", _wrap_icalproperty_get_xlicclustercount, METH_VARARGS, (char *)"icalproperty_get_xlicclustercount(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_xlicclustercount", _wrap_icalproperty_vanew_xlicclustercount, METH_VARARGS, (char *)"icalproperty_vanew_xlicclustercount(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_xlicerror", _wrap_icalproperty_new_xlicerror, METH_VARARGS, (char *)"icalproperty_new_xlicerror(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_xlicerror", _wrap_icalproperty_set_xlicerror, METH_VARARGS, (char *)"icalproperty_set_xlicerror(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_xlicerror", _wrap_icalproperty_get_xlicerror, METH_VARARGS, (char *)"icalproperty_get_xlicerror(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_xlicerror", _wrap_icalproperty_vanew_xlicerror, METH_VARARGS, (char *)"icalproperty_vanew_xlicerror(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_xlicmimecharset", _wrap_icalproperty_new_xlicmimecharset, METH_VARARGS, (char *)"icalproperty_new_xlicmimecharset(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_xlicmimecharset", _wrap_icalproperty_set_xlicmimecharset, METH_VARARGS, (char *)"icalproperty_set_xlicmimecharset(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_xlicmimecharset", _wrap_icalproperty_get_xlicmimecharset, METH_VARARGS, (char *)"icalproperty_get_xlicmimecharset(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_xlicmimecharset", _wrap_icalproperty_vanew_xlicmimecharset, METH_VARARGS, (char *)"icalproperty_vanew_xlicmimecharset(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_xlicmimecid", _wrap_icalproperty_new_xlicmimecid, METH_VARARGS, (char *)"icalproperty_new_xlicmimecid(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_xlicmimecid", _wrap_icalproperty_set_xlicmimecid, METH_VARARGS, (char *)"icalproperty_set_xlicmimecid(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_xlicmimecid", _wrap_icalproperty_get_xlicmimecid, METH_VARARGS, (char *)"icalproperty_get_xlicmimecid(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_xlicmimecid", _wrap_icalproperty_vanew_xlicmimecid, METH_VARARGS, (char *)"icalproperty_vanew_xlicmimecid(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_xlicmimecontenttype", _wrap_icalproperty_new_xlicmimecontenttype, METH_VARARGS, (char *)"icalproperty_new_xlicmimecontenttype(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_xlicmimecontenttype", _wrap_icalproperty_set_xlicmimecontenttype, METH_VARARGS, (char *)"icalproperty_set_xlicmimecontenttype(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_xlicmimecontenttype", _wrap_icalproperty_get_xlicmimecontenttype, METH_VARARGS, (char *)"icalproperty_get_xlicmimecontenttype(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_xlicmimecontenttype", _wrap_icalproperty_vanew_xlicmimecontenttype, METH_VARARGS, (char *)"icalproperty_vanew_xlicmimecontenttype(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_xlicmimeencoding", _wrap_icalproperty_new_xlicmimeencoding, METH_VARARGS, (char *)"icalproperty_new_xlicmimeencoding(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_xlicmimeencoding", _wrap_icalproperty_set_xlicmimeencoding, METH_VARARGS, (char *)"icalproperty_set_xlicmimeencoding(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_xlicmimeencoding", _wrap_icalproperty_get_xlicmimeencoding, METH_VARARGS, (char *)"icalproperty_get_xlicmimeencoding(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_xlicmimeencoding", _wrap_icalproperty_vanew_xlicmimeencoding, METH_VARARGS, (char *)"icalproperty_vanew_xlicmimeencoding(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_xlicmimefilename", _wrap_icalproperty_new_xlicmimefilename, METH_VARARGS, (char *)"icalproperty_new_xlicmimefilename(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_xlicmimefilename", _wrap_icalproperty_set_xlicmimefilename, METH_VARARGS, (char *)"icalproperty_set_xlicmimefilename(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_xlicmimefilename", _wrap_icalproperty_get_xlicmimefilename, METH_VARARGS, (char *)"icalproperty_get_xlicmimefilename(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_xlicmimefilename", _wrap_icalproperty_vanew_xlicmimefilename, METH_VARARGS, (char *)"icalproperty_vanew_xlicmimefilename(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new_xlicmimeoptinfo", _wrap_icalproperty_new_xlicmimeoptinfo, METH_VARARGS, (char *)"icalproperty_new_xlicmimeoptinfo(char v) -> icalproperty"},
	 { (char *)"icalproperty_set_xlicmimeoptinfo", _wrap_icalproperty_set_xlicmimeoptinfo, METH_VARARGS, (char *)"icalproperty_set_xlicmimeoptinfo(icalproperty prop, char v)"},
	 { (char *)"icalproperty_get_xlicmimeoptinfo", _wrap_icalproperty_get_xlicmimeoptinfo, METH_VARARGS, (char *)"icalproperty_get_xlicmimeoptinfo(icalproperty prop) -> char"},
	 { (char *)"icalproperty_vanew_xlicmimeoptinfo", _wrap_icalproperty_vanew_xlicmimeoptinfo, METH_VARARGS, (char *)"icalproperty_vanew_xlicmimeoptinfo(char v, v(...) *args) -> icalproperty"},
	 { (char *)"icalproperty_new", _wrap_icalproperty_new, METH_VARARGS, (char *)"icalproperty_new(icalproperty_kind kind) -> icalproperty"},
	 { (char *)"icalproperty_new_clone", _wrap_icalproperty_new_clone, METH_VARARGS, (char *)"icalproperty_new_clone(icalproperty prop) -> icalproperty"},
	 { (char *)"icalproperty_new_from_string", _wrap_icalproperty_new_from_string, METH_VARARGS, (char *)"icalproperty_new_from_string(char str) -> icalproperty"},
	 { (char *)"icalproperty_as_ical_string", _wrap_icalproperty_as_ical_string, METH_VARARGS, (char *)"icalproperty_as_ical_string(icalproperty prop) -> char"},
	 { (char *)"icalproperty_as_ical_string_r", _wrap_icalproperty_as_ical_string_r, METH_VARARGS, (char *)"icalproperty_as_ical_string_r(icalproperty prop) -> char"},
	 { (char *)"icalproperty_free", _wrap_icalproperty_free, METH_VARARGS, (char *)"icalproperty_free(icalproperty prop)"},
	 { (char *)"icalproperty_isa", _wrap_icalproperty_isa, METH_VARARGS, (char *)"icalproperty_isa(icalproperty property) -> icalproperty_kind"},
	 { (char *)"icalproperty_isa_property", _wrap_icalproperty_isa_property, METH_VARARGS, (char *)"icalproperty_isa_property(void property) -> int"},
	 { (char *)"icalproperty_add_parameters", _wrap_icalproperty_add_parameters, METH_VARARGS, (char *)"icalproperty_add_parameters(struct icalproperty_impl prop, va_list args)"},
	 { (char *)"icalproperty_add_parameter", _wrap_icalproperty_add_parameter, METH_VARARGS, (char *)"icalproperty_add_parameter(icalproperty prop, icalparameter parameter)"},
	 { (char *)"icalproperty_set_parameter", _wrap_icalproperty_set_parameter, METH_VARARGS, (char *)"icalproperty_set_parameter(icalproperty prop, icalparameter parameter)"},
	 { (char *)"icalproperty_set_parameter_from_string", _wrap_icalproperty_set_parameter_from_string, METH_VARARGS, (char *)"icalproperty_set_parameter_from_string(icalproperty prop, char name, char value)"},
	 { (char *)"icalproperty_get_parameter_as_string", _wrap_icalproperty_get_parameter_as_string, METH_VARARGS, (char *)"icalproperty_get_parameter_as_string(icalproperty prop, char name) -> char"},
	 { (char *)"icalproperty_get_parameter_as_string_r", _wrap_icalproperty_get_parameter_as_string_r, METH_VARARGS, (char *)"icalproperty_get_parameter_as_string_r(icalproperty prop, char name) -> char"},
	 { (char *)"icalproperty_remove_parameter_by_kind", _wrap_icalproperty_remove_parameter_by_kind, METH_VARARGS, (char *)"icalproperty_remove_parameter_by_kind(icalproperty prop, icalparameter_kind kind)"},
	 { (char *)"icalproperty_remove_parameter_by_name", _wrap_icalproperty_remove_parameter_by_name, METH_VARARGS, (char *)"icalproperty_remove_parameter_by_name(icalproperty prop, char name)"},
	 { (char *)"icalproperty_remove_parameter_by_ref", _wrap_icalproperty_remove_parameter_by_ref, METH_VARARGS, (char *)"icalproperty_remove_parameter_by_ref(icalproperty prop, icalparameter param)"},
	 { (char *)"icalproperty_count_parameters", _wrap_icalproperty_count_parameters, METH_VARARGS, (char *)"icalproperty_count_parameters(icalproperty prop) -> int"},
	 { (char *)"icalproperty_get_first_parameter", _wrap_icalproperty_get_first_parameter, METH_VARARGS, (char *)"icalproperty_get_first_parameter(icalproperty prop, icalparameter_kind kind) -> icalparameter"},
	 { (char *)"icalproperty_get_next_parameter", _wrap_icalproperty_get_next_parameter, METH_VARARGS, (char *)"icalproperty_get_next_parameter(icalproperty prop, icalparameter_kind kind) -> icalparameter"},
	 { (char *)"icalproperty_set_value", _wrap_icalproperty_set_value, METH_VARARGS, (char *)"icalproperty_set_value(icalproperty prop, icalvalue value)"},
	 { (char *)"icalproperty_set_value_from_string", _wrap_icalproperty_set_value_from_string, METH_VARARGS, (char *)"icalproperty_set_value_from_string(icalproperty prop, char value, char kind)"},
	 { (char *)"icalproperty_get_value", _wrap_icalproperty_get_value, METH_VARARGS, (char *)"icalproperty_get_value(icalproperty prop) -> icalvalue"},
	 { (char *)"icalproperty_get_value_as_string", _wrap_icalproperty_get_value_as_string, METH_VARARGS, (char *)"icalproperty_get_value_as_string(icalproperty prop) -> char"},
	 { (char *)"icalproperty_get_value_as_string_r", _wrap_icalproperty_get_value_as_string_r, METH_VARARGS, (char *)"icalproperty_get_value_as_string_r(icalproperty prop) -> char"},
	 { (char *)"icalproperty_set_x_name", _wrap_icalproperty_set_x_name, METH_VARARGS, (char *)"icalproperty_set_x_name(icalproperty prop, char name)"},
	 { (char *)"icalproperty_get_x_name", _wrap_icalproperty_get_x_name, METH_VARARGS, (char *)"icalproperty_get_x_name(icalproperty prop) -> char"},
	 { (char *)"icalproperty_get_property_name", _wrap_icalproperty_get_property_name, METH_VARARGS, (char *)"icalproperty_get_property_name(icalproperty prop) -> char"},
	 { (char *)"icalproperty_get_property_name_r", _wrap_icalproperty_get_property_name_r, METH_VARARGS, (char *)"icalproperty_get_property_name_r(icalproperty prop) -> char"},
	 { (char *)"icalparameter_value_to_value_kind", _wrap_icalparameter_value_to_value_kind, METH_VARARGS, (char *)"icalparameter_value_to_value_kind(icalparameter_value value) -> icalvalue_kind"},
	 { (char *)"icalproperty_kind_to_value_kind", _wrap_icalproperty_kind_to_value_kind, METH_VARARGS, (char *)"icalproperty_kind_to_value_kind(icalproperty_kind kind) -> icalvalue_kind"},
	 { (char *)"icalproperty_value_kind_to_kind", _wrap_icalproperty_value_kind_to_kind, METH_VARARGS, (char *)"icalproperty_value_kind_to_kind(icalvalue_kind kind) -> icalproperty_kind"},
	 { (char *)"icalproperty_kind_to_string", _wrap_icalproperty_kind_to_string, METH_VARARGS, (char *)"icalproperty_kind_to_string(icalproperty_kind kind) -> char"},
	 { (char *)"icalproperty_string_to_kind", _wrap_icalproperty_string_to_kind, METH_VARARGS, (char *)"icalproperty_string_to_kind(char string) -> icalproperty_kind"},
	 { (char *)"icalproperty_kind_is_valid", _wrap_icalproperty_kind_is_valid, METH_VARARGS, (char *)"icalproperty_kind_is_valid(icalproperty_kind kind) -> int"},
	 { (char *)"icalproperty_string_to_method", _wrap_icalproperty_string_to_method, METH_VARARGS, (char *)"icalproperty_string_to_method(char str) -> icalproperty_method"},
	 { (char *)"icalproperty_method_to_string", _wrap_icalproperty_method_to_string, METH_VARARGS, (char *)"icalproperty_method_to_string(icalproperty_method method) -> char"},
	 { (char *)"icalproperty_enum_to_string", _wrap_icalproperty_enum_to_string, METH_VARARGS, (char *)"icalproperty_enum_to_string(int e) -> char"},
	 { (char *)"icalproperty_enum_to_string_r", _wrap_icalproperty_enum_to_string_r, METH_VARARGS, (char *)"icalproperty_enum_to_string_r(int e) -> char"},
	 { (char *)"icalproperty_kind_and_string_to_enum", _wrap_icalproperty_kind_and_string_to_enum, METH_VARARGS, (char *)"icalproperty_kind_and_string_to_enum(int kind, char str) -> int"},
	 { (char *)"icalproperty_status_to_string", _wrap_icalproperty_status_to_string, METH_VARARGS, (char *)"icalproperty_status_to_string(icalproperty_status arg0) -> char"},
	 { (char *)"icalproperty_string_to_status", _wrap_icalproperty_string_to_status, METH_VARARGS, (char *)"icalproperty_string_to_status(char string) -> icalproperty_status"},
	 { (char *)"icalproperty_enum_belongs_to_property", _wrap_icalproperty_enum_belongs_to_property, METH_VARARGS, (char *)"icalproperty_enum_belongs_to_property(icalproperty_kind kind, int e) -> int"},
	 { (char *)"pvl_elem_t_MAGIC_set", _wrap_pvl_elem_t_MAGIC_set, METH_VARARGS, (char *)"pvl_elem_t_MAGIC_set(pvl_elem_t self, int MAGIC)"},
	 { (char *)"pvl_elem_t_MAGIC_get", _wrap_pvl_elem_t_MAGIC_get, METH_VARARGS, (char *)"pvl_elem_t_MAGIC_get(pvl_elem_t self) -> int"},
	 { (char *)"pvl_elem_t_d_set", _wrap_pvl_elem_t_d_set, METH_VARARGS, (char *)"pvl_elem_t_d_set(pvl_elem_t self, void d)"},
	 { (char *)"pvl_elem_t_d_get", _wrap_pvl_elem_t_d_get, METH_VARARGS, (char *)"pvl_elem_t_d_get(pvl_elem_t self) -> void"},
	 { (char *)"pvl_elem_t_next_set", _wrap_pvl_elem_t_next_set, METH_VARARGS, (char *)"pvl_elem_t_next_set(pvl_elem_t self, struct pvl_elem_t next)"},
	 { (char *)"pvl_elem_t_next_get", _wrap_pvl_elem_t_next_get, METH_VARARGS, (char *)"pvl_elem_t_next_get(pvl_elem_t self) -> struct pvl_elem_t"},
	 { (char *)"pvl_elem_t_prior_set", _wrap_pvl_elem_t_prior_set, METH_VARARGS, (char *)"pvl_elem_t_prior_set(pvl_elem_t self, struct pvl_elem_t prior)"},
	 { (char *)"pvl_elem_t_prior_get", _wrap_pvl_elem_t_prior_get, METH_VARARGS, (char *)"pvl_elem_t_prior_get(pvl_elem_t self) -> struct pvl_elem_t"},
	 { (char *)"new_pvl_elem_t", _wrap_new_pvl_elem_t, METH_VARARGS, (char *)"new_pvl_elem_t() -> pvl_elem_t"},
	 { (char *)"delete_pvl_elem_t", _wrap_delete_pvl_elem_t, METH_VARARGS, (char *)"delete_pvl_elem_t(pvl_elem_t self)"},
	 { (char *)"pvl_elem_t_swigregister", pvl_elem_t_swigregister, METH_VARARGS, NULL},
	 { (char *)"pvl_new_element", _wrap_pvl_new_element, METH_VARARGS, (char *)"pvl_new_element(void d, pvl_elem next, pvl_elem prior) -> pvl_elem"},
	 { (char *)"pvl_newlist", _wrap_pvl_newlist, METH_VARARGS, (char *)"pvl_newlist() -> pvl_list"},
	 { (char *)"pvl_free", _wrap_pvl_free, METH_VARARGS, (char *)"pvl_free(pvl_list arg0)"},
	 { (char *)"pvl_unshift", _wrap_pvl_unshift, METH_VARARGS, (char *)"pvl_unshift(pvl_list l, void d)"},
	 { (char *)"pvl_shift", _wrap_pvl_shift, METH_VARARGS, (char *)"pvl_shift(pvl_list l) -> void"},
	 { (char *)"pvl_head", _wrap_pvl_head, METH_VARARGS, (char *)"pvl_head(pvl_list arg0) -> pvl_elem"},
	 { (char *)"pvl_push", _wrap_pvl_push, METH_VARARGS, (char *)"pvl_push(pvl_list l, void d)"},
	 { (char *)"pvl_pop", _wrap_pvl_pop, METH_VARARGS, (char *)"pvl_pop(pvl_list l) -> void"},
	 { (char *)"pvl_tail", _wrap_pvl_tail, METH_VARARGS, (char *)"pvl_tail(pvl_list arg0) -> pvl_elem"},
	 { (char *)"pvl_insert_ordered", _wrap_pvl_insert_ordered, METH_VARARGS, (char *)"pvl_insert_ordered(pvl_list l, pvl_comparef f, void d)"},
	 { (char *)"pvl_insert_after", _wrap_pvl_insert_after, METH_VARARGS, (char *)"pvl_insert_after(pvl_list l, pvl_elem e, void d)"},
	 { (char *)"pvl_insert_before", _wrap_pvl_insert_before, METH_VARARGS, (char *)"pvl_insert_before(pvl_list l, pvl_elem e, void d)"},
	 { (char *)"pvl_remove", _wrap_pvl_remove, METH_VARARGS, (char *)"pvl_remove(pvl_list arg0, pvl_elem arg1) -> void"},
	 { (char *)"pvl_clear", _wrap_pvl_clear, METH_VARARGS, (char *)"pvl_clear(pvl_list arg0)"},
	 { (char *)"pvl_count", _wrap_pvl_count, METH_VARARGS, (char *)"pvl_count(pvl_list arg0) -> int"},
	 { (char *)"pvl_next", _wrap_pvl_next, METH_VARARGS, (char *)"pvl_next(pvl_elem e) -> pvl_elem"},
	 { (char *)"pvl_prior", _wrap_pvl_prior, METH_VARARGS, (char *)"pvl_prior(pvl_elem e) -> pvl_elem"},
	 { (char *)"pvl_data", _wrap_pvl_data, METH_VARARGS, (char *)"pvl_data(pvl_elem arg0) -> void"},
	 { (char *)"pvl_find", _wrap_pvl_find, METH_VARARGS, (char *)"pvl_find(pvl_list l, pvl_findf f, void v) -> pvl_elem"},
	 { (char *)"pvl_find_next", _wrap_pvl_find_next, METH_VARARGS, (char *)"pvl_find_next(pvl_list l, pvl_findf f, void v) -> pvl_elem"},
	 { (char *)"pvl_apply", _wrap_pvl_apply, METH_VARARGS, (char *)"pvl_apply(pvl_list l, pvl_applyf f, void v)"},
	 { (char *)"_icalarray_element_size_set", _wrap__icalarray_element_size_set, METH_VARARGS, (char *)"_icalarray_element_size_set(struct _icalarray self, unsigned int element_size)"},
	 { (char *)"_icalarray_element_size_get", _wrap__icalarray_element_size_get, METH_VARARGS, (char *)"_icalarray_element_size_get(struct _icalarray self) -> unsigned int"},
	 { (char *)"_icalarray_increment_size_set", _wrap__icalarray_increment_size_set, METH_VARARGS, (char *)"_icalarray_increment_size_set(struct _icalarray self, unsigned int increment_size)"},
	 { (char *)"_icalarray_increment_size_get", _wrap__icalarray_increment_size_get, METH_VARARGS, (char *)"_icalarray_increment_size_get(struct _icalarray self) -> unsigned int"},
	 { (char *)"_icalarray_num_elements_set", _wrap__icalarray_num_elements_set, METH_VARARGS, (char *)"_icalarray_num_elements_set(struct _icalarray self, unsigned int num_elements)"},
	 { (char *)"_icalarray_num_elements_get", _wrap__icalarray_num_elements_get, METH_VARARGS, (char *)"_icalarray_num_elements_get(struct _icalarray self) -> unsigned int"},
	 { (char *)"_icalarray_space_allocated_set", _wrap__icalarray_space_allocated_set, METH_VARARGS, (char *)"_icalarray_space_allocated_set(struct _icalarray self, unsigned int space_allocated)"},
	 { (char *)"_icalarray_space_allocated_get", _wrap__icalarray_space_allocated_get, METH_VARARGS, (char *)"_icalarray_space_allocated_get(struct _icalarray self) -> unsigned int"},
	 { (char *)"_icalarray_data_set", _wrap__icalarray_data_set, METH_VARARGS, (char *)"_icalarray_data_set(struct _icalarray self, void data)"},
	 { (char *)"_icalarray_data_get", _wrap__icalarray_data_get, METH_VARARGS, (char *)"_icalarray_data_get(struct _icalarray self) -> void"},
	 { (char *)"new__icalarray", _wrap_new__icalarray, METH_VARARGS, (char *)"new__icalarray() -> struct _icalarray"},
	 { (char *)"delete__icalarray", _wrap_delete__icalarray, METH_VARARGS, (char *)"delete__icalarray(struct _icalarray self)"},
	 { (char *)"_icalarray_swigregister", _icalarray_swigregister, METH_VARARGS, NULL},
	 { (char *)"icalarray_new", _wrap_icalarray_new, METH_VARARGS, (char *)"icalarray_new(int element_size, int increment_size) -> icalarray"},
	 { (char *)"icalarray_free", _wrap_icalarray_free, METH_VARARGS, (char *)"icalarray_free(icalarray array)"},
	 { (char *)"icalarray_append", _wrap_icalarray_append, METH_VARARGS, (char *)"icalarray_append(icalarray array, void element)"},
	 { (char *)"icalarray_remove_element_at", _wrap_icalarray_remove_element_at, METH_VARARGS, (char *)"icalarray_remove_element_at(icalarray array, int position)"},
	 { (char *)"icalarray_element_at", _wrap_icalarray_element_at, METH_VARARGS, (char *)"icalarray_element_at(icalarray array, int position) -> void"},
	 { (char *)"icalarray_sort", _wrap_icalarray_sort, METH_VARARGS, (char *)"icalarray_sort(icalarray array, int compare)"},
	 { (char *)"icalcompiter_kind_set", _wrap_icalcompiter_kind_set, METH_VARARGS, (char *)"icalcompiter_kind_set(icalcompiter self, icalcomponent_kind kind)"},
	 { (char *)"icalcompiter_kind_get", _wrap_icalcompiter_kind_get, METH_VARARGS, (char *)"icalcompiter_kind_get(icalcompiter self) -> icalcomponent_kind"},
	 { (char *)"icalcompiter_iter_set", _wrap_icalcompiter_iter_set, METH_VARARGS, (char *)"icalcompiter_iter_set(icalcompiter self, pvl_elem iter)"},
	 { (char *)"icalcompiter_iter_get", _wrap_icalcompiter_iter_get, METH_VARARGS, (char *)"icalcompiter_iter_get(icalcompiter self) -> pvl_elem"},
	 { (char *)"new_icalcompiter", _wrap_new_icalcompiter, METH_VARARGS, (char *)"new_icalcompiter() -> icalcompiter"},
	 { (char *)"delete_icalcompiter", _wrap_delete_icalcompiter, METH_VARARGS, (char *)"delete_icalcompiter(icalcompiter self)"},
	 { (char *)"icalcompiter_swigregister", icalcompiter_swigregister, METH_VARARGS, NULL},
	 { (char *)"icalcomponent_new", _wrap_icalcomponent_new, METH_VARARGS, (char *)"icalcomponent_new(icalcomponent_kind kind) -> icalcomponent"},
	 { (char *)"icalcomponent_new_clone", _wrap_icalcomponent_new_clone, METH_VARARGS, (char *)"icalcomponent_new_clone(icalcomponent component) -> icalcomponent"},
	 { (char *)"icalcomponent_new_from_string", _wrap_icalcomponent_new_from_string, METH_VARARGS, (char *)"icalcomponent_new_from_string(char str) -> icalcomponent"},
	 { (char *)"icalcomponent_vanew", _wrap_icalcomponent_vanew, METH_VARARGS, (char *)"icalcomponent_vanew(icalcomponent_kind kind, v(...) *args) -> icalcomponent"},
	 { (char *)"icalcomponent_new_x", _wrap_icalcomponent_new_x, METH_VARARGS, (char *)"icalcomponent_new_x(char x_name) -> icalcomponent"},
	 { (char *)"icalcomponent_free", _wrap_icalcomponent_free, METH_VARARGS, (char *)"icalcomponent_free(icalcomponent component)"},
	 { (char *)"icalcomponent_as_ical_string", _wrap_icalcomponent_as_ical_string, METH_VARARGS, (char *)"icalcomponent_as_ical_string(icalcomponent component) -> char"},
	 { (char *)"icalcomponent_as_ical_string_r", _wrap_icalcomponent_as_ical_string_r, METH_VARARGS, (char *)"icalcomponent_as_ical_string_r(icalcomponent component) -> char"},
	 { (char *)"icalcomponent_is_valid", _wrap_icalcomponent_is_valid, METH_VARARGS, (char *)"icalcomponent_is_valid(icalcomponent component) -> int"},
	 { (char *)"icalcomponent_isa", _wrap_icalcomponent_isa, METH_VARARGS, (char *)"icalcomponent_isa(icalcomponent component) -> icalcomponent_kind"},
	 { (char *)"icalcomponent_isa_component", _wrap_icalcomponent_isa_component, METH_VARARGS, (char *)"icalcomponent_isa_component(void component) -> int"},
	 { (char *)"icalcomponent_add_property", _wrap_icalcomponent_add_property, METH_VARARGS, (char *)"icalcomponent_add_property(icalcomponent component, icalproperty property)"},
	 { (char *)"icalcomponent_remove_property", _wrap_icalcomponent_remove_property, METH_VARARGS, (char *)"icalcomponent_remove_property(icalcomponent component, icalproperty property)"},
	 { (char *)"icalcomponent_count_properties", _wrap_icalcomponent_count_properties, METH_VARARGS, (char *)"icalcomponent_count_properties(icalcomponent component, icalproperty_kind kind) -> int"},
	 { (char *)"icalcomponent_get_current_property", _wrap_icalcomponent_get_current_property, METH_VARARGS, (char *)"icalcomponent_get_current_property(icalcomponent component) -> icalproperty"},
	 { (char *)"icalcomponent_get_first_property", _wrap_icalcomponent_get_first_property, METH_VARARGS, (char *)"icalcomponent_get_first_property(icalcomponent component, icalproperty_kind kind) -> icalproperty"},
	 { (char *)"icalcomponent_get_next_property", _wrap_icalcomponent_get_next_property, METH_VARARGS, (char *)"icalcomponent_get_next_property(icalcomponent component, icalproperty_kind kind) -> icalproperty"},
	 { (char *)"icalcomponent_get_inner", _wrap_icalcomponent_get_inner, METH_VARARGS, (char *)"icalcomponent_get_inner(icalcomponent comp) -> icalcomponent"},
	 { (char *)"icalcomponent_add_component", _wrap_icalcomponent_add_component, METH_VARARGS, (char *)"icalcomponent_add_component(icalcomponent parent, icalcomponent child)"},
	 { (char *)"icalcomponent_remove_component", _wrap_icalcomponent_remove_component, METH_VARARGS, (char *)"icalcomponent_remove_component(icalcomponent parent, icalcomponent child)"},
	 { (char *)"icalcomponent_count_components", _wrap_icalcomponent_count_components, METH_VARARGS, (char *)"icalcomponent_count_components(icalcomponent component, icalcomponent_kind kind) -> int"},
	 { (char *)"icalcomponent_merge_component", _wrap_icalcomponent_merge_component, METH_VARARGS, (char *)"icalcomponent_merge_component(icalcomponent comp, icalcomponent comp_to_merge)"},
	 { (char *)"icalcomponent_get_current_component", _wrap_icalcomponent_get_current_component, METH_VARARGS, (char *)"icalcomponent_get_current_component(icalcomponent component) -> icalcomponent"},
	 { (char *)"icalcomponent_get_first_component", _wrap_icalcomponent_get_first_component, METH_VARARGS, (char *)"icalcomponent_get_first_component(icalcomponent component, icalcomponent_kind kind) -> icalcomponent"},
	 { (char *)"icalcomponent_get_next_component", _wrap_icalcomponent_get_next_component, METH_VARARGS, (char *)"icalcomponent_get_next_component(icalcomponent component, icalcomponent_kind kind) -> icalcomponent"},
	 { (char *)"icalcomponent_begin_component", _wrap_icalcomponent_begin_component, METH_VARARGS, (char *)"icalcomponent_begin_component(icalcomponent component, icalcomponent_kind kind) -> icalcompiter"},
	 { (char *)"icalcomponent_end_component", _wrap_icalcomponent_end_component, METH_VARARGS, (char *)"icalcomponent_end_component(icalcomponent component, icalcomponent_kind kind) -> icalcompiter"},
	 { (char *)"icalcompiter_next", _wrap_icalcompiter_next, METH_VARARGS, (char *)"icalcompiter_next(icalcompiter i) -> icalcomponent"},
	 { (char *)"icalcompiter_prior", _wrap_icalcompiter_prior, METH_VARARGS, (char *)"icalcompiter_prior(icalcompiter i) -> icalcomponent"},
	 { (char *)"icalcompiter_deref", _wrap_icalcompiter_deref, METH_VARARGS, (char *)"icalcompiter_deref(icalcompiter i) -> icalcomponent"},
	 { (char *)"icalcomponent_check_restrictions", _wrap_icalcomponent_check_restrictions, METH_VARARGS, (char *)"icalcomponent_check_restrictions(icalcomponent comp) -> int"},
	 { (char *)"icalcomponent_count_errors", _wrap_icalcomponent_count_errors, METH_VARARGS, (char *)"icalcomponent_count_errors(icalcomponent component) -> int"},
	 { (char *)"icalcomponent_strip_errors", _wrap_icalcomponent_strip_errors, METH_VARARGS, (char *)"icalcomponent_strip_errors(icalcomponent component)"},
	 { (char *)"icalcomponent_convert_errors", _wrap_icalcomponent_convert_errors, METH_VARARGS, (char *)"icalcomponent_convert_errors(icalcomponent component)"},
	 { (char *)"icalcomponent_get_parent", _wrap_icalcomponent_get_parent, METH_VARARGS, (char *)"icalcomponent_get_parent(icalcomponent component) -> icalcomponent"},
	 { (char *)"icalcomponent_set_parent", _wrap_icalcomponent_set_parent, METH_VARARGS, (char *)"icalcomponent_set_parent(icalcomponent component, icalcomponent parent)"},
	 { (char *)"icalcomponent_kind_is_valid", _wrap_icalcomponent_kind_is_valid, METH_VARARGS, (char *)"icalcomponent_kind_is_valid(icalcomponent_kind kind) -> int"},
	 { (char *)"icalcomponent_string_to_kind", _wrap_icalcomponent_string_to_kind, METH_VARARGS, (char *)"icalcomponent_string_to_kind(char string) -> icalcomponent_kind"},
	 { (char *)"icalcomponent_kind_to_string", _wrap_icalcomponent_kind_to_string, METH_VARARGS, (char *)"icalcomponent_kind_to_string(icalcomponent_kind kind) -> char"},
	 { (char *)"icalcomponent_get_first_real_component", _wrap_icalcomponent_get_first_real_component, METH_VARARGS, (char *)"icalcomponent_get_first_real_component(icalcomponent c) -> icalcomponent"},
	 { (char *)"icalcomponent_set_dtstart", _wrap_icalcomponent_set_dtstart, METH_VARARGS, (char *)"icalcomponent_set_dtstart(icalcomponent comp, struct icaltimetype v)"},
	 { (char *)"icalcomponent_get_dtstart", _wrap_icalcomponent_get_dtstart, METH_VARARGS, (char *)"icalcomponent_get_dtstart(icalcomponent comp) -> struct icaltimetype"},
	 { (char *)"icalcomponent_get_dtend", _wrap_icalcomponent_get_dtend, METH_VARARGS, (char *)"icalcomponent_get_dtend(icalcomponent comp) -> struct icaltimetype"},
	 { (char *)"icalcomponent_set_dtend", _wrap_icalcomponent_set_dtend, METH_VARARGS, (char *)"icalcomponent_set_dtend(icalcomponent comp, struct icaltimetype v)"},
	 { (char *)"icalcomponent_get_due", _wrap_icalcomponent_get_due, METH_VARARGS, (char *)"icalcomponent_get_due(icalcomponent comp) -> struct icaltimetype"},
	 { (char *)"icalcomponent_set_due", _wrap_icalcomponent_set_due, METH_VARARGS, (char *)"icalcomponent_set_due(icalcomponent comp, struct icaltimetype v)"},
	 { (char *)"icalcomponent_set_duration", _wrap_icalcomponent_set_duration, METH_VARARGS, (char *)"icalcomponent_set_duration(icalcomponent comp, struct icaldurationtype v)"},
	 { (char *)"icalcomponent_get_duration", _wrap_icalcomponent_get_duration, METH_VARARGS, (char *)"icalcomponent_get_duration(icalcomponent comp) -> struct icaldurationtype"},
	 { (char *)"icalcomponent_set_method", _wrap_icalcomponent_set_method, METH_VARARGS, (char *)"icalcomponent_set_method(icalcomponent comp, icalproperty_method method)"},
	 { (char *)"icalcomponent_get_method", _wrap_icalcomponent_get_method, METH_VARARGS, (char *)"icalcomponent_get_method(icalcomponent comp) -> icalproperty_method"},
	 { (char *)"icalcomponent_get_dtstamp", _wrap_icalcomponent_get_dtstamp, METH_VARARGS, (char *)"icalcomponent_get_dtstamp(icalcomponent comp) -> struct icaltimetype"},
	 { (char *)"icalcomponent_set_dtstamp", _wrap_icalcomponent_set_dtstamp, METH_VARARGS, (char *)"icalcomponent_set_dtstamp(icalcomponent comp, struct icaltimetype v)"},
	 { (char *)"icalcomponent_set_summary", _wrap_icalcomponent_set_summary, METH_VARARGS, (char *)"icalcomponent_set_summary(icalcomponent comp, char v)"},
	 { (char *)"icalcomponent_get_summary", _wrap_icalcomponent_get_summary, METH_VARARGS, (char *)"icalcomponent_get_summary(icalcomponent comp) -> char"},
	 { (char *)"icalcomponent_set_comment", _wrap_icalcomponent_set_comment, METH_VARARGS, (char *)"icalcomponent_set_comment(icalcomponent comp, char v)"},
	 { (char *)"icalcomponent_get_comment", _wrap_icalcomponent_get_comment, METH_VARARGS, (char *)"icalcomponent_get_comment(icalcomponent comp) -> char"},
	 { (char *)"icalcomponent_set_uid", _wrap_icalcomponent_set_uid, METH_VARARGS, (char *)"icalcomponent_set_uid(icalcomponent comp, char v)"},
	 { (char *)"icalcomponent_get_uid", _wrap_icalcomponent_get_uid, METH_VARARGS, (char *)"icalcomponent_get_uid(icalcomponent comp) -> char"},
	 { (char *)"icalcomponent_set_relcalid", _wrap_icalcomponent_set_relcalid, METH_VARARGS, (char *)"icalcomponent_set_relcalid(icalcomponent comp, char v)"},
	 { (char *)"icalcomponent_get_relcalid", _wrap_icalcomponent_get_relcalid, METH_VARARGS, (char *)"icalcomponent_get_relcalid(icalcomponent comp) -> char"},
	 { (char *)"icalcomponent_set_recurrenceid", _wrap_icalcomponent_set_recurrenceid, METH_VARARGS, (char *)"icalcomponent_set_recurrenceid(icalcomponent comp, struct icaltimetype v)"},
	 { (char *)"icalcomponent_get_recurrenceid", _wrap_icalcomponent_get_recurrenceid, METH_VARARGS, (char *)"icalcomponent_get_recurrenceid(icalcomponent comp) -> struct icaltimetype"},
	 { (char *)"icalcomponent_set_description", _wrap_icalcomponent_set_description, METH_VARARGS, (char *)"icalcomponent_set_description(icalcomponent comp, char v)"},
	 { (char *)"icalcomponent_get_description", _wrap_icalcomponent_get_description, METH_VARARGS, (char *)"icalcomponent_get_description(icalcomponent comp) -> char"},
	 { (char *)"icalcomponent_set_location", _wrap_icalcomponent_set_location, METH_VARARGS, (char *)"icalcomponent_set_location(icalcomponent comp, char v)"},
	 { (char *)"icalcomponent_get_location", _wrap_icalcomponent_get_location, METH_VARARGS, (char *)"icalcomponent_get_location(icalcomponent comp) -> char"},
	 { (char *)"icalcomponent_set_sequence", _wrap_icalcomponent_set_sequence, METH_VARARGS, (char *)"icalcomponent_set_sequence(icalcomponent comp, int v)"},
	 { (char *)"icalcomponent_get_sequence", _wrap_icalcomponent_get_sequence, METH_VARARGS, (char *)"icalcomponent_get_sequence(icalcomponent comp) -> int"},
	 { (char *)"icalcomponent_set_status", _wrap_icalcomponent_set_status, METH_VARARGS, (char *)"icalcomponent_set_status(icalcomponent comp, enum icalproperty_status v)"},
	 { (char *)"icalcomponent_get_status", _wrap_icalcomponent_get_status, METH_VARARGS, (char *)"icalcomponent_get_status(icalcomponent comp) -> enum icalproperty_status"},
	 { (char *)"icalcomponent_foreach_tzid", _wrap_icalcomponent_foreach_tzid, METH_VARARGS, (char *)"icalcomponent_foreach_tzid(icalcomponent comp, void callback, void callback_data)"},
	 { (char *)"icalcomponent_get_timezone", _wrap_icalcomponent_get_timezone, METH_VARARGS, (char *)"icalcomponent_get_timezone(icalcomponent comp, char tzid) -> icaltimezone"},
	 { (char *)"icalproperty_recurrence_is_excluded", _wrap_icalproperty_recurrence_is_excluded, METH_VARARGS, (char *)"icalproperty_recurrence_is_excluded(icalcomponent comp, struct icaltimetype dtstart, struct icaltimetype recurtime) -> int"},
	 { (char *)"icalcomponent_foreach_recurrence", _wrap_icalcomponent_foreach_recurrence, METH_VARARGS, (char *)"\n"
		"icalcomponent_foreach_recurrence(icalcomponent comp, struct icaltimetype start, struct icaltimetype end, \n"
		"    void callback, void callback_data)\n"
		""},
	 { (char *)"icalcomponent_new_vcalendar", _wrap_icalcomponent_new_vcalendar, METH_VARARGS, (char *)"icalcomponent_new_vcalendar() -> icalcomponent"},
	 { (char *)"icalcomponent_new_vevent", _wrap_icalcomponent_new_vevent, METH_VARARGS, (char *)"icalcomponent_new_vevent() -> icalcomponent"},
	 { (char *)"icalcomponent_new_vtodo", _wrap_icalcomponent_new_vtodo, METH_VARARGS, (char *)"icalcomponent_new_vtodo() -> icalcomponent"},
	 { (char *)"icalcomponent_new_vjournal", _wrap_icalcomponent_new_vjournal, METH_VARARGS, (char *)"icalcomponent_new_vjournal() -> icalcomponent"},
	 { (char *)"icalcomponent_new_valarm", _wrap_icalcomponent_new_valarm, METH_VARARGS, (char *)"icalcomponent_new_valarm() -> icalcomponent"},
	 { (char *)"icalcomponent_new_vfreebusy", _wrap_icalcomponent_new_vfreebusy, METH_VARARGS, (char *)"icalcomponent_new_vfreebusy() -> icalcomponent"},
	 { (char *)"icalcomponent_new_vtimezone", _wrap_icalcomponent_new_vtimezone, METH_VARARGS, (char *)"icalcomponent_new_vtimezone() -> icalcomponent"},
	 { (char *)"icalcomponent_new_xstandard", _wrap_icalcomponent_new_xstandard, METH_VARARGS, (char *)"icalcomponent_new_xstandard() -> icalcomponent"},
	 { (char *)"icalcomponent_new_xdaylight", _wrap_icalcomponent_new_xdaylight, METH_VARARGS, (char *)"icalcomponent_new_xdaylight() -> icalcomponent"},
	 { (char *)"icalcomponent_new_vagenda", _wrap_icalcomponent_new_vagenda, METH_VARARGS, (char *)"icalcomponent_new_vagenda() -> icalcomponent"},
	 { (char *)"icalcomponent_new_vquery", _wrap_icalcomponent_new_vquery, METH_VARARGS, (char *)"icalcomponent_new_vquery() -> icalcomponent"},
	 { (char *)"icaltimezone_new", _wrap_icaltimezone_new, METH_VARARGS, (char *)"icaltimezone_new() -> icaltimezone"},
	 { (char *)"icaltimezone_copy", _wrap_icaltimezone_copy, METH_VARARGS, (char *)"icaltimezone_copy(icaltimezone originalzone) -> icaltimezone"},
	 { (char *)"icaltimezone_free", _wrap_icaltimezone_free, METH_VARARGS, (char *)"icaltimezone_free(icaltimezone zone, int free_struct)"},
	 { (char *)"icaltimezone_set_tzid_prefix", _wrap_icaltimezone_set_tzid_prefix, METH_VARARGS, (char *)"icaltimezone_set_tzid_prefix(char new_prefix)"},
	 { (char *)"icaltimezone_free_builtin_timezones", _wrap_icaltimezone_free_builtin_timezones, METH_VARARGS, (char *)"icaltimezone_free_builtin_timezones()"},
	 { (char *)"icaltimezone_get_builtin_timezones", _wrap_icaltimezone_get_builtin_timezones, METH_VARARGS, (char *)"icaltimezone_get_builtin_timezones() -> icalarray"},
	 { (char *)"icaltimezone_get_builtin_timezone", _wrap_icaltimezone_get_builtin_timezone, METH_VARARGS, (char *)"icaltimezone_get_builtin_timezone(char location) -> icaltimezone"},
	 { (char *)"icaltimezone_get_builtin_timezone_from_offset", _wrap_icaltimezone_get_builtin_timezone_from_offset, METH_VARARGS, (char *)"icaltimezone_get_builtin_timezone_from_offset(int offset, char tzname) -> icaltimezone"},
	 { (char *)"icaltimezone_get_builtin_timezone_from_tzid", _wrap_icaltimezone_get_builtin_timezone_from_tzid, METH_VARARGS, (char *)"icaltimezone_get_builtin_timezone_from_tzid(char tzid) -> icaltimezone"},
	 { (char *)"icaltimezone_get_utc_timezone", _wrap_icaltimezone_get_utc_timezone, METH_VARARGS, (char *)"icaltimezone_get_utc_timezone() -> icaltimezone"},
	 { (char *)"icaltimezone_get_tzid", _wrap_icaltimezone_get_tzid, METH_VARARGS, (char *)"icaltimezone_get_tzid(icaltimezone zone) -> char"},
	 { (char *)"icaltimezone_get_location", _wrap_icaltimezone_get_location, METH_VARARGS, (char *)"icaltimezone_get_location(icaltimezone zone) -> char"},
	 { (char *)"icaltimezone_get_tznames", _wrap_icaltimezone_get_tznames, METH_VARARGS, (char *)"icaltimezone_get_tznames(icaltimezone zone) -> char"},
	 { (char *)"icaltimezone_get_latitude", _wrap_icaltimezone_get_latitude, METH_VARARGS, (char *)"icaltimezone_get_latitude(icaltimezone zone) -> double"},
	 { (char *)"icaltimezone_get_longitude", _wrap_icaltimezone_get_longitude, METH_VARARGS, (char *)"icaltimezone_get_longitude(icaltimezone zone) -> double"},
	 { (char *)"icaltimezone_get_component", _wrap_icaltimezone_get_component, METH_VARARGS, (char *)"icaltimezone_get_component(icaltimezone zone) -> icalcomponent"},
	 { (char *)"icaltimezone_set_component", _wrap_icaltimezone_set_component, METH_VARARGS, (char *)"icaltimezone_set_component(icaltimezone zone, icalcomponent comp) -> int"},
	 { (char *)"icaltimezone_get_display_name", _wrap_icaltimezone_get_display_name, METH_VARARGS, (char *)"icaltimezone_get_display_name(icaltimezone zone) -> char"},
	 { (char *)"icaltimezone_convert_time", _wrap_icaltimezone_convert_time, METH_VARARGS, (char *)"icaltimezone_convert_time(struct icaltimetype tt, icaltimezone from_zone, icaltimezone to_zone)"},
	 { (char *)"icaltimezone_array_new", _wrap_icaltimezone_array_new, METH_VARARGS, (char *)"icaltimezone_array_new() -> icalarray"},
	 { (char *)"icaltimezone_array_append_from_vtimezone", _wrap_icaltimezone_array_append_from_vtimezone, METH_VARARGS, (char *)"icaltimezone_array_append_from_vtimezone(icalarray timezones, icalcomponent child)"},
	 { (char *)"icaltimezone_array_free", _wrap_icaltimezone_array_free, METH_VARARGS, (char *)"icaltimezone_array_free(icalarray timezones)"},
	 { (char *)"set_zone_directory", _wrap_set_zone_directory, METH_VARARGS, (char *)"set_zone_directory(char path)"},
	 { (char *)"free_zone_directory", _wrap_free_zone_directory, METH_VARARGS, (char *)"free_zone_directory()"},
	 { (char *)"icaltimezone_release_zone_tab", _wrap_icaltimezone_release_zone_tab, METH_VARARGS, (char *)"icaltimezone_release_zone_tab()"},
	 { (char *)"icaltimezone_dump_changes", _wrap_icaltimezone_dump_changes, METH_VARARGS, (char *)"icaltimezone_dump_changes(icaltimezone zone, int max_year, FILE fp) -> int"},
	 { (char *)"icalparser_new", _wrap_icalparser_new, METH_VARARGS, (char *)"icalparser_new() -> icalparser"},
	 { (char *)"icalparser_add_line", _wrap_icalparser_add_line, METH_VARARGS, (char *)"icalparser_add_line(icalparser parser, char str) -> icalcomponent"},
	 { (char *)"icalparser_clean", _wrap_icalparser_clean, METH_VARARGS, (char *)"icalparser_clean(icalparser parser) -> icalcomponent"},
	 { (char *)"icalparser_get_state", _wrap_icalparser_get_state, METH_VARARGS, (char *)"icalparser_get_state(icalparser parser) -> icalparser_state"},
	 { (char *)"icalparser_free", _wrap_icalparser_free, METH_VARARGS, (char *)"icalparser_free(icalparser parser)"},
	 { (char *)"icalparser_parse", _wrap_icalparser_parse, METH_VARARGS, (char *)"icalparser_parse(icalparser parser, char line_gen_func) -> icalcomponent"},
	 { (char *)"icalparser_set_gen_data", _wrap_icalparser_set_gen_data, METH_VARARGS, (char *)"icalparser_set_gen_data(icalparser parser, void data)"},
	 { (char *)"icalparser_parse_string", _wrap_icalparser_parse_string, METH_VARARGS, (char *)"icalparser_parse_string(char str) -> icalcomponent"},
	 { (char *)"icalparser_get_line", _wrap_icalparser_get_line, METH_VARARGS, (char *)"icalparser_get_line(icalparser parser, char line_gen_func) -> char"},
	 { (char *)"icalparser_string_line_generator", _wrap_icalparser_string_line_generator, METH_VARARGS, (char *)"icalparser_string_line_generator(char out, size_t buf_size, void d) -> char"},
	 { (char *)"icalmemory_tmp_buffer", _wrap_icalmemory_tmp_buffer, METH_VARARGS, (char *)"icalmemory_tmp_buffer(size_t size) -> void"},
	 { (char *)"icalmemory_tmp_copy", _wrap_icalmemory_tmp_copy, METH_VARARGS, (char *)"icalmemory_tmp_copy(char str) -> char"},
	 { (char *)"icalmemory_add_tmp_buffer", _wrap_icalmemory_add_tmp_buffer, METH_VARARGS, (char *)"icalmemory_add_tmp_buffer(void arg0)"},
	 { (char *)"icalmemory_free_ring", _wrap_icalmemory_free_ring, METH_VARARGS, (char *)"icalmemory_free_ring()"},
	 { (char *)"icalmemory_new_buffer", _wrap_icalmemory_new_buffer, METH_VARARGS, (char *)"icalmemory_new_buffer(size_t size) -> void"},
	 { (char *)"icalmemory_resize_buffer", _wrap_icalmemory_resize_buffer, METH_VARARGS, (char *)"icalmemory_resize_buffer(void buf, size_t size) -> void"},
	 { (char *)"icalmemory_free_buffer", _wrap_icalmemory_free_buffer, METH_VARARGS, (char *)"icalmemory_free_buffer(void buf)"},
	 { (char *)"icalmemory_append_string", _wrap_icalmemory_append_string, METH_VARARGS, (char *)"icalmemory_append_string(char buf, char pos, size_t buf_size, char string)"},
	 { (char *)"icalmemory_append_char", _wrap_icalmemory_append_char, METH_VARARGS, (char *)"icalmemory_append_char(char buf, char pos, size_t buf_size, char ch)"},
	 { (char *)"icalmemory_strdup", _wrap_icalmemory_strdup, METH_VARARGS, (char *)"icalmemory_strdup(char s) -> char"},
	 { (char *)"icalerror_stop_here", _wrap_icalerror_stop_here, METH_VARARGS, (char *)"icalerror_stop_here()"},
	 { (char *)"icalerror_crash_here", _wrap_icalerror_crash_here, METH_VARARGS, (char *)"icalerror_crash_here()"},
	 { (char *)"icalerrno_return", _wrap_icalerrno_return, METH_VARARGS, (char *)"icalerrno_return() -> icalerrorenum"},
	 { (char *)"icalerror_clear_errno", _wrap_icalerror_clear_errno, METH_VARARGS, (char *)"icalerror_clear_errno()"},
	 { (char *)"icalerror_strerror", _wrap_icalerror_strerror, METH_VARARGS, (char *)"icalerror_strerror(icalerrorenum e) -> char"},
	 { (char *)"icalerror_perror", _wrap_icalerror_perror, METH_VARARGS, (char *)"icalerror_perror() -> char"},
	 { (char *)"ical_bt", _wrap_ical_bt, METH_VARARGS, (char *)"ical_bt()"},
	 { (char *)"icalerror_set_error_state", _wrap_icalerror_set_error_state, METH_VARARGS, (char *)"icalerror_set_error_state(icalerrorenum error, icalerrorstate arg1)"},
	 { (char *)"icalerror_get_error_state", _wrap_icalerror_get_error_state, METH_VARARGS, (char *)"icalerror_get_error_state(icalerrorenum error) -> icalerrorstate"},
	 { (char *)"icalerror_set_errno", _wrap_icalerror_set_errno, METH_VARARGS, (char *)"icalerror_set_errno(icalerrorenum x)"},
	 { (char *)"icalerror_supress", _wrap_icalerror_supress, METH_VARARGS, (char *)"icalerror_supress(char error) -> icalerrorstate"},
	 { (char *)"icalerror_restore", _wrap_icalerror_restore, METH_VARARGS, (char *)"icalerror_restore(char error, icalerrorstate es)"},
	 { (char *)"icalrestriction_compare", _wrap_icalrestriction_compare, METH_VARARGS, (char *)"icalrestriction_compare(icalrestriction_kind restr, int count) -> int"},
	 { (char *)"icalrestriction_check", _wrap_icalrestriction_check, METH_VARARGS, (char *)"icalrestriction_check(icalcomponent comp) -> int"},
	 { (char *)"sspm_header__def_set", _wrap_sspm_header__def_set, METH_VARARGS, (char *)"sspm_header__def_set(struct sspm_header self, int _def)"},
	 { (char *)"sspm_header__def_get", _wrap_sspm_header__def_get, METH_VARARGS, (char *)"sspm_header__def_get(struct sspm_header self) -> int"},
	 { (char *)"sspm_header_boundary_set", _wrap_sspm_header_boundary_set, METH_VARARGS, (char *)"sspm_header_boundary_set(struct sspm_header self, char boundary)"},
	 { (char *)"sspm_header_boundary_get", _wrap_sspm_header_boundary_get, METH_VARARGS, (char *)"sspm_header_boundary_get(struct sspm_header self) -> char"},
	 { (char *)"sspm_header_major_set", _wrap_sspm_header_major_set, METH_VARARGS, (char *)"sspm_header_major_set(struct sspm_header self, enum sspm_major_type major)"},
	 { (char *)"sspm_header_major_get", _wrap_sspm_header_major_get, METH_VARARGS, (char *)"sspm_header_major_get(struct sspm_header self) -> enum sspm_major_type"},
	 { (char *)"sspm_header_minor_set", _wrap_sspm_header_minor_set, METH_VARARGS, (char *)"sspm_header_minor_set(struct sspm_header self, enum sspm_minor_type minor)"},
	 { (char *)"sspm_header_minor_get", _wrap_sspm_header_minor_get, METH_VARARGS, (char *)"sspm_header_minor_get(struct sspm_header self) -> enum sspm_minor_type"},
	 { (char *)"sspm_header_minor_text_set", _wrap_sspm_header_minor_text_set, METH_VARARGS, (char *)"sspm_header_minor_text_set(struct sspm_header self, char minor_text)"},
	 { (char *)"sspm_header_minor_text_get", _wrap_sspm_header_minor_text_get, METH_VARARGS, (char *)"sspm_header_minor_text_get(struct sspm_header self) -> char"},
	 { (char *)"sspm_header_content_type_params_set", _wrap_sspm_header_content_type_params_set, METH_VARARGS, (char *)"sspm_header_content_type_params_set(struct sspm_header self, char content_type_params)"},
	 { (char *)"sspm_header_content_type_params_get", _wrap_sspm_header_content_type_params_get, METH_VARARGS, (char *)"sspm_header_content_type_params_get(struct sspm_header self) -> char"},
	 { (char *)"sspm_header_charset_set", _wrap_sspm_header_charset_set, METH_VARARGS, (char *)"sspm_header_charset_set(struct sspm_header self, char charset)"},
	 { (char *)"sspm_header_charset_get", _wrap_sspm_header_charset_get, METH_VARARGS, (char *)"sspm_header_charset_get(struct sspm_header self) -> char"},
	 { (char *)"sspm_header_encoding_set", _wrap_sspm_header_encoding_set, METH_VARARGS, (char *)"sspm_header_encoding_set(struct sspm_header self, enum sspm_encoding encoding)"},
	 { (char *)"sspm_header_encoding_get", _wrap_sspm_header_encoding_get, METH_VARARGS, (char *)"sspm_header_encoding_get(struct sspm_header self) -> enum sspm_encoding"},
	 { (char *)"sspm_header_filename_set", _wrap_sspm_header_filename_set, METH_VARARGS, (char *)"sspm_header_filename_set(struct sspm_header self, char filename)"},
	 { (char *)"sspm_header_filename_get", _wrap_sspm_header_filename_get, METH_VARARGS, (char *)"sspm_header_filename_get(struct sspm_header self) -> char"},
	 { (char *)"sspm_header_content_id_set", _wrap_sspm_header_content_id_set, METH_VARARGS, (char *)"sspm_header_content_id_set(struct sspm_header self, char content_id)"},
	 { (char *)"sspm_header_content_id_get", _wrap_sspm_header_content_id_get, METH_VARARGS, (char *)"sspm_header_content_id_get(struct sspm_header self) -> char"},
	 { (char *)"sspm_header_error_set", _wrap_sspm_header_error_set, METH_VARARGS, (char *)"sspm_header_error_set(struct sspm_header self, enum sspm_error error)"},
	 { (char *)"sspm_header_error_get", _wrap_sspm_header_error_get, METH_VARARGS, (char *)"sspm_header_error_get(struct sspm_header self) -> enum sspm_error"},
	 { (char *)"sspm_header_error_text_set", _wrap_sspm_header_error_text_set, METH_VARARGS, (char *)"sspm_header_error_text_set(struct sspm_header self, char error_text)"},
	 { (char *)"sspm_header_error_text_get", _wrap_sspm_header_error_text_get, METH_VARARGS, (char *)"sspm_header_error_text_get(struct sspm_header self) -> char"},
	 { (char *)"new_sspm_header", _wrap_new_sspm_header, METH_VARARGS, (char *)"new_sspm_header() -> struct sspm_header"},
	 { (char *)"delete_sspm_header", _wrap_delete_sspm_header, METH_VARARGS, (char *)"delete_sspm_header(struct sspm_header self)"},
	 { (char *)"sspm_header_swigregister", sspm_header_swigregister, METH_VARARGS, NULL},
	 { (char *)"sspm_part_header_set", _wrap_sspm_part_header_set, METH_VARARGS, (char *)"sspm_part_header_set(struct sspm_part self, struct sspm_header header)"},
	 { (char *)"sspm_part_header_get", _wrap_sspm_part_header_get, METH_VARARGS, (char *)"sspm_part_header_get(struct sspm_part self) -> struct sspm_header"},
	 { (char *)"sspm_part_level_set", _wrap_sspm_part_level_set, METH_VARARGS, (char *)"sspm_part_level_set(struct sspm_part self, int level)"},
	 { (char *)"sspm_part_level_get", _wrap_sspm_part_level_get, METH_VARARGS, (char *)"sspm_part_level_get(struct sspm_part self) -> int"},
	 { (char *)"sspm_part_data_size_set", _wrap_sspm_part_data_size_set, METH_VARARGS, (char *)"sspm_part_data_size_set(struct sspm_part self, size_t data_size)"},
	 { (char *)"sspm_part_data_size_get", _wrap_sspm_part_data_size_get, METH_VARARGS, (char *)"sspm_part_data_size_get(struct sspm_part self) -> size_t"},
	 { (char *)"sspm_part_data_set", _wrap_sspm_part_data_set, METH_VARARGS, (char *)"sspm_part_data_set(struct sspm_part self, void data)"},
	 { (char *)"sspm_part_data_get", _wrap_sspm_part_data_get, METH_VARARGS, (char *)"sspm_part_data_get(struct sspm_part self) -> void"},
	 { (char *)"new_sspm_part", _wrap_new_sspm_part, METH_VARARGS, (char *)"new_sspm_part() -> struct sspm_part"},
	 { (char *)"delete_sspm_part", _wrap_delete_sspm_part, METH_VARARGS, (char *)"delete_sspm_part(struct sspm_part self)"},
	 { (char *)"sspm_part_swigregister", sspm_part_swigregister, METH_VARARGS, NULL},
	 { (char *)"sspm_action_map_major_set", _wrap_sspm_action_map_major_set, METH_VARARGS, (char *)"sspm_action_map_major_set(struct sspm_action_map self, enum sspm_major_type major)"},
	 { (char *)"sspm_action_map_major_get", _wrap_sspm_action_map_major_get, METH_VARARGS, (char *)"sspm_action_map_major_get(struct sspm_action_map self) -> enum sspm_major_type"},
	 { (char *)"sspm_action_map_minor_set", _wrap_sspm_action_map_minor_set, METH_VARARGS, (char *)"sspm_action_map_minor_set(struct sspm_action_map self, enum sspm_minor_type minor)"},
	 { (char *)"sspm_action_map_minor_get", _wrap_sspm_action_map_minor_get, METH_VARARGS, (char *)"sspm_action_map_minor_get(struct sspm_action_map self) -> enum sspm_minor_type"},
	 { (char *)"sspm_action_map_new_part_set", _wrap_sspm_action_map_new_part_set, METH_VARARGS, (char *)"sspm_action_map_new_part_set(struct sspm_action_map self, void new_part)"},
	 { (char *)"sspm_action_map_new_part_get", _wrap_sspm_action_map_new_part_get, METH_VARARGS, (char *)"sspm_action_map_new_part_get(struct sspm_action_map self) -> void"},
	 { (char *)"sspm_action_map_add_line_set", _wrap_sspm_action_map_add_line_set, METH_VARARGS, (char *)"sspm_action_map_add_line_set(struct sspm_action_map self, void add_line)"},
	 { (char *)"sspm_action_map_add_line_get", _wrap_sspm_action_map_add_line_get, METH_VARARGS, (char *)"sspm_action_map_add_line_get(struct sspm_action_map self) -> void"},
	 { (char *)"sspm_action_map_end_part_set", _wrap_sspm_action_map_end_part_set, METH_VARARGS, (char *)"sspm_action_map_end_part_set(struct sspm_action_map self, void end_part)"},
	 { (char *)"sspm_action_map_end_part_get", _wrap_sspm_action_map_end_part_get, METH_VARARGS, (char *)"sspm_action_map_end_part_get(struct sspm_action_map self) -> void"},
	 { (char *)"sspm_action_map_free_part_set", _wrap_sspm_action_map_free_part_set, METH_VARARGS, (char *)"sspm_action_map_free_part_set(struct sspm_action_map self, void free_part)"},
	 { (char *)"sspm_action_map_free_part_get", _wrap_sspm_action_map_free_part_get, METH_VARARGS, (char *)"sspm_action_map_free_part_get(struct sspm_action_map self) -> void"},
	 { (char *)"new_sspm_action_map", _wrap_new_sspm_action_map, METH_VARARGS, (char *)"new_sspm_action_map() -> struct sspm_action_map"},
	 { (char *)"delete_sspm_action_map", _wrap_delete_sspm_action_map, METH_VARARGS, (char *)"delete_sspm_action_map(struct sspm_action_map self)"},
	 { (char *)"sspm_action_map_swigregister", sspm_action_map_swigregister, METH_VARARGS, NULL},
	 { (char *)"sspm_major_type_string", _wrap_sspm_major_type_string, METH_VARARGS, (char *)"sspm_major_type_string(enum sspm_major_type type) -> char"},
	 { (char *)"sspm_minor_type_string", _wrap_sspm_minor_type_string, METH_VARARGS, (char *)"sspm_minor_type_string(enum sspm_minor_type type) -> char"},
	 { (char *)"sspm_encoding_string", _wrap_sspm_encoding_string, METH_VARARGS, (char *)"sspm_encoding_string(enum sspm_encoding type) -> char"},
	 { (char *)"sspm_parse_mime", _wrap_sspm_parse_mime, METH_VARARGS, (char *)"\n"
		"sspm_parse_mime(struct sspm_part parts, size_t max_parts, struct sspm_action_map actions, \n"
		"    char get_string, void get_string_data, \n"
		"    struct sspm_header first_header) -> int\n"
		""},
	 { (char *)"sspm_free_parts", _wrap_sspm_free_parts, METH_VARARGS, (char *)"sspm_free_parts(struct sspm_part parts, size_t max_parts)"},
	 { (char *)"decode_quoted_printable", _wrap_decode_quoted_printable, METH_VARARGS, (char *)"decode_quoted_printable(char dest, char src, size_t size) -> char"},
	 { (char *)"decode_base64", _wrap_decode_base64, METH_VARARGS, (char *)"decode_base64(char dest, char src, size_t size) -> char"},
	 { (char *)"sspm_write_mime", _wrap_sspm_write_mime, METH_VARARGS, (char *)"\n"
		"sspm_write_mime(struct sspm_part parts, size_t num_parts, char output_string, \n"
		"    char header) -> int\n"
		""},
	 { (char *)"icalmime_parse", _wrap_icalmime_parse, METH_VARARGS, (char *)"icalmime_parse(char line_gen_func, void data) -> icalcomponent"},
	 { (char *)"icallangbind_new_array", _wrap_icallangbind_new_array, METH_VARARGS, (char *)"icallangbind_new_array(int size) -> int"},
	 { (char *)"icallangbind_free_array", _wrap_icallangbind_free_array, METH_VARARGS, (char *)"icallangbind_free_array(int array)"},
	 { (char *)"icallangbind_access_array", _wrap_icallangbind_access_array, METH_VARARGS, (char *)"icallangbind_access_array(int array, int index) -> int"},
	 { (char *)"icallangbind_get_first_property", _wrap_icallangbind_get_first_property, METH_VARARGS, (char *)"icallangbind_get_first_property(icalcomponent c, char prop) -> icalproperty"},
	 { (char *)"icallangbind_get_next_property", _wrap_icallangbind_get_next_property, METH_VARARGS, (char *)"icallangbind_get_next_property(icalcomponent c, char prop) -> icalproperty"},
	 { (char *)"icallangbind_get_first_component", _wrap_icallangbind_get_first_component, METH_VARARGS, (char *)"icallangbind_get_first_component(icalcomponent c, char comp) -> icalcomponent"},
	 { (char *)"icallangbind_get_next_component", _wrap_icallangbind_get_next_component, METH_VARARGS, (char *)"icallangbind_get_next_component(icalcomponent c, char comp) -> icalcomponent"},
	 { (char *)"icallangbind_get_first_parameter", _wrap_icallangbind_get_first_parameter, METH_VARARGS, (char *)"icallangbind_get_first_parameter(icalproperty prop) -> icalparameter"},
	 { (char *)"icallangbind_get_next_parameter", _wrap_icallangbind_get_next_parameter, METH_VARARGS, (char *)"icallangbind_get_next_parameter(icalproperty prop) -> icalparameter"},
	 { (char *)"icallangbind_property_eval_string", _wrap_icallangbind_property_eval_string, METH_VARARGS, (char *)"icallangbind_property_eval_string(icalproperty prop, char sep) -> char"},
	 { (char *)"icallangbind_property_eval_string_r", _wrap_icallangbind_property_eval_string_r, METH_VARARGS, (char *)"icallangbind_property_eval_string_r(icalproperty prop, char sep) -> char"},
	 { (char *)"icallangbind_string_to_open_flag", _wrap_icallangbind_string_to_open_flag, METH_VARARGS, (char *)"icallangbind_string_to_open_flag(char str) -> int"},
	 { (char *)"icallangbind_quote_as_ical", _wrap_icallangbind_quote_as_ical, METH_VARARGS, (char *)"icallangbind_quote_as_ical(char str) -> char"},
	 { (char *)"icallangbind_quote_as_ical_r", _wrap_icallangbind_quote_as_ical_r, METH_VARARGS, (char *)"icallangbind_quote_as_ical_r(char str) -> char"},
	 { (char *)"icalgauge_new_from_sql", _wrap_icalgauge_new_from_sql, METH_VARARGS, (char *)"icalgauge_new_from_sql(char sql, int expand) -> icalgauge"},
	 { (char *)"icalgauge_get_expand", _wrap_icalgauge_get_expand, METH_VARARGS, (char *)"icalgauge_get_expand(icalgauge gauge) -> int"},
	 { (char *)"icalgauge_free", _wrap_icalgauge_free, METH_VARARGS, (char *)"icalgauge_free(icalgauge gauge)"},
	 { (char *)"icalgauge_dump", _wrap_icalgauge_dump, METH_VARARGS, (char *)"icalgauge_dump(icalgauge gauge)"},
	 { (char *)"icalgauge_compare", _wrap_icalgauge_compare, METH_VARARGS, (char *)"icalgauge_compare(icalgauge g, icalcomponent comp) -> int"},
	 { (char *)"icalsetiter_iter_set", _wrap_icalsetiter_iter_set, METH_VARARGS, (char *)"icalsetiter_iter_set(icalsetiter self, icalcompiter iter)"},
	 { (char *)"icalsetiter_iter_get", _wrap_icalsetiter_iter_get, METH_VARARGS, (char *)"icalsetiter_iter_get(icalsetiter self) -> icalcompiter"},
	 { (char *)"icalsetiter_gauge_set", _wrap_icalsetiter_gauge_set, METH_VARARGS, (char *)"icalsetiter_gauge_set(icalsetiter self, icalgauge gauge)"},
	 { (char *)"icalsetiter_gauge_get", _wrap_icalsetiter_gauge_get, METH_VARARGS, (char *)"icalsetiter_gauge_get(icalsetiter self) -> icalgauge"},
	 { (char *)"icalsetiter_ritr_set", _wrap_icalsetiter_ritr_set, METH_VARARGS, (char *)"icalsetiter_ritr_set(icalsetiter self, icalrecur_iterator ritr)"},
	 { (char *)"icalsetiter_ritr_get", _wrap_icalsetiter_ritr_get, METH_VARARGS, (char *)"icalsetiter_ritr_get(icalsetiter self) -> icalrecur_iterator"},
	 { (char *)"icalsetiter_last_component_set", _wrap_icalsetiter_last_component_set, METH_VARARGS, (char *)"icalsetiter_last_component_set(icalsetiter self, icalcomponent last_component)"},
	 { (char *)"icalsetiter_last_component_get", _wrap_icalsetiter_last_component_get, METH_VARARGS, (char *)"icalsetiter_last_component_get(icalsetiter self) -> icalcomponent"},
	 { (char *)"icalsetiter_tzid_set", _wrap_icalsetiter_tzid_set, METH_VARARGS, (char *)"icalsetiter_tzid_set(icalsetiter self, char tzid)"},
	 { (char *)"icalsetiter_tzid_get", _wrap_icalsetiter_tzid_get, METH_VARARGS, (char *)"icalsetiter_tzid_get(icalsetiter self) -> char"},
	 { (char *)"new_icalsetiter", _wrap_new_icalsetiter, METH_VARARGS, (char *)"new_icalsetiter() -> icalsetiter"},
	 { (char *)"delete_icalsetiter", _wrap_delete_icalsetiter, METH_VARARGS, (char *)"delete_icalsetiter(icalsetiter self)"},
	 { (char *)"icalsetiter_swigregister", icalsetiter_swigregister, METH_VARARGS, NULL},
	 { (char *)"icalset_impl_kind_set", _wrap_icalset_impl_kind_set, METH_VARARGS, (char *)"icalset_impl_kind_set(struct icalset_impl self, icalset_kind kind)"},
	 { (char *)"icalset_impl_kind_get", _wrap_icalset_impl_kind_get, METH_VARARGS, (char *)"icalset_impl_kind_get(struct icalset_impl self) -> icalset_kind"},
	 { (char *)"icalset_impl_size_set", _wrap_icalset_impl_size_set, METH_VARARGS, (char *)"icalset_impl_size_set(struct icalset_impl self, int size)"},
	 { (char *)"icalset_impl_size_get", _wrap_icalset_impl_size_get, METH_VARARGS, (char *)"icalset_impl_size_get(struct icalset_impl self) -> int"},
	 { (char *)"icalset_impl_dsn_set", _wrap_icalset_impl_dsn_set, METH_VARARGS, (char *)"icalset_impl_dsn_set(struct icalset_impl self, char dsn)"},
	 { (char *)"icalset_impl_dsn_get", _wrap_icalset_impl_dsn_get, METH_VARARGS, (char *)"icalset_impl_dsn_get(struct icalset_impl self) -> char"},
	 { (char *)"icalset_impl_init_set", _wrap_icalset_impl_init_set, METH_VARARGS, (char *)"icalset_impl_init_set(struct icalset_impl self, icalset init)"},
	 { (char *)"icalset_impl_init_get", _wrap_icalset_impl_init_get, METH_VARARGS, (char *)"icalset_impl_init_get(struct icalset_impl self) -> icalset"},
	 { (char *)"icalset_impl_free_set", _wrap_icalset_impl_free_set, METH_VARARGS, (char *)"icalset_impl_free_set(struct icalset_impl self, void free)"},
	 { (char *)"icalset_impl_free_get", _wrap_icalset_impl_free_get, METH_VARARGS, (char *)"icalset_impl_free_get(struct icalset_impl self) -> void"},
	 { (char *)"icalset_impl_path_set", _wrap_icalset_impl_path_set, METH_VARARGS, (char *)"icalset_impl_path_set(struct icalset_impl self, char path)"},
	 { (char *)"icalset_impl_path_get", _wrap_icalset_impl_path_get, METH_VARARGS, (char *)"icalset_impl_path_get(struct icalset_impl self) -> char"},
	 { (char *)"icalset_impl_mark_set", _wrap_icalset_impl_mark_set, METH_VARARGS, (char *)"icalset_impl_mark_set(struct icalset_impl self, void mark)"},
	 { (char *)"icalset_impl_mark_get", _wrap_icalset_impl_mark_get, METH_VARARGS, (char *)"icalset_impl_mark_get(struct icalset_impl self) -> void"},
	 { (char *)"icalset_impl_commit_set", _wrap_icalset_impl_commit_set, METH_VARARGS, (char *)"icalset_impl_commit_set(struct icalset_impl self, icalerrorenum commit)"},
	 { (char *)"icalset_impl_commit_get", _wrap_icalset_impl_commit_get, METH_VARARGS, (char *)"icalset_impl_commit_get(struct icalset_impl self) -> icalerrorenum"},
	 { (char *)"icalset_impl_add_component_set", _wrap_icalset_impl_add_component_set, METH_VARARGS, (char *)"icalset_impl_add_component_set(struct icalset_impl self, icalerrorenum add_component)"},
	 { (char *)"icalset_impl_add_component_get", _wrap_icalset_impl_add_component_get, METH_VARARGS, (char *)"icalset_impl_add_component_get(struct icalset_impl self) -> icalerrorenum"},
	 { (char *)"icalset_impl_remove_component_set", _wrap_icalset_impl_remove_component_set, METH_VARARGS, (char *)"icalset_impl_remove_component_set(struct icalset_impl self, icalerrorenum remove_component)"},
	 { (char *)"icalset_impl_remove_component_get", _wrap_icalset_impl_remove_component_get, METH_VARARGS, (char *)"icalset_impl_remove_component_get(struct icalset_impl self) -> icalerrorenum"},
	 { (char *)"icalset_impl_count_components_set", _wrap_icalset_impl_count_components_set, METH_VARARGS, (char *)"icalset_impl_count_components_set(struct icalset_impl self, int count_components)"},
	 { (char *)"icalset_impl_count_components_get", _wrap_icalset_impl_count_components_get, METH_VARARGS, (char *)"icalset_impl_count_components_get(struct icalset_impl self) -> int"},
	 { (char *)"icalset_impl_select_set", _wrap_icalset_impl_select_set, METH_VARARGS, (char *)"icalset_impl_select_set(struct icalset_impl self, icalerrorenum select)"},
	 { (char *)"icalset_impl_select_get", _wrap_icalset_impl_select_get, METH_VARARGS, (char *)"icalset_impl_select_get(struct icalset_impl self) -> icalerrorenum"},
	 { (char *)"icalset_impl_clear_set", _wrap_icalset_impl_clear_set, METH_VARARGS, (char *)"icalset_impl_clear_set(struct icalset_impl self, void clear)"},
	 { (char *)"icalset_impl_clear_get", _wrap_icalset_impl_clear_get, METH_VARARGS, (char *)"icalset_impl_clear_get(struct icalset_impl self) -> void"},
	 { (char *)"icalset_impl_fetch_set", _wrap_icalset_impl_fetch_set, METH_VARARGS, (char *)"icalset_impl_fetch_set(struct icalset_impl self, icalcomponent fetch)"},
	 { (char *)"icalset_impl_fetch_get", _wrap_icalset_impl_fetch_get, METH_VARARGS, (char *)"icalset_impl_fetch_get(struct icalset_impl self) -> icalcomponent"},
	 { (char *)"icalset_impl_fetch_match_set", _wrap_icalset_impl_fetch_match_set, METH_VARARGS, (char *)"icalset_impl_fetch_match_set(struct icalset_impl self, icalcomponent fetch_match)"},
	 { (char *)"icalset_impl_fetch_match_get", _wrap_icalset_impl_fetch_match_get, METH_VARARGS, (char *)"icalset_impl_fetch_match_get(struct icalset_impl self) -> icalcomponent"},
	 { (char *)"icalset_impl_has_uid_set", _wrap_icalset_impl_has_uid_set, METH_VARARGS, (char *)"icalset_impl_has_uid_set(struct icalset_impl self, int has_uid)"},
	 { (char *)"icalset_impl_has_uid_get", _wrap_icalset_impl_has_uid_get, METH_VARARGS, (char *)"icalset_impl_has_uid_get(struct icalset_impl self) -> int"},
	 { (char *)"icalset_impl_modify_set", _wrap_icalset_impl_modify_set, METH_VARARGS, (char *)"icalset_impl_modify_set(struct icalset_impl self, icalerrorenum modify)"},
	 { (char *)"icalset_impl_modify_get", _wrap_icalset_impl_modify_get, METH_VARARGS, (char *)"icalset_impl_modify_get(struct icalset_impl self) -> icalerrorenum"},
	 { (char *)"icalset_impl_get_current_component_set", _wrap_icalset_impl_get_current_component_set, METH_VARARGS, (char *)"icalset_impl_get_current_component_set(struct icalset_impl self, icalcomponent get_current_component)"},
	 { (char *)"icalset_impl_get_current_component_get", _wrap_icalset_impl_get_current_component_get, METH_VARARGS, (char *)"icalset_impl_get_current_component_get(struct icalset_impl self) -> icalcomponent"},
	 { (char *)"icalset_impl_get_first_component_set", _wrap_icalset_impl_get_first_component_set, METH_VARARGS, (char *)"icalset_impl_get_first_component_set(struct icalset_impl self, icalcomponent get_first_component)"},
	 { (char *)"icalset_impl_get_first_component_get", _wrap_icalset_impl_get_first_component_get, METH_VARARGS, (char *)"icalset_impl_get_first_component_get(struct icalset_impl self) -> icalcomponent"},
	 { (char *)"icalset_impl_get_next_component_set", _wrap_icalset_impl_get_next_component_set, METH_VARARGS, (char *)"icalset_impl_get_next_component_set(struct icalset_impl self, icalcomponent get_next_component)"},
	 { (char *)"icalset_impl_get_next_component_get", _wrap_icalset_impl_get_next_component_get, METH_VARARGS, (char *)"icalset_impl_get_next_component_get(struct icalset_impl self) -> icalcomponent"},
	 { (char *)"icalset_impl_icalset_begin_component_set", _wrap_icalset_impl_icalset_begin_component_set, METH_VARARGS, (char *)"icalset_impl_icalset_begin_component_set(struct icalset_impl self, icalsetiter icalset_begin_component)"},
	 { (char *)"icalset_impl_icalset_begin_component_get", _wrap_icalset_impl_icalset_begin_component_get, METH_VARARGS, (char *)"icalset_impl_icalset_begin_component_get(struct icalset_impl self) -> icalsetiter"},
	 { (char *)"icalset_impl_icalsetiter_to_next_set", _wrap_icalset_impl_icalsetiter_to_next_set, METH_VARARGS, (char *)"icalset_impl_icalsetiter_to_next_set(struct icalset_impl self, icalcomponent icalsetiter_to_next)"},
	 { (char *)"icalset_impl_icalsetiter_to_next_get", _wrap_icalset_impl_icalsetiter_to_next_get, METH_VARARGS, (char *)"icalset_impl_icalsetiter_to_next_get(struct icalset_impl self) -> icalcomponent"},
	 { (char *)"icalset_impl_icalsetiter_to_prior_set", _wrap_icalset_impl_icalsetiter_to_prior_set, METH_VARARGS, (char *)"icalset_impl_icalsetiter_to_prior_set(struct icalset_impl self, icalcomponent icalsetiter_to_prior)"},
	 { (char *)"icalset_impl_icalsetiter_to_prior_get", _wrap_icalset_impl_icalsetiter_to_prior_get, METH_VARARGS, (char *)"icalset_impl_icalsetiter_to_prior_get(struct icalset_impl self) -> icalcomponent"},
	 { (char *)"new_icalset_impl", _wrap_new_icalset_impl, METH_VARARGS, (char *)"new_icalset_impl() -> struct icalset_impl"},
	 { (char *)"delete_icalset_impl", _wrap_delete_icalset_impl, METH_VARARGS, (char *)"delete_icalset_impl(struct icalset_impl self)"},
	 { (char *)"icalset_impl_swigregister", icalset_impl_swigregister, METH_VARARGS, NULL},
	 { (char *)"icalset_new", _wrap_icalset_new, METH_VARARGS, (char *)"icalset_new(icalset_kind kind, char dsn, void options) -> icalset"},
	 { (char *)"icalset_new_file", _wrap_icalset_new_file, METH_VARARGS, (char *)"icalset_new_file(char path) -> icalset"},
	 { (char *)"icalset_new_file_reader", _wrap_icalset_new_file_reader, METH_VARARGS, (char *)"icalset_new_file_reader(char path) -> icalset"},
	 { (char *)"icalset_new_file_writer", _wrap_icalset_new_file_writer, METH_VARARGS, (char *)"icalset_new_file_writer(char path) -> icalset"},
	 { (char *)"icalset_new_dir", _wrap_icalset_new_dir, METH_VARARGS, (char *)"icalset_new_dir(char path) -> icalset"},
	 { (char *)"icalset_free", _wrap_icalset_free, METH_VARARGS, (char *)"icalset_free(icalset set)"},
	 { (char *)"icalset_path", _wrap_icalset_path, METH_VARARGS, (char *)"icalset_path(icalset set) -> char"},
	 { (char *)"icalset_mark", _wrap_icalset_mark, METH_VARARGS, (char *)"icalset_mark(icalset set)"},
	 { (char *)"icalset_commit", _wrap_icalset_commit, METH_VARARGS, (char *)"icalset_commit(icalset set) -> icalerrorenum"},
	 { (char *)"icalset_add_component", _wrap_icalset_add_component, METH_VARARGS, (char *)"icalset_add_component(icalset set, icalcomponent comp) -> icalerrorenum"},
	 { (char *)"icalset_remove_component", _wrap_icalset_remove_component, METH_VARARGS, (char *)"icalset_remove_component(icalset set, icalcomponent comp) -> icalerrorenum"},
	 { (char *)"icalset_count_components", _wrap_icalset_count_components, METH_VARARGS, (char *)"icalset_count_components(icalset set, icalcomponent_kind kind) -> int"},
	 { (char *)"icalset_select", _wrap_icalset_select, METH_VARARGS, (char *)"icalset_select(icalset set, icalgauge gauge) -> icalerrorenum"},
	 { (char *)"icalset_fetch", _wrap_icalset_fetch, METH_VARARGS, (char *)"icalset_fetch(icalset set, char uid) -> icalcomponent"},
	 { (char *)"icalset_has_uid", _wrap_icalset_has_uid, METH_VARARGS, (char *)"icalset_has_uid(icalset set, char uid) -> int"},
	 { (char *)"icalset_fetch_match", _wrap_icalset_fetch_match, METH_VARARGS, (char *)"icalset_fetch_match(icalset set, icalcomponent c) -> icalcomponent"},
	 { (char *)"icalset_modify", _wrap_icalset_modify, METH_VARARGS, (char *)"icalset_modify(icalset set, icalcomponent oldc, icalcomponent newc) -> icalerrorenum"},
	 { (char *)"icalset_get_current_component", _wrap_icalset_get_current_component, METH_VARARGS, (char *)"icalset_get_current_component(icalset set) -> icalcomponent"},
	 { (char *)"icalset_get_first_component", _wrap_icalset_get_first_component, METH_VARARGS, (char *)"icalset_get_first_component(icalset set) -> icalcomponent"},
	 { (char *)"icalset_get_next_component", _wrap_icalset_get_next_component, METH_VARARGS, (char *)"icalset_get_next_component(icalset set) -> icalcomponent"},
	 { (char *)"icalset_begin_component", _wrap_icalset_begin_component, METH_VARARGS, (char *)"icalset_begin_component(icalset set, icalcomponent_kind kind, icalgauge gauge) -> icalsetiter"},
	 { (char *)"icalsetiter_next", _wrap_icalsetiter_next, METH_VARARGS, (char *)"icalsetiter_next(icalsetiter i) -> icalcomponent"},
	 { (char *)"icalsetiter_prior", _wrap_icalsetiter_prior, METH_VARARGS, (char *)"icalsetiter_prior(icalsetiter i) -> icalcomponent"},
	 { (char *)"icalsetiter_deref", _wrap_icalsetiter_deref, METH_VARARGS, (char *)"icalsetiter_deref(icalsetiter i) -> icalcomponent"},
	 { (char *)"icalsetiter_to_next", _wrap_icalsetiter_to_next, METH_VARARGS, (char *)"icalsetiter_to_next(icalset set, icalsetiter i) -> icalcomponent"},
	 { (char *)"icalsetiter_to_prior", _wrap_icalsetiter_to_prior, METH_VARARGS, (char *)"icalsetiter_to_prior(icalset set, icalsetiter i) -> icalcomponent"},
	 { (char *)"icalcluster_new", _wrap_icalcluster_new, METH_VARARGS, (char *)"icalcluster_new(char key, icalcomponent data) -> icalcluster"},
	 { (char *)"icalcluster_new_clone", _wrap_icalcluster_new_clone, METH_VARARGS, (char *)"icalcluster_new_clone(icalcluster cluster) -> icalcluster"},
	 { (char *)"icalcluster_free", _wrap_icalcluster_free, METH_VARARGS, (char *)"icalcluster_free(icalcluster cluster)"},
	 { (char *)"icalcluster_key", _wrap_icalcluster_key, METH_VARARGS, (char *)"icalcluster_key(icalcluster cluster) -> char"},
	 { (char *)"icalcluster_is_changed", _wrap_icalcluster_is_changed, METH_VARARGS, (char *)"icalcluster_is_changed(icalcluster cluster) -> int"},
	 { (char *)"icalcluster_mark", _wrap_icalcluster_mark, METH_VARARGS, (char *)"icalcluster_mark(icalcluster cluster)"},
	 { (char *)"icalcluster_commit", _wrap_icalcluster_commit, METH_VARARGS, (char *)"icalcluster_commit(icalcluster cluster)"},
	 { (char *)"icalcluster_get_component", _wrap_icalcluster_get_component, METH_VARARGS, (char *)"icalcluster_get_component(icalcluster cluster) -> icalcomponent"},
	 { (char *)"icalcluster_count_components", _wrap_icalcluster_count_components, METH_VARARGS, (char *)"icalcluster_count_components(icalcluster cluster, icalcomponent_kind kind) -> int"},
	 { (char *)"icalcluster_add_component", _wrap_icalcluster_add_component, METH_VARARGS, (char *)"icalcluster_add_component(icalcluster cluster, icalcomponent child) -> icalerrorenum"},
	 { (char *)"icalcluster_remove_component", _wrap_icalcluster_remove_component, METH_VARARGS, (char *)"icalcluster_remove_component(icalcluster cluster, icalcomponent child) -> icalerrorenum"},
	 { (char *)"icalcluster_get_current_component", _wrap_icalcluster_get_current_component, METH_VARARGS, (char *)"icalcluster_get_current_component(icalcluster cluster) -> icalcomponent"},
	 { (char *)"icalcluster_get_first_component", _wrap_icalcluster_get_first_component, METH_VARARGS, (char *)"icalcluster_get_first_component(icalcluster cluster) -> icalcomponent"},
	 { (char *)"icalcluster_get_next_component", _wrap_icalcluster_get_next_component, METH_VARARGS, (char *)"icalcluster_get_next_component(icalcluster cluster) -> icalcomponent"},
	 { (char *)"icalfileset_new", _wrap_icalfileset_new, METH_VARARGS, (char *)"icalfileset_new(char path) -> icalset"},
	 { (char *)"icalfileset_new_reader", _wrap_icalfileset_new_reader, METH_VARARGS, (char *)"icalfileset_new_reader(char path) -> icalset"},
	 { (char *)"icalfileset_new_writer", _wrap_icalfileset_new_writer, METH_VARARGS, (char *)"icalfileset_new_writer(char path) -> icalset"},
	 { (char *)"icalfileset_init", _wrap_icalfileset_init, METH_VARARGS, (char *)"icalfileset_init(icalset set, char dsn, void options) -> icalset"},
	 { (char *)"icalfileset_produce_icalcluster", _wrap_icalfileset_produce_icalcluster, METH_VARARGS, (char *)"icalfileset_produce_icalcluster(char path) -> icalcluster"},
	 { (char *)"icalfileset_free", _wrap_icalfileset_free, METH_VARARGS, (char *)"icalfileset_free(icalset cluster)"},
	 { (char *)"icalfileset_path", _wrap_icalfileset_path, METH_VARARGS, (char *)"icalfileset_path(icalset cluster) -> char"},
	 { (char *)"icalfileset_mark", _wrap_icalfileset_mark, METH_VARARGS, (char *)"icalfileset_mark(icalset set)"},
	 { (char *)"icalfileset_commit", _wrap_icalfileset_commit, METH_VARARGS, (char *)"icalfileset_commit(icalset set) -> icalerrorenum"},
	 { (char *)"icalfileset_add_component", _wrap_icalfileset_add_component, METH_VARARGS, (char *)"icalfileset_add_component(icalset set, icalcomponent child) -> icalerrorenum"},
	 { (char *)"icalfileset_remove_component", _wrap_icalfileset_remove_component, METH_VARARGS, (char *)"icalfileset_remove_component(icalset set, icalcomponent child) -> icalerrorenum"},
	 { (char *)"icalfileset_count_components", _wrap_icalfileset_count_components, METH_VARARGS, (char *)"icalfileset_count_components(icalset set, icalcomponent_kind kind) -> int"},
	 { (char *)"icalfileset_select", _wrap_icalfileset_select, METH_VARARGS, (char *)"icalfileset_select(icalset set, icalgauge gauge) -> icalerrorenum"},
	 { (char *)"icalfileset_clear", _wrap_icalfileset_clear, METH_VARARGS, (char *)"icalfileset_clear(icalset set)"},
	 { (char *)"icalfileset_fetch", _wrap_icalfileset_fetch, METH_VARARGS, (char *)"icalfileset_fetch(icalset set, char uid) -> icalcomponent"},
	 { (char *)"icalfileset_has_uid", _wrap_icalfileset_has_uid, METH_VARARGS, (char *)"icalfileset_has_uid(icalset set, char uid) -> int"},
	 { (char *)"icalfileset_fetch_match", _wrap_icalfileset_fetch_match, METH_VARARGS, (char *)"icalfileset_fetch_match(icalset set, icalcomponent c) -> icalcomponent"},
	 { (char *)"icalfileset_modify", _wrap_icalfileset_modify, METH_VARARGS, (char *)"icalfileset_modify(icalset set, icalcomponent oldcomp, icalcomponent newcomp) -> icalerrorenum"},
	 { (char *)"icalfileset_get_current_component", _wrap_icalfileset_get_current_component, METH_VARARGS, (char *)"icalfileset_get_current_component(icalset cluster) -> icalcomponent"},
	 { (char *)"icalfileset_get_first_component", _wrap_icalfileset_get_first_component, METH_VARARGS, (char *)"icalfileset_get_first_component(icalset cluster) -> icalcomponent"},
	 { (char *)"icalfileset_get_next_component", _wrap_icalfileset_get_next_component, METH_VARARGS, (char *)"icalfileset_get_next_component(icalset cluster) -> icalcomponent"},
	 { (char *)"icalfileset_begin_component", _wrap_icalfileset_begin_component, METH_VARARGS, (char *)"icalfileset_begin_component(icalset set, icalcomponent_kind kind, icalgauge gauge) -> icalsetiter"},
	 { (char *)"icalfilesetiter_to_next", _wrap_icalfilesetiter_to_next, METH_VARARGS, (char *)"icalfilesetiter_to_next(icalset set, icalsetiter iter) -> icalcomponent"},
	 { (char *)"icalfileset_form_a_matched_recurrence_component", _wrap_icalfileset_form_a_matched_recurrence_component, METH_VARARGS, (char *)"icalfileset_form_a_matched_recurrence_component(icalsetiter itr) -> icalcomponent"},
	 { (char *)"icalfileset_get_component", _wrap_icalfileset_get_component, METH_VARARGS, (char *)"icalfileset_get_component(icalset cluster) -> icalcomponent"},
	 { (char *)"icalfileset_options_flags_set", _wrap_icalfileset_options_flags_set, METH_VARARGS, (char *)"icalfileset_options_flags_set(icalfileset_options self, int flags)"},
	 { (char *)"icalfileset_options_flags_get", _wrap_icalfileset_options_flags_get, METH_VARARGS, (char *)"icalfileset_options_flags_get(icalfileset_options self) -> int"},
	 { (char *)"icalfileset_options_mode_set", _wrap_icalfileset_options_mode_set, METH_VARARGS, (char *)"icalfileset_options_mode_set(icalfileset_options self, mode_t mode)"},
	 { (char *)"icalfileset_options_mode_get", _wrap_icalfileset_options_mode_get, METH_VARARGS, (char *)"icalfileset_options_mode_get(icalfileset_options self) -> mode_t"},
	 { (char *)"icalfileset_options_safe_saves_set", _wrap_icalfileset_options_safe_saves_set, METH_VARARGS, (char *)"icalfileset_options_safe_saves_set(icalfileset_options self, int safe_saves)"},
	 { (char *)"icalfileset_options_safe_saves_get", _wrap_icalfileset_options_safe_saves_get, METH_VARARGS, (char *)"icalfileset_options_safe_saves_get(icalfileset_options self) -> int"},
	 { (char *)"icalfileset_options_cluster_set", _wrap_icalfileset_options_cluster_set, METH_VARARGS, (char *)"icalfileset_options_cluster_set(icalfileset_options self, icalcluster cluster)"},
	 { (char *)"icalfileset_options_cluster_get", _wrap_icalfileset_options_cluster_get, METH_VARARGS, (char *)"icalfileset_options_cluster_get(icalfileset_options self) -> icalcluster"},
	 { (char *)"new_icalfileset_options", _wrap_new_icalfileset_options, METH_VARARGS, (char *)"new_icalfileset_options() -> icalfileset_options"},
	 { (char *)"delete_icalfileset_options", _wrap_delete_icalfileset_options, METH_VARARGS, (char *)"delete_icalfileset_options(icalfileset_options self)"},
	 { (char *)"icalfileset_options_swigregister", icalfileset_options_swigregister, METH_VARARGS, NULL},
	 { (char *)"icaldirset_new", _wrap_icaldirset_new, METH_VARARGS, (char *)"icaldirset_new(char path) -> icalset"},
	 { (char *)"icaldirset_new_reader", _wrap_icaldirset_new_reader, METH_VARARGS, (char *)"icaldirset_new_reader(char path) -> icalset"},
	 { (char *)"icaldirset_new_writer", _wrap_icaldirset_new_writer, METH_VARARGS, (char *)"icaldirset_new_writer(char path) -> icalset"},
	 { (char *)"icaldirset_init", _wrap_icaldirset_init, METH_VARARGS, (char *)"icaldirset_init(icalset set, char dsn, void options) -> icalset"},
	 { (char *)"icaldirset_free", _wrap_icaldirset_free, METH_VARARGS, (char *)"icaldirset_free(icalset set)"},
	 { (char *)"icaldirset_path", _wrap_icaldirset_path, METH_VARARGS, (char *)"icaldirset_path(icalset set) -> char"},
	 { (char *)"icaldirset_mark", _wrap_icaldirset_mark, METH_VARARGS, (char *)"icaldirset_mark(icalset set)"},
	 { (char *)"icaldirset_commit", _wrap_icaldirset_commit, METH_VARARGS, (char *)"icaldirset_commit(icalset set) -> icalerrorenum"},
	 { (char *)"icaldirset_add_component", _wrap_icaldirset_add_component, METH_VARARGS, (char *)"icaldirset_add_component(icalset store, icalcomponent comp) -> icalerrorenum"},
	 { (char *)"icaldirset_remove_component", _wrap_icaldirset_remove_component, METH_VARARGS, (char *)"icaldirset_remove_component(icalset store, icalcomponent comp) -> icalerrorenum"},
	 { (char *)"icaldirset_count_components", _wrap_icaldirset_count_components, METH_VARARGS, (char *)"icaldirset_count_components(icalset store, icalcomponent_kind kind) -> int"},
	 { (char *)"icaldirset_select", _wrap_icaldirset_select, METH_VARARGS, (char *)"icaldirset_select(icalset store, icalgauge gauge) -> icalerrorenum"},
	 { (char *)"icaldirset_clear", _wrap_icaldirset_clear, METH_VARARGS, (char *)"icaldirset_clear(icalset store)"},
	 { (char *)"icaldirset_fetch", _wrap_icaldirset_fetch, METH_VARARGS, (char *)"icaldirset_fetch(icalset store, char uid) -> icalcomponent"},
	 { (char *)"icaldirset_has_uid", _wrap_icaldirset_has_uid, METH_VARARGS, (char *)"icaldirset_has_uid(icalset store, char uid) -> int"},
	 { (char *)"icaldirset_fetch_match", _wrap_icaldirset_fetch_match, METH_VARARGS, (char *)"icaldirset_fetch_match(icalset set, icalcomponent c) -> icalcomponent"},
	 { (char *)"icaldirset_modify", _wrap_icaldirset_modify, METH_VARARGS, (char *)"icaldirset_modify(icalset store, icalcomponent oldc, icalcomponent newc) -> icalerrorenum"},
	 { (char *)"icaldirset_get_current_component", _wrap_icaldirset_get_current_component, METH_VARARGS, (char *)"icaldirset_get_current_component(icalset store) -> icalcomponent"},
	 { (char *)"icaldirset_get_first_component", _wrap_icaldirset_get_first_component, METH_VARARGS, (char *)"icaldirset_get_first_component(icalset store) -> icalcomponent"},
	 { (char *)"icaldirset_get_next_component", _wrap_icaldirset_get_next_component, METH_VARARGS, (char *)"icaldirset_get_next_component(icalset store) -> icalcomponent"},
	 { (char *)"icaldirset_begin_component", _wrap_icaldirset_begin_component, METH_VARARGS, (char *)"icaldirset_begin_component(icalset set, icalcomponent_kind kind, icalgauge gauge) -> icalsetiter"},
	 { (char *)"icaldirsetiter_to_next", _wrap_icaldirsetiter_to_next, METH_VARARGS, (char *)"icaldirsetiter_to_next(icalset set, icalsetiter i) -> icalcomponent"},
	 { (char *)"icaldirsetiter_to_prior", _wrap_icaldirsetiter_to_prior, METH_VARARGS, (char *)"icaldirsetiter_to_prior(icalset set, icalsetiter i) -> icalcomponent"},
	 { (char *)"icaldirset_options_flags_set", _wrap_icaldirset_options_flags_set, METH_VARARGS, (char *)"icaldirset_options_flags_set(icaldirset_options self, int flags)"},
	 { (char *)"icaldirset_options_flags_get", _wrap_icaldirset_options_flags_get, METH_VARARGS, (char *)"icaldirset_options_flags_get(icaldirset_options self) -> int"},
	 { (char *)"new_icaldirset_options", _wrap_new_icaldirset_options, METH_VARARGS, (char *)"new_icaldirset_options() -> icaldirset_options"},
	 { (char *)"delete_icaldirset_options", _wrap_delete_icaldirset_options, METH_VARARGS, (char *)"delete_icaldirset_options(icaldirset_options self)"},
	 { (char *)"icaldirset_options_swigregister", icaldirset_options_swigregister, METH_VARARGS, NULL},
	 { (char *)"icalcalendar_new", _wrap_icalcalendar_new, METH_VARARGS, (char *)"icalcalendar_new(char dir) -> icalcalendar"},
	 { (char *)"icalcalendar_free", _wrap_icalcalendar_free, METH_VARARGS, (char *)"icalcalendar_free(icalcalendar calendar)"},
	 { (char *)"icalcalendar_lock", _wrap_icalcalendar_lock, METH_VARARGS, (char *)"icalcalendar_lock(icalcalendar calendar) -> int"},
	 { (char *)"icalcalendar_unlock", _wrap_icalcalendar_unlock, METH_VARARGS, (char *)"icalcalendar_unlock(icalcalendar calendar) -> int"},
	 { (char *)"icalcalendar_islocked", _wrap_icalcalendar_islocked, METH_VARARGS, (char *)"icalcalendar_islocked(icalcalendar calendar) -> int"},
	 { (char *)"icalcalendar_ownlock", _wrap_icalcalendar_ownlock, METH_VARARGS, (char *)"icalcalendar_ownlock(icalcalendar calendar) -> int"},
	 { (char *)"icalcalendar_get_booked", _wrap_icalcalendar_get_booked, METH_VARARGS, (char *)"icalcalendar_get_booked(icalcalendar calendar) -> icalset"},
	 { (char *)"icalcalendar_get_incoming", _wrap_icalcalendar_get_incoming, METH_VARARGS, (char *)"icalcalendar_get_incoming(icalcalendar calendar) -> icalset"},
	 { (char *)"icalcalendar_get_properties", _wrap_icalcalendar_get_properties, METH_VARARGS, (char *)"icalcalendar_get_properties(icalcalendar calendar) -> icalset"},
	 { (char *)"icalcalendar_get_freebusy", _wrap_icalcalendar_get_freebusy, METH_VARARGS, (char *)"icalcalendar_get_freebusy(icalcalendar calendar) -> icalset"},
	 { (char *)"icalclassify", _wrap_icalclassify, METH_VARARGS, (char *)"icalclassify(icalcomponent c, icalcomponent match, char user) -> icalproperty_xlicclass"},
	 { (char *)"icalclassify_find_overlaps", _wrap_icalclassify_find_overlaps, METH_VARARGS, (char *)"icalclassify_find_overlaps(icalset set, icalcomponent comp) -> icalcomponent"},
	 { (char *)"icalspanlist_new", _wrap_icalspanlist_new, METH_VARARGS, (char *)"icalspanlist_new(icalset set, struct icaltimetype start, struct icaltimetype end) -> icalspanlist"},
	 { (char *)"icalspanlist_free", _wrap_icalspanlist_free, METH_VARARGS, (char *)"icalspanlist_free(icalspanlist spl)"},
	 { (char *)"icalspanlist_next_free_time", _wrap_icalspanlist_next_free_time, METH_VARARGS, (char *)"icalspanlist_next_free_time(icalspanlist sl, struct icaltimetype t) -> struct icalperiodtype"},
	 { (char *)"icalspanlist_dump", _wrap_icalspanlist_dump, METH_VARARGS, (char *)"icalspanlist_dump(icalspanlist s)"},
	 { (char *)"icalspanlist_as_vfreebusy", _wrap_icalspanlist_as_vfreebusy, METH_VARARGS, (char *)"icalspanlist_as_vfreebusy(icalspanlist s_in, char organizer, char attendee) -> icalcomponent"},
	 { (char *)"icalspanlist_as_freebusy_matrix", _wrap_icalspanlist_as_freebusy_matrix, METH_VARARGS, (char *)"icalspanlist_as_freebusy_matrix(icalspanlist span, int delta_t) -> int"},
	 { (char *)"icalspanlist_from_vfreebusy", _wrap_icalspanlist_from_vfreebusy, METH_VARARGS, (char *)"icalspanlist_from_vfreebusy(icalcomponent c) -> icalspanlist"},
	 { (char *)"icalmessage_new_accept_reply", _wrap_icalmessage_new_accept_reply, METH_VARARGS, (char *)"icalmessage_new_accept_reply(icalcomponent c, char user, char msg) -> icalcomponent"},
	 { (char *)"icalmessage_new_decline_reply", _wrap_icalmessage_new_decline_reply, METH_VARARGS, (char *)"icalmessage_new_decline_reply(icalcomponent c, char user, char msg) -> icalcomponent"},
	 { (char *)"icalmessage_new_counterpropose_reply", _wrap_icalmessage_new_counterpropose_reply, METH_VARARGS, (char *)"\n"
		"icalmessage_new_counterpropose_reply(icalcomponent oldc, icalcomponent newc, char user, \n"
		"    char msg) -> icalcomponent\n"
		""},
	 { (char *)"icalmessage_new_delegate_reply", _wrap_icalmessage_new_delegate_reply, METH_VARARGS, (char *)"icalmessage_new_delegate_reply(icalcomponent c, char user, char delegatee, char msg) -> icalcomponent"},
	 { (char *)"icalmessage_new_error_reply", _wrap_icalmessage_new_error_reply, METH_VARARGS, (char *)"icalmessage_new_error_reply(icalcomponent c, char user, char msg, char debug, icalrequeststatus rs) -> icalcomponent"},
	 { (char *)"icalproperty_set_parent", _wrap_icalproperty_set_parent, METH_VARARGS, (char *)"icalproperty_set_parent(icalproperty property, icalcomponent component)"},
	 { (char *)"icalproperty_get_parent", _wrap_icalproperty_get_parent, METH_VARARGS, (char *)"icalproperty_get_parent(icalproperty property) -> icalcomponent"},
	 { (char *)"icalvalue_set_parent", _wrap_icalvalue_set_parent, METH_VARARGS, (char *)"icalvalue_set_parent(icalvalue value, icalproperty property)"},
	 { (char *)"icalvalue_get_parent", _wrap_icalvalue_get_parent, METH_VARARGS, (char *)"icalvalue_get_parent(icalvalue value) -> icalproperty"},
	 { (char *)"icalparameter_set_parent", _wrap_icalparameter_set_parent, METH_VARARGS, (char *)"icalparameter_set_parent(icalparameter param, icalproperty property)"},
	 { (char *)"icalparameter_get_parent", _wrap_icalparameter_get_parent, METH_VARARGS, (char *)"icalparameter_get_parent(icalparameter value) -> icalproperty"},
	 { NULL, NULL, 0, NULL }
};


/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */

static swig_type_info _swigt__p_FILE = {"_p_FILE", "FILE *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p__icalarray = {"_p__icalarray", "struct _icalarray *|icalarray *|_icalarray *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p__icaltimezone = {"_p__icaltimezone", "struct _icaltimezone *|icaltimezone *", 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_f_p_char_size_t_p_void__p_char = {"_p_f_p_char_size_t_p_void__p_char", "char *(*)(char *,size_t,void *)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_icalset_icalcomponent_kind_p_icalgauge__icalsetiter = {"_p_f_p_icalset_icalcomponent_kind_p_icalgauge__icalsetiter", "struct icalsetiter (*)(icalset *,icalcomponent_kind,icalgauge *)|icalsetiter (*)(icalset *,icalcomponent_kind,icalgauge *)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_icalset_p_q_const__char_p_void__p_icalset_impl = {"_p_f_p_icalset_p_q_const__char_p_void__p_icalset_impl", "icalset *(*)(icalset *,char const *,void *)|struct icalset_impl *(*)(icalset *,char const *,void *)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_q_const__void_p_q_const__void__int = {"_p_f_p_q_const__void_p_q_const__void__int", "int (*)(void const *,void const *)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_struct_icalcomponent_impl_p_struct_icaltime_span_p_void__void = {"_p_f_p_struct_icalcomponent_impl_p_struct_icaltime_span_p_void__void", "void (*)(icalcomponent *,struct icaltime_span *,void *)|void (*)(struct icalcomponent_impl *,struct icaltime_span *,void *)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_struct_icalparameter_impl_p_void__void = {"_p_f_p_struct_icalparameter_impl_p_void__void", "void (*)(struct icalparameter_impl *,void *)|void (*)(icalparameter *,void *)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_struct_icalset_impl__icalerrorenum = {"_p_f_p_struct_icalset_impl__icalerrorenum", "enum icalerrorenum (*)(struct icalset_impl *)|icalerrorenum (*)(icalset *)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_struct_icalset_impl__p_char = {"_p_f_p_struct_icalset_impl__p_char", "char *(*)(struct icalset_impl *)|char *(*)(icalset *)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_struct_icalset_impl__p_icalcomponent_impl = {"_p_f_p_struct_icalset_impl__p_icalcomponent_impl", "struct icalcomponent_impl *(*)(struct icalset_impl *)|icalcomponent *(*)(icalset *)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_struct_icalset_impl__void = {"_p_f_p_struct_icalset_impl__void", "void (*)(struct icalset_impl *)|void (*)(icalset *)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_struct_icalset_impl_enum_icalcomponent_kind__int = {"_p_f_p_struct_icalset_impl_enum_icalcomponent_kind__int", "int (*)(struct icalset_impl *,enum icalcomponent_kind)|int (*)(icalset *,icalcomponent_kind)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_struct_icalset_impl_p_q_const__char__int = {"_p_f_p_struct_icalset_impl_p_q_const__char__int", "int (*)(struct icalset_impl *,char const *)|int (*)(icalset *,char const *)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_struct_icalset_impl_p_q_const__char__p_icalcomponent_impl = {"_p_f_p_struct_icalset_impl_p_q_const__char__p_icalcomponent_impl", "icalcomponent *(*)(icalset *,char const *)|struct icalcomponent_impl *(*)(struct icalset_impl *,char const *)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_struct_icalset_impl_p_struct_icalcomponent_impl__icalerrorenum = {"_p_f_p_struct_icalset_impl_p_struct_icalcomponent_impl__icalerrorenum", "icalerrorenum (*)(icalset *,icalcomponent *)|enum icalerrorenum (*)(struct icalset_impl *,struct icalcomponent_impl *)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_struct_icalset_impl_p_struct_icalcomponent_impl__p_icalcomponent_impl = {"_p_f_p_struct_icalset_impl_p_struct_icalcomponent_impl__p_icalcomponent_impl", "icalcomponent *(*)(icalset *,icalcomponent *)|struct icalcomponent_impl *(*)(struct icalset_impl *,struct icalcomponent_impl *)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_struct_icalset_impl_p_struct_icalcomponent_impl_p_struct_icalcomponent_impl__icalerrorenum = {"_p_f_p_struct_icalset_impl_p_struct_icalcomponent_impl_p_struct_icalcomponent_impl__icalerrorenum", "enum icalerrorenum (*)(struct icalset_impl *,struct icalcomponent_impl *,struct icalcomponent_impl *)|icalerrorenum (*)(icalset *,icalcomponent *,icalcomponent *)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_struct_icalset_impl_p_struct_icalgauge_impl__icalerrorenum = {"_p_f_p_struct_icalset_impl_p_struct_icalgauge_impl__icalerrorenum", "icalerrorenum (*)(icalset *,icalgauge *)|enum icalerrorenum (*)(struct icalset_impl *,struct icalgauge_impl *)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_struct_icalset_impl_p_struct_icalsetiter__p_icalcomponent_impl = {"_p_f_p_struct_icalset_impl_p_struct_icalsetiter__p_icalcomponent_impl", "struct icalcomponent_impl *(*)(struct icalset_impl *,struct icalsetiter *)|icalcomponent *(*)(icalset *,icalsetiter *)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_unsigned_char_p_void__void = {"_p_f_p_unsigned_char_p_void__void", "icalattach_free_fn_t|void (*)(unsigned char *,void *)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_void__p_void = {"_p_f_p_void__p_void", "void *(*)(void *)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_void__void = {"_p_f_p_void__void", "void (*)(void *)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_void_p_struct_sspm_header_p_q_const__char_size_t__void = {"_p_f_p_void_p_struct_sspm_header_p_q_const__char_size_t__void", "void (*)(void *,struct sspm_header *,char const *,size_t)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_void_p_void__int = {"_p_f_p_void_p_void__int", "pvl_findf|pvl_comparef|int (*)(void *,void *)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_p_void_p_void__void = {"_p_f_p_void_p_void__void", "void (*)(void *,void *)|pvl_applyf", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_f_void__p_void = {"_p_f_void__p_void", "void *(*)(void)", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_ical_unknown_token_handling = {"_p_ical_unknown_token_handling", "enum ical_unknown_token_handling *|ical_unknown_token_handling *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalattach_impl = {"_p_icalattach_impl", "struct icalattach_impl *|icalattach *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalcalendar_impl = {"_p_icalcalendar_impl", "struct icalcalendar_impl *|icalcalendar *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalcluster_impl = {"_p_icalcluster_impl", "struct icalcluster_impl *|icalcluster *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalcompiter = {"_p_icalcompiter", "struct icalcompiter *|icalcompiter *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalcomponent_impl = {"_p_icalcomponent_impl", "struct icalcomponent_impl *|icalcomponent *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalcomponent_kind = {"_p_icalcomponent_kind", "enum icalcomponent_kind *|icalcomponent_kind *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icaldatetimeperiodtype = {"_p_icaldatetimeperiodtype", "struct icaldatetimeperiodtype *|icaldatetimeperiodtype *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icaldirset_impl = {"_p_icaldirset_impl", "struct icaldirset_impl *|icaldirset *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icaldirset_options = {"_p_icaldirset_options", "struct icaldirset_options *|icaldirset_options *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icaldurationtype = {"_p_icaldurationtype", "struct icaldurationtype *|icaldurationtype *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalerrorenum = {"_p_icalerrorenum", "enum icalerrorenum *|icalerrorenum *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalerrorstate = {"_p_icalerrorstate", "enum icalerrorstate *|icalerrorstate *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalfileset_impl = {"_p_icalfileset_impl", "struct icalfileset_impl *|icalfileset *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalfileset_options = {"_p_icalfileset_options", "struct icalfileset_options *|icalfileset_options *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalgauge_impl = {"_p_icalgauge_impl", "struct icalgauge_impl *|icalgauge *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalgeotype = {"_p_icalgeotype", "struct icalgeotype *|icalgeotype *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalparameter_action = {"_p_icalparameter_action", "enum icalparameter_action *|icalparameter_action *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalparameter_cutype = {"_p_icalparameter_cutype", "enum icalparameter_cutype *|icalparameter_cutype *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalparameter_enable = {"_p_icalparameter_enable", "enum icalparameter_enable *|icalparameter_enable *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalparameter_encoding = {"_p_icalparameter_encoding", "enum icalparameter_encoding *|icalparameter_encoding *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalparameter_fbtype = {"_p_icalparameter_fbtype", "enum icalparameter_fbtype *|icalparameter_fbtype *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalparameter_impl = {"_p_icalparameter_impl", "struct icalparameter_impl *|icalparameter *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalparameter_kind = {"_p_icalparameter_kind", "enum icalparameter_kind *|icalparameter_kind *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalparameter_local = {"_p_icalparameter_local", "enum icalparameter_local *|icalparameter_local *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalparameter_partstat = {"_p_icalparameter_partstat", "enum icalparameter_partstat *|icalparameter_partstat *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalparameter_range = {"_p_icalparameter_range", "enum icalparameter_range *|icalparameter_range *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalparameter_related = {"_p_icalparameter_related", "enum icalparameter_related *|icalparameter_related *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalparameter_reltype = {"_p_icalparameter_reltype", "enum icalparameter_reltype *|icalparameter_reltype *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalparameter_role = {"_p_icalparameter_role", "enum icalparameter_role *|icalparameter_role *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalparameter_rsvp = {"_p_icalparameter_rsvp", "enum icalparameter_rsvp *|icalparameter_rsvp *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalparameter_value = {"_p_icalparameter_value", "enum icalparameter_value *|icalparameter_value *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalparameter_xliccomparetype = {"_p_icalparameter_xliccomparetype", "enum icalparameter_xliccomparetype *|icalparameter_xliccomparetype *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalparameter_xlicerrortype = {"_p_icalparameter_xlicerrortype", "enum icalparameter_xlicerrortype *|icalparameter_xlicerrortype *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalparser_impl = {"_p_icalparser_impl", "struct icalparser_impl *|icalparser *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalparser_state = {"_p_icalparser_state", "enum icalparser_state *|icalparser_state *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalperiodtype = {"_p_icalperiodtype", "struct icalperiodtype *|icalperiodtype *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalproperty_action = {"_p_icalproperty_action", "enum icalproperty_action *|icalproperty_action *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalproperty_carlevel = {"_p_icalproperty_carlevel", "enum icalproperty_carlevel *|icalproperty_carlevel *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalproperty_class = {"_p_icalproperty_class", "enum icalproperty_class *|icalproperty_class *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalproperty_cmd = {"_p_icalproperty_cmd", "enum icalproperty_cmd *|icalproperty_cmd *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalproperty_impl = {"_p_icalproperty_impl", "struct icalproperty_impl *|icalproperty *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalproperty_kind = {"_p_icalproperty_kind", "enum icalproperty_kind *|icalproperty_kind *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalproperty_method = {"_p_icalproperty_method", "enum icalproperty_method *|icalproperty_method *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalproperty_querylevel = {"_p_icalproperty_querylevel", "enum icalproperty_querylevel *|icalproperty_querylevel *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalproperty_status = {"_p_icalproperty_status", "enum icalproperty_status *|icalproperty_status *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalproperty_transp = {"_p_icalproperty_transp", "enum icalproperty_transp *|icalproperty_transp *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalproperty_xlicclass = {"_p_icalproperty_xlicclass", "enum icalproperty_xlicclass *|icalproperty_xlicclass *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalrecur_iterator_impl = {"_p_icalrecur_iterator_impl", "struct icalrecur_iterator_impl *|icalrecur_iterator *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalrecurrencetype = {"_p_icalrecurrencetype", "struct icalrecurrencetype *|icalrecurrencetype *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalrecurrencetype_frequency = {"_p_icalrecurrencetype_frequency", "enum icalrecurrencetype_frequency *|icalrecurrencetype_frequency *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalrecurrencetype_weekday = {"_p_icalrecurrencetype_weekday", "enum icalrecurrencetype_weekday *|icalrecurrencetype_weekday *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalreqstattype = {"_p_icalreqstattype", "struct icalreqstattype *|icalreqstattype *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalrequeststatus = {"_p_icalrequeststatus", "enum icalrequeststatus *|icalrequeststatus *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalrestriction_kind = {"_p_icalrestriction_kind", "enum icalrestriction_kind *|icalrestriction_kind *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalset_impl = {"_p_icalset_impl", "struct icalset_impl *|icalset_impl *|icalset *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalset_kind = {"_p_icalset_kind", "enum icalset_kind *|icalset_kind *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalsetiter = {"_p_icalsetiter", "struct icalsetiter *|icalsetiter *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalspanlist_impl = {"_p_icalspanlist_impl", "struct icalspanlist_impl *|icalspanlist *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icaltime_span = {"_p_icaltime_span", "struct icaltime_span *|icaltime_span *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icaltimetype = {"_p_icaltimetype", "struct icaltimetype *|icaltimetype *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icaltimezonephase = {"_p_icaltimezonephase", "struct icaltimezonephase *|icaltimezonephase *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icaltimezonetype = {"_p_icaltimezonetype", "struct icaltimezonetype *|icaltimezonetype *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icaltriggertype = {"_p_icaltriggertype", "struct icaltriggertype *|icaltriggertype *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalvalue_impl = {"_p_icalvalue_impl", "struct icalvalue_impl *|icalvalue *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_icalvalue_kind = {"_p_icalvalue_kind", "enum icalvalue_kind *|icalvalue_kind *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_int = {"_p_int", "int *|time_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_mode_t = {"_p_mode_t", "mode_t *", 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_pvl_elem_t = {"_p_pvl_elem_t", "pvl_elem|struct pvl_elem_t *|pvl_elem_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_pvl_list_t = {"_p_pvl_list_t", "pvl_list|struct pvl_list_t *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_short = {"_p_short", "short *", 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_sspm_action_map = {"_p_sspm_action_map", "struct sspm_action_map *|sspm_action_map *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_sspm_header = {"_p_sspm_header", "struct sspm_header *|sspm_header *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_sspm_part = {"_p_sspm_part", "struct sspm_part *|sspm_part *", 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_va_list = {"_p_va_list", "va_list *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, (void*)0, 0};

static swig_type_info *swig_type_initial[] = {
  &_swigt__p_FILE,
  &_swigt__p__icalarray,
  &_swigt__p__icaltimezone,
  &_swigt__p_char,
  &_swigt__p_f_p_char_size_t_p_void__p_char,
  &_swigt__p_f_p_icalset_icalcomponent_kind_p_icalgauge__icalsetiter,
  &_swigt__p_f_p_icalset_p_q_const__char_p_void__p_icalset_impl,
  &_swigt__p_f_p_q_const__void_p_q_const__void__int,
  &_swigt__p_f_p_struct_icalcomponent_impl_p_struct_icaltime_span_p_void__void,
  &_swigt__p_f_p_struct_icalparameter_impl_p_void__void,
  &_swigt__p_f_p_struct_icalset_impl__icalerrorenum,
  &_swigt__p_f_p_struct_icalset_impl__p_char,
  &_swigt__p_f_p_struct_icalset_impl__p_icalcomponent_impl,
  &_swigt__p_f_p_struct_icalset_impl__void,
  &_swigt__p_f_p_struct_icalset_impl_enum_icalcomponent_kind__int,
  &_swigt__p_f_p_struct_icalset_impl_p_q_const__char__int,
  &_swigt__p_f_p_struct_icalset_impl_p_q_const__char__p_icalcomponent_impl,
  &_swigt__p_f_p_struct_icalset_impl_p_struct_icalcomponent_impl__icalerrorenum,
  &_swigt__p_f_p_struct_icalset_impl_p_struct_icalcomponent_impl__p_icalcomponent_impl,
  &_swigt__p_f_p_struct_icalset_impl_p_struct_icalcomponent_impl_p_struct_icalcomponent_impl__icalerrorenum,
  &_swigt__p_f_p_struct_icalset_impl_p_struct_icalgauge_impl__icalerrorenum,
  &_swigt__p_f_p_struct_icalset_impl_p_struct_icalsetiter__p_icalcomponent_impl,
  &_swigt__p_f_p_unsigned_char_p_void__void,
  &_swigt__p_f_p_void__p_void,
  &_swigt__p_f_p_void__void,
  &_swigt__p_f_p_void_p_struct_sspm_header_p_q_const__char_size_t__void,
  &_swigt__p_f_p_void_p_void__int,
  &_swigt__p_f_p_void_p_void__void,
  &_swigt__p_f_void__p_void,
  &_swigt__p_ical_unknown_token_handling,
  &_swigt__p_icalattach_impl,
  &_swigt__p_icalcalendar_impl,
  &_swigt__p_icalcluster_impl,
  &_swigt__p_icalcompiter,
  &_swigt__p_icalcomponent_impl,
  &_swigt__p_icalcomponent_kind,
  &_swigt__p_icaldatetimeperiodtype,
  &_swigt__p_icaldirset_impl,
  &_swigt__p_icaldirset_options,
  &_swigt__p_icaldurationtype,
  &_swigt__p_icalerrorenum,
  &_swigt__p_icalerrorstate,
  &_swigt__p_icalfileset_impl,
  &_swigt__p_icalfileset_options,
  &_swigt__p_icalgauge_impl,
  &_swigt__p_icalgeotype,
  &_swigt__p_icalparameter_action,
  &_swigt__p_icalparameter_cutype,
  &_swigt__p_icalparameter_enable,
  &_swigt__p_icalparameter_encoding,
  &_swigt__p_icalparameter_fbtype,
  &_swigt__p_icalparameter_impl,
  &_swigt__p_icalparameter_kind,
  &_swigt__p_icalparameter_local,
  &_swigt__p_icalparameter_partstat,
  &_swigt__p_icalparameter_range,
  &_swigt__p_icalparameter_related,
  &_swigt__p_icalparameter_reltype,
  &_swigt__p_icalparameter_role,
  &_swigt__p_icalparameter_rsvp,
  &_swigt__p_icalparameter_value,
  &_swigt__p_icalparameter_xliccomparetype,
  &_swigt__p_icalparameter_xlicerrortype,
  &_swigt__p_icalparser_impl,
  &_swigt__p_icalparser_state,
  &_swigt__p_icalperiodtype,
  &_swigt__p_icalproperty_action,
  &_swigt__p_icalproperty_carlevel,
  &_swigt__p_icalproperty_class,
  &_swigt__p_icalproperty_cmd,
  &_swigt__p_icalproperty_impl,
  &_swigt__p_icalproperty_kind,
  &_swigt__p_icalproperty_method,
  &_swigt__p_icalproperty_querylevel,
  &_swigt__p_icalproperty_status,
  &_swigt__p_icalproperty_transp,
  &_swigt__p_icalproperty_xlicclass,
  &_swigt__p_icalrecur_iterator_impl,
  &_swigt__p_icalrecurrencetype,
  &_swigt__p_icalrecurrencetype_frequency,
  &_swigt__p_icalrecurrencetype_weekday,
  &_swigt__p_icalreqstattype,
  &_swigt__p_icalrequeststatus,
  &_swigt__p_icalrestriction_kind,
  &_swigt__p_icalset_impl,
  &_swigt__p_icalset_kind,
  &_swigt__p_icalsetiter,
  &_swigt__p_icalspanlist_impl,
  &_swigt__p_icaltime_span,
  &_swigt__p_icaltimetype,
  &_swigt__p_icaltimezonephase,
  &_swigt__p_icaltimezonetype,
  &_swigt__p_icaltriggertype,
  &_swigt__p_icalvalue_impl,
  &_swigt__p_icalvalue_kind,
  &_swigt__p_int,
  &_swigt__p_mode_t,
  &_swigt__p_p_char,
  &_swigt__p_pvl_elem_t,
  &_swigt__p_pvl_list_t,
  &_swigt__p_short,
  &_swigt__p_size_t,
  &_swigt__p_sspm_action_map,
  &_swigt__p_sspm_header,
  &_swigt__p_sspm_part,
  &_swigt__p_unsigned_char,
  &_swigt__p_va_list,
  &_swigt__p_void,
};

static swig_cast_info _swigc__p_FILE[] = {  {&_swigt__p_FILE, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p__icalarray[] = {  {&_swigt__p__icalarray, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p__icaltimezone[] = {  {&_swigt__p__icaltimezone, 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_f_p_char_size_t_p_void__p_char[] = {  {&_swigt__p_f_p_char_size_t_p_void__p_char, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_icalset_icalcomponent_kind_p_icalgauge__icalsetiter[] = {  {&_swigt__p_f_p_icalset_icalcomponent_kind_p_icalgauge__icalsetiter, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_icalset_p_q_const__char_p_void__p_icalset_impl[] = {  {&_swigt__p_f_p_icalset_p_q_const__char_p_void__p_icalset_impl, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_q_const__void_p_q_const__void__int[] = {  {&_swigt__p_f_p_q_const__void_p_q_const__void__int, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_struct_icalcomponent_impl_p_struct_icaltime_span_p_void__void[] = {  {&_swigt__p_f_p_struct_icalcomponent_impl_p_struct_icaltime_span_p_void__void, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_struct_icalparameter_impl_p_void__void[] = {  {&_swigt__p_f_p_struct_icalparameter_impl_p_void__void, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_struct_icalset_impl__icalerrorenum[] = {  {&_swigt__p_f_p_struct_icalset_impl__icalerrorenum, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_struct_icalset_impl__p_char[] = {  {&_swigt__p_f_p_struct_icalset_impl__p_char, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_struct_icalset_impl__p_icalcomponent_impl[] = {  {&_swigt__p_f_p_struct_icalset_impl__p_icalcomponent_impl, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_struct_icalset_impl__void[] = {  {&_swigt__p_f_p_struct_icalset_impl__void, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_struct_icalset_impl_enum_icalcomponent_kind__int[] = {  {&_swigt__p_f_p_struct_icalset_impl_enum_icalcomponent_kind__int, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_struct_icalset_impl_p_q_const__char__int[] = {  {&_swigt__p_f_p_struct_icalset_impl_p_q_const__char__int, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_struct_icalset_impl_p_q_const__char__p_icalcomponent_impl[] = {  {&_swigt__p_f_p_struct_icalset_impl_p_q_const__char__p_icalcomponent_impl, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_struct_icalset_impl_p_struct_icalcomponent_impl__icalerrorenum[] = {  {&_swigt__p_f_p_struct_icalset_impl_p_struct_icalcomponent_impl__icalerrorenum, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_struct_icalset_impl_p_struct_icalcomponent_impl__p_icalcomponent_impl[] = {  {&_swigt__p_f_p_struct_icalset_impl_p_struct_icalcomponent_impl__p_icalcomponent_impl, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_struct_icalset_impl_p_struct_icalcomponent_impl_p_struct_icalcomponent_impl__icalerrorenum[] = {  {&_swigt__p_f_p_struct_icalset_impl_p_struct_icalcomponent_impl_p_struct_icalcomponent_impl__icalerrorenum, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_struct_icalset_impl_p_struct_icalgauge_impl__icalerrorenum[] = {  {&_swigt__p_f_p_struct_icalset_impl_p_struct_icalgauge_impl__icalerrorenum, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_struct_icalset_impl_p_struct_icalsetiter__p_icalcomponent_impl[] = {  {&_swigt__p_f_p_struct_icalset_impl_p_struct_icalsetiter__p_icalcomponent_impl, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_unsigned_char_p_void__void[] = {  {&_swigt__p_f_p_unsigned_char_p_void__void, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_void__p_void[] = {  {&_swigt__p_f_p_void__p_void, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_void__void[] = {  {&_swigt__p_f_p_void__void, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_void_p_struct_sspm_header_p_q_const__char_size_t__void[] = {  {&_swigt__p_f_p_void_p_struct_sspm_header_p_q_const__char_size_t__void, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_void_p_void__int[] = {  {&_swigt__p_f_p_void_p_void__int, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_p_void_p_void__void[] = {  {&_swigt__p_f_p_void_p_void__void, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_f_void__p_void[] = {  {&_swigt__p_f_void__p_void, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_ical_unknown_token_handling[] = {  {&_swigt__p_ical_unknown_token_handling, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalattach_impl[] = {  {&_swigt__p_icalattach_impl, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalcalendar_impl[] = {  {&_swigt__p_icalcalendar_impl, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalcluster_impl[] = {  {&_swigt__p_icalcluster_impl, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalcompiter[] = {  {&_swigt__p_icalcompiter, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalcomponent_impl[] = {  {&_swigt__p_icalcomponent_impl, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalcomponent_kind[] = {  {&_swigt__p_icalcomponent_kind, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icaldatetimeperiodtype[] = {  {&_swigt__p_icaldatetimeperiodtype, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icaldirset_impl[] = {  {&_swigt__p_icaldirset_impl, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icaldirset_options[] = {  {&_swigt__p_icaldirset_options, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icaldurationtype[] = {  {&_swigt__p_icaldurationtype, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalerrorenum[] = {  {&_swigt__p_icalerrorenum, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalerrorstate[] = {  {&_swigt__p_icalerrorstate, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalfileset_impl[] = {  {&_swigt__p_icalfileset_impl, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalfileset_options[] = {  {&_swigt__p_icalfileset_options, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalgauge_impl[] = {  {&_swigt__p_icalgauge_impl, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalgeotype[] = {  {&_swigt__p_icalgeotype, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalparameter_action[] = {  {&_swigt__p_icalparameter_action, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalparameter_cutype[] = {  {&_swigt__p_icalparameter_cutype, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalparameter_enable[] = {  {&_swigt__p_icalparameter_enable, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalparameter_encoding[] = {  {&_swigt__p_icalparameter_encoding, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalparameter_fbtype[] = {  {&_swigt__p_icalparameter_fbtype, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalparameter_impl[] = {  {&_swigt__p_icalparameter_impl, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalparameter_kind[] = {  {&_swigt__p_icalparameter_kind, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalparameter_local[] = {  {&_swigt__p_icalparameter_local, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalparameter_partstat[] = {  {&_swigt__p_icalparameter_partstat, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalparameter_range[] = {  {&_swigt__p_icalparameter_range, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalparameter_related[] = {  {&_swigt__p_icalparameter_related, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalparameter_reltype[] = {  {&_swigt__p_icalparameter_reltype, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalparameter_role[] = {  {&_swigt__p_icalparameter_role, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalparameter_rsvp[] = {  {&_swigt__p_icalparameter_rsvp, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalparameter_value[] = {  {&_swigt__p_icalparameter_value, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalparameter_xliccomparetype[] = {  {&_swigt__p_icalparameter_xliccomparetype, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalparameter_xlicerrortype[] = {  {&_swigt__p_icalparameter_xlicerrortype, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalparser_impl[] = {  {&_swigt__p_icalparser_impl, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalparser_state[] = {  {&_swigt__p_icalparser_state, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalperiodtype[] = {  {&_swigt__p_icalperiodtype, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalproperty_action[] = {  {&_swigt__p_icalproperty_action, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalproperty_carlevel[] = {  {&_swigt__p_icalproperty_carlevel, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalproperty_class[] = {  {&_swigt__p_icalproperty_class, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalproperty_cmd[] = {  {&_swigt__p_icalproperty_cmd, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalproperty_impl[] = {  {&_swigt__p_icalproperty_impl, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalproperty_kind[] = {  {&_swigt__p_icalproperty_kind, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalproperty_method[] = {  {&_swigt__p_icalproperty_method, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalproperty_querylevel[] = {  {&_swigt__p_icalproperty_querylevel, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalproperty_status[] = {  {&_swigt__p_icalproperty_status, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalproperty_transp[] = {  {&_swigt__p_icalproperty_transp, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalproperty_xlicclass[] = {  {&_swigt__p_icalproperty_xlicclass, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalrecur_iterator_impl[] = {  {&_swigt__p_icalrecur_iterator_impl, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalrecurrencetype[] = {  {&_swigt__p_icalrecurrencetype, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalrecurrencetype_frequency[] = {  {&_swigt__p_icalrecurrencetype_frequency, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalrecurrencetype_weekday[] = {  {&_swigt__p_icalrecurrencetype_weekday, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalreqstattype[] = {  {&_swigt__p_icalreqstattype, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalrequeststatus[] = {  {&_swigt__p_icalrequeststatus, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalrestriction_kind[] = {  {&_swigt__p_icalrestriction_kind, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalset_impl[] = {  {&_swigt__p_icalset_impl, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalset_kind[] = {  {&_swigt__p_icalset_kind, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalsetiter[] = {  {&_swigt__p_icalsetiter, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalspanlist_impl[] = {  {&_swigt__p_icalspanlist_impl, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icaltime_span[] = {  {&_swigt__p_icaltime_span, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icaltimetype[] = {  {&_swigt__p_icaltimetype, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icaltimezonephase[] = {  {&_swigt__p_icaltimezonephase, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icaltimezonetype[] = {  {&_swigt__p_icaltimezonetype, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icaltriggertype[] = {  {&_swigt__p_icaltriggertype, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalvalue_impl[] = {  {&_swigt__p_icalvalue_impl, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_icalvalue_kind[] = {  {&_swigt__p_icalvalue_kind, 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_mode_t[] = {  {&_swigt__p_mode_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_pvl_elem_t[] = {  {&_swigt__p_pvl_elem_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_pvl_list_t[] = {  {&_swigt__p_pvl_list_t, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_short[] = {  {&_swigt__p_short, 0, 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_sspm_action_map[] = {  {&_swigt__p_sspm_action_map, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_sspm_header[] = {  {&_swigt__p_sspm_header, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_sspm_part[] = {  {&_swigt__p_sspm_part, 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_va_list[] = {  {&_swigt__p_va_list, 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 *swig_cast_initial[] = {
  _swigc__p_FILE,
  _swigc__p__icalarray,
  _swigc__p__icaltimezone,
  _swigc__p_char,
  _swigc__p_f_p_char_size_t_p_void__p_char,
  _swigc__p_f_p_icalset_icalcomponent_kind_p_icalgauge__icalsetiter,
  _swigc__p_f_p_icalset_p_q_const__char_p_void__p_icalset_impl,
  _swigc__p_f_p_q_const__void_p_q_const__void__int,
  _swigc__p_f_p_struct_icalcomponent_impl_p_struct_icaltime_span_p_void__void,
  _swigc__p_f_p_struct_icalparameter_impl_p_void__void,
  _swigc__p_f_p_struct_icalset_impl__icalerrorenum,
  _swigc__p_f_p_struct_icalset_impl__p_char,
  _swigc__p_f_p_struct_icalset_impl__p_icalcomponent_impl,
  _swigc__p_f_p_struct_icalset_impl__void,
  _swigc__p_f_p_struct_icalset_impl_enum_icalcomponent_kind__int,
  _swigc__p_f_p_struct_icalset_impl_p_q_const__char__int,
  _swigc__p_f_p_struct_icalset_impl_p_q_const__char__p_icalcomponent_impl,
  _swigc__p_f_p_struct_icalset_impl_p_struct_icalcomponent_impl__icalerrorenum,
  _swigc__p_f_p_struct_icalset_impl_p_struct_icalcomponent_impl__p_icalcomponent_impl,
  _swigc__p_f_p_struct_icalset_impl_p_struct_icalcomponent_impl_p_struct_icalcomponent_impl__icalerrorenum,
  _swigc__p_f_p_struct_icalset_impl_p_struct_icalgauge_impl__icalerrorenum,
  _swigc__p_f_p_struct_icalset_impl_p_struct_icalsetiter__p_icalcomponent_impl,
  _swigc__p_f_p_unsigned_char_p_void__void,
  _swigc__p_f_p_void__p_void,
  _swigc__p_f_p_void__void,
  _swigc__p_f_p_void_p_struct_sspm_header_p_q_const__char_size_t__void,
  _swigc__p_f_p_void_p_void__int,
  _swigc__p_f_p_void_p_void__void,
  _swigc__p_f_void__p_void,
  _swigc__p_ical_unknown_token_handling,
  _swigc__p_icalattach_impl,
  _swigc__p_icalcalendar_impl,
  _swigc__p_icalcluster_impl,
  _swigc__p_icalcompiter,
  _swigc__p_icalcomponent_impl,
  _swigc__p_icalcomponent_kind,
  _swigc__p_icaldatetimeperiodtype,
  _swigc__p_icaldirset_impl,
  _swigc__p_icaldirset_options,
  _swigc__p_icaldurationtype,
  _swigc__p_icalerrorenum,
  _swigc__p_icalerrorstate,
  _swigc__p_icalfileset_impl,
  _swigc__p_icalfileset_options,
  _swigc__p_icalgauge_impl,
  _swigc__p_icalgeotype,
  _swigc__p_icalparameter_action,
  _swigc__p_icalparameter_cutype,
  _swigc__p_icalparameter_enable,
  _swigc__p_icalparameter_encoding,
  _swigc__p_icalparameter_fbtype,
  _swigc__p_icalparameter_impl,
  _swigc__p_icalparameter_kind,
  _swigc__p_icalparameter_local,
  _swigc__p_icalparameter_partstat,
  _swigc__p_icalparameter_range,
  _swigc__p_icalparameter_related,
  _swigc__p_icalparameter_reltype,
  _swigc__p_icalparameter_role,
  _swigc__p_icalparameter_rsvp,
  _swigc__p_icalparameter_value,
  _swigc__p_icalparameter_xliccomparetype,
  _swigc__p_icalparameter_xlicerrortype,
  _swigc__p_icalparser_impl,
  _swigc__p_icalparser_state,
  _swigc__p_icalperiodtype,
  _swigc__p_icalproperty_action,
  _swigc__p_icalproperty_carlevel,
  _swigc__p_icalproperty_class,
  _swigc__p_icalproperty_cmd,
  _swigc__p_icalproperty_impl,
  _swigc__p_icalproperty_kind,
  _swigc__p_icalproperty_method,
  _swigc__p_icalproperty_querylevel,
  _swigc__p_icalproperty_status,
  _swigc__p_icalproperty_transp,
  _swigc__p_icalproperty_xlicclass,
  _swigc__p_icalrecur_iterator_impl,
  _swigc__p_icalrecurrencetype,
  _swigc__p_icalrecurrencetype_frequency,
  _swigc__p_icalrecurrencetype_weekday,
  _swigc__p_icalreqstattype,
  _swigc__p_icalrequeststatus,
  _swigc__p_icalrestriction_kind,
  _swigc__p_icalset_impl,
  _swigc__p_icalset_kind,
  _swigc__p_icalsetiter,
  _swigc__p_icalspanlist_impl,
  _swigc__p_icaltime_span,
  _swigc__p_icaltimetype,
  _swigc__p_icaltimezonephase,
  _swigc__p_icaltimezonetype,
  _swigc__p_icaltriggertype,
  _swigc__p_icalvalue_impl,
  _swigc__p_icalvalue_kind,
  _swigc__p_int,
  _swigc__p_mode_t,
  _swigc__p_p_char,
  _swigc__p_pvl_elem_t,
  _swigc__p_pvl_list_t,
  _swigc__p_short,
  _swigc__p_size_t,
  _swigc__p_sspm_action_map,
  _swigc__p_sspm_header,
  _swigc__p_sspm_part,
  _swigc__p_unsigned_char,
  _swigc__p_va_list,
  _swigc__p_void,
};


/* -------- 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 through 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, *iter;
  int found, init;
  
  clientdata = clientdata;
  
  /* check to see if the circular list has been setup, if not, set it up */
  if (swig_module.next==0) {
    /* Initialize the swig_module */
    swig_module.type_initial = swig_type_initial;
    swig_module.cast_initial = swig_cast_initial;
    swig_module.next = &swig_module;
    init = 1;
  } else {
    init = 0;
  }
  
  /* Try and load any already created modules */
  module_head = SWIG_GetModule(clientdata);
  if (!module_head) {
    /* This is the first module loaded for this interpreter */
    /* so set the swig module into the interpreter */
    SWIG_SetModule(clientdata, &swig_module);
    module_head = &swig_module;
  } else {
    /* the interpreter has loaded a SWIG module, but has it loaded this one? */
    found=0;
    iter=module_head;
    do {
      if (iter==&swig_module) {
        found=1;
        break;
      }
      iter=iter->next;
    } while (iter!= module_head);
    
    /* if the is found in the list, then all is done and we may leave */
    if (found) return;
    /* otherwise we must add out module into the list */
    swig_module.next = module_head->next;
    module_head->next = &swig_module;
  }
  
  /* When multiple interpeters are used, a module could have already been initialized in
       a different interpreter, but not yet have a pointer in this interpreter.
       In this case, we do not want to continue adding types... everything should be
       set up already */
  if (init == 0) return;
  
  /* 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)) {
#if PY_VERSION_HEX >= 0x03000000
    return PyUnicode_InternFromString("<Swig global variables>");
#else
    return PyString_FromString("<Swig global variables>");
#endif
  }
  
  SWIGINTERN PyObject *
  swig_varlink_str(swig_varlinkobject *v) {
#if PY_VERSION_HEX >= 0x03000000
    PyObject *str = PyUnicode_InternFromString("(");
    PyObject *tail;
    PyObject *joined;
    swig_globalvar *var;
    for (var = v->vars; var; var=var->next) {
      tail = PyUnicode_FromString(var->name);
      joined = PyUnicode_Concat(str, tail);
      Py_DecRef(str);
      Py_DecRef(tail);
      str = joined;
      if (var->next) {
        tail = PyUnicode_InternFromString(", ");
        joined = PyUnicode_Concat(str, tail);
        Py_DecRef(str);
        Py_DecRef(tail);
        str = joined;
      }
    }
    tail = PyUnicode_InternFromString(")");
    joined = PyUnicode_Concat(str, tail);
    Py_DecRef(str);
    Py_DecRef(tail);
    str = joined;
#else
    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(")"));
#endif
    return str;
  }
  
  SWIGINTERN int
  swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
    char *tmp;
    PyObject *str = swig_varlink_str(v);
    fprintf(fp,"Swig global variables ");
    fprintf(fp,"%s\n", tmp = SWIG_Python_str_AsChar(str));
    SWIG_Python_str_DelForPy3(tmp);
    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 header changed in Python 3 */
#if PY_VERSION_HEX >= 0x03000000
        PyVarObject_HEAD_INIT(&PyType_Type, 0)
#else
        PyObject_HEAD_INIT(NULL)
        0,                                  /* Number of items in variable part (ob_size) */
#endif
        (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;
      /* for Python 3 we already assigned ob_type in PyVarObject_HEAD_INIT() */
#if PY_VERSION_HEX < 0x03000000
      varlink_type.ob_type = &PyType_Type;
#endif
      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(void) {
    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) {
      const char *c = methods[i].ml_doc;
      if (c && (c = strstr(c, "swig_ptr: "))) {
        int j;
        swig_const_info *ci = 0;
        const 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 
#if PY_VERSION_HEX >= 0x03000000
PyObject*
#else
void
#endif
SWIG_init(void) {
  PyObject *m, *d;  
#if PY_VERSION_HEX >= 0x03000000
  static struct PyModuleDef SWIG_module = {
    PyModuleDef_HEAD_INIT,
    (char *) SWIG_name,
    NULL,
    -1,
    SwigMethods,
    NULL,
    NULL,
    NULL,
    NULL
  };
#endif
  
  /* Fix SwigMethods to carry the callback ptrs when needed */
  SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
  
#if PY_VERSION_HEX >= 0x03000000
  m = PyModule_Create(&SWIG_module);
#else
  m = Py_InitModule((char *) SWIG_name, SwigMethods);
#endif
  d = PyModule_GetDict(m);
  
  SWIG_InitializeModule(0);
  SWIG_InstallConstants(d,swig_const_table);
  
  
  SWIG_Python_SetConstant(d, "ICAL_PACKAGE",SWIG_FromCharPtr("libical"));
  SWIG_Python_SetConstant(d, "ICAL_VERSION",SWIG_FromCharPtr("0.45"));
  SWIG_Python_SetConstant(d, "ICAL_NO_COMPONENT",SWIG_From_int((int)(ICAL_NO_COMPONENT)));
  SWIG_Python_SetConstant(d, "ICAL_ANY_COMPONENT",SWIG_From_int((int)(ICAL_ANY_COMPONENT)));
  SWIG_Python_SetConstant(d, "ICAL_XROOT_COMPONENT",SWIG_From_int((int)(ICAL_XROOT_COMPONENT)));
  SWIG_Python_SetConstant(d, "ICAL_XATTACH_COMPONENT",SWIG_From_int((int)(ICAL_XATTACH_COMPONENT)));
  SWIG_Python_SetConstant(d, "ICAL_VEVENT_COMPONENT",SWIG_From_int((int)(ICAL_VEVENT_COMPONENT)));
  SWIG_Python_SetConstant(d, "ICAL_VTODO_COMPONENT",SWIG_From_int((int)(ICAL_VTODO_COMPONENT)));
  SWIG_Python_SetConstant(d, "ICAL_VJOURNAL_COMPONENT",SWIG_From_int((int)(ICAL_VJOURNAL_COMPONENT)));
  SWIG_Python_SetConstant(d, "ICAL_VCALENDAR_COMPONENT",SWIG_From_int((int)(ICAL_VCALENDAR_COMPONENT)));
  SWIG_Python_SetConstant(d, "ICAL_VAGENDA_COMPONENT",SWIG_From_int((int)(ICAL_VAGENDA_COMPONENT)));
  SWIG_Python_SetConstant(d, "ICAL_VFREEBUSY_COMPONENT",SWIG_From_int((int)(ICAL_VFREEBUSY_COMPONENT)));
  SWIG_Python_SetConstant(d, "ICAL_VALARM_COMPONENT",SWIG_From_int((int)(ICAL_VALARM_COMPONENT)));
  SWIG_Python_SetConstant(d, "ICAL_XAUDIOALARM_COMPONENT",SWIG_From_int((int)(ICAL_XAUDIOALARM_COMPONENT)));
  SWIG_Python_SetConstant(d, "ICAL_XDISPLAYALARM_COMPONENT",SWIG_From_int((int)(ICAL_XDISPLAYALARM_COMPONENT)));
  SWIG_Python_SetConstant(d, "ICAL_XEMAILALARM_COMPONENT",SWIG_From_int((int)(ICAL_XEMAILALARM_COMPONENT)));
  SWIG_Python_SetConstant(d, "ICAL_XPROCEDUREALARM_COMPONENT",SWIG_From_int((int)(ICAL_XPROCEDUREALARM_COMPONENT)));
  SWIG_Python_SetConstant(d, "ICAL_VTIMEZONE_COMPONENT",SWIG_From_int((int)(ICAL_VTIMEZONE_COMPONENT)));
  SWIG_Python_SetConstant(d, "ICAL_XSTANDARD_COMPONENT",SWIG_From_int((int)(ICAL_XSTANDARD_COMPONENT)));
  SWIG_Python_SetConstant(d, "ICAL_XDAYLIGHT_COMPONENT",SWIG_From_int((int)(ICAL_XDAYLIGHT_COMPONENT)));
  SWIG_Python_SetConstant(d, "ICAL_X_COMPONENT",SWIG_From_int((int)(ICAL_X_COMPONENT)));
  SWIG_Python_SetConstant(d, "ICAL_VSCHEDULE_COMPONENT",SWIG_From_int((int)(ICAL_VSCHEDULE_COMPONENT)));
  SWIG_Python_SetConstant(d, "ICAL_VQUERY_COMPONENT",SWIG_From_int((int)(ICAL_VQUERY_COMPONENT)));
  SWIG_Python_SetConstant(d, "ICAL_VREPLY_COMPONENT",SWIG_From_int((int)(ICAL_VREPLY_COMPONENT)));
  SWIG_Python_SetConstant(d, "ICAL_VCAR_COMPONENT",SWIG_From_int((int)(ICAL_VCAR_COMPONENT)));
  SWIG_Python_SetConstant(d, "ICAL_VCOMMAND_COMPONENT",SWIG_From_int((int)(ICAL_VCOMMAND_COMPONENT)));
  SWIG_Python_SetConstant(d, "ICAL_XLICINVALID_COMPONENT",SWIG_From_int((int)(ICAL_XLICINVALID_COMPONENT)));
  SWIG_Python_SetConstant(d, "ICAL_XLICMIMEPART_COMPONENT",SWIG_From_int((int)(ICAL_XLICMIMEPART_COMPONENT)));
  SWIG_Python_SetConstant(d, "ICAL_UNKNOWN_STATUS",SWIG_From_int((int)(ICAL_UNKNOWN_STATUS)));
  SWIG_Python_SetConstant(d, "ICAL_2_0_SUCCESS_STATUS",SWIG_From_int((int)(ICAL_2_0_SUCCESS_STATUS)));
  SWIG_Python_SetConstant(d, "ICAL_2_1_FALLBACK_STATUS",SWIG_From_int((int)(ICAL_2_1_FALLBACK_STATUS)));
  SWIG_Python_SetConstant(d, "ICAL_2_2_IGPROP_STATUS",SWIG_From_int((int)(ICAL_2_2_IGPROP_STATUS)));
  SWIG_Python_SetConstant(d, "ICAL_2_3_IGPARAM_STATUS",SWIG_From_int((int)(ICAL_2_3_IGPARAM_STATUS)));
  SWIG_Python_SetConstant(d, "ICAL_2_4_IGXPROP_STATUS",SWIG_From_int((int)(ICAL_2_4_IGXPROP_STATUS)));
  SWIG_Python_SetConstant(d, "ICAL_2_5_IGXPARAM_STATUS",SWIG_From_int((int)(ICAL_2_5_IGXPARAM_STATUS)));
  SWIG_Python_SetConstant(d, "ICAL_2_6_IGCOMP_STATUS",SWIG_From_int((int)(ICAL_2_6_IGCOMP_STATUS)));
  SWIG_Python_SetConstant(d, "ICAL_2_7_FORWARD_STATUS",SWIG_From_int((int)(ICAL_2_7_FORWARD_STATUS)));
  SWIG_Python_SetConstant(d, "ICAL_2_8_ONEEVENT_STATUS",SWIG_From_int((int)(ICAL_2_8_ONEEVENT_STATUS)));
  SWIG_Python_SetConstant(d, "ICAL_2_9_TRUNC_STATUS",SWIG_From_int((int)(ICAL_2_9_TRUNC_STATUS)));
  SWIG_Python_SetConstant(d, "ICAL_2_10_ONETODO_STATUS",SWIG_From_int((int)(ICAL_2_10_ONETODO_STATUS)));
  SWIG_Python_SetConstant(d, "ICAL_2_11_TRUNCRRULE_STATUS",SWIG_From_int((int)(ICAL_2_11_TRUNCRRULE_STATUS)));
  SWIG_Python_SetConstant(d, "ICAL_3_0_INVPROPNAME_STATUS",SWIG_From_int((int)(ICAL_3_0_INVPROPNAME_STATUS)));
  SWIG_Python_SetConstant(d, "ICAL_3_1_INVPROPVAL_STATUS",SWIG_From_int((int)(ICAL_3_1_INVPROPVAL_STATUS)));
  SWIG_Python_SetConstant(d, "ICAL_3_2_INVPARAM_STATUS",SWIG_From_int((int)(ICAL_3_2_INVPARAM_STATUS)));
  SWIG_Python_SetConstant(d, "ICAL_3_3_INVPARAMVAL_STATUS",SWIG_From_int((int)(ICAL_3_3_INVPARAMVAL_STATUS)));
  SWIG_Python_SetConstant(d, "ICAL_3_4_INVCOMP_STATUS",SWIG_From_int((int)(ICAL_3_4_INVCOMP_STATUS)));
  SWIG_Python_SetConstant(d, "ICAL_3_5_INVTIME_STATUS",SWIG_From_int((int)(ICAL_3_5_INVTIME_STATUS)));
  SWIG_Python_SetConstant(d, "ICAL_3_6_INVRULE_STATUS",SWIG_From_int((int)(ICAL_3_6_INVRULE_STATUS)));
  SWIG_Python_SetConstant(d, "ICAL_3_7_INVCU_STATUS",SWIG_From_int((int)(ICAL_3_7_INVCU_STATUS)));
  SWIG_Python_SetConstant(d, "ICAL_3_8_NOAUTH_STATUS",SWIG_From_int((int)(ICAL_3_8_NOAUTH_STATUS)));
  SWIG_Python_SetConstant(d, "ICAL_3_9_BADVERSION_STATUS",SWIG_From_int((int)(ICAL_3_9_BADVERSION_STATUS)));
  SWIG_Python_SetConstant(d, "ICAL_3_10_TOOBIG_STATUS",SWIG_From_int((int)(ICAL_3_10_TOOBIG_STATUS)));
  SWIG_Python_SetConstant(d, "ICAL_3_11_MISSREQCOMP_STATUS",SWIG_From_int((int)(ICAL_3_11_MISSREQCOMP_STATUS)));
  SWIG_Python_SetConstant(d, "ICAL_3_12_UNKCOMP_STATUS",SWIG_From_int((int)(ICAL_3_12_UNKCOMP_STATUS)));
  SWIG_Python_SetConstant(d, "ICAL_3_13_BADCOMP_STATUS",SWIG_From_int((int)(ICAL_3_13_BADCOMP_STATUS)));
  SWIG_Python_SetConstant(d, "ICAL_3_14_NOCAP_STATUS",SWIG_From_int((int)(ICAL_3_14_NOCAP_STATUS)));
  SWIG_Python_SetConstant(d, "ICAL_3_15_INVCOMMAND",SWIG_From_int((int)(ICAL_3_15_INVCOMMAND)));
  SWIG_Python_SetConstant(d, "ICAL_4_0_BUSY_STATUS",SWIG_From_int((int)(ICAL_4_0_BUSY_STATUS)));
  SWIG_Python_SetConstant(d, "ICAL_4_1_STORE_ACCESS_DENIED",SWIG_From_int((int)(ICAL_4_1_STORE_ACCESS_DENIED)));
  SWIG_Python_SetConstant(d, "ICAL_4_2_STORE_FAILED",SWIG_From_int((int)(ICAL_4_2_STORE_FAILED)));
  SWIG_Python_SetConstant(d, "ICAL_4_3_STORE_NOT_FOUND",SWIG_From_int((int)(ICAL_4_3_STORE_NOT_FOUND)));
  SWIG_Python_SetConstant(d, "ICAL_5_0_MAYBE_STATUS",SWIG_From_int((int)(ICAL_5_0_MAYBE_STATUS)));
  SWIG_Python_SetConstant(d, "ICAL_5_1_UNAVAIL_STATUS",SWIG_From_int((int)(ICAL_5_1_UNAVAIL_STATUS)));
  SWIG_Python_SetConstant(d, "ICAL_5_2_NOSERVICE_STATUS",SWIG_From_int((int)(ICAL_5_2_NOSERVICE_STATUS)));
  SWIG_Python_SetConstant(d, "ICAL_5_3_NOSCHED_STATUS",SWIG_From_int((int)(ICAL_5_3_NOSCHED_STATUS)));
  SWIG_Python_SetConstant(d, "ICAL_6_1_CONTAINER_NOT_FOUND",SWIG_From_int((int)(ICAL_6_1_CONTAINER_NOT_FOUND)));
  SWIG_Python_SetConstant(d, "ICAL_9_0_UNRECOGNIZED_COMMAND",SWIG_From_int((int)(ICAL_9_0_UNRECOGNIZED_COMMAND)));
  SWIG_Python_SetConstant(d, "ICAL_ASSUME_IANA_TOKEN",SWIG_From_int((int)(ICAL_ASSUME_IANA_TOKEN)));
  SWIG_Python_SetConstant(d, "ICAL_DISCARD_TOKEN",SWIG_From_int((int)(ICAL_DISCARD_TOKEN)));
  SWIG_Python_SetConstant(d, "ICAL_TREAT_AS_ERROR",SWIG_From_int((int)(ICAL_TREAT_AS_ERROR)));
  SWIG_Python_SetConstant(d, "ICAL_SECONDLY_RECURRENCE",SWIG_From_int((int)(ICAL_SECONDLY_RECURRENCE)));
  SWIG_Python_SetConstant(d, "ICAL_MINUTELY_RECURRENCE",SWIG_From_int((int)(ICAL_MINUTELY_RECURRENCE)));
  SWIG_Python_SetConstant(d, "ICAL_HOURLY_RECURRENCE",SWIG_From_int((int)(ICAL_HOURLY_RECURRENCE)));
  SWIG_Python_SetConstant(d, "ICAL_DAILY_RECURRENCE",SWIG_From_int((int)(ICAL_DAILY_RECURRENCE)));
  SWIG_Python_SetConstant(d, "ICAL_WEEKLY_RECURRENCE",SWIG_From_int((int)(ICAL_WEEKLY_RECURRENCE)));
  SWIG_Python_SetConstant(d, "ICAL_MONTHLY_RECURRENCE",SWIG_From_int((int)(ICAL_MONTHLY_RECURRENCE)));
  SWIG_Python_SetConstant(d, "ICAL_YEARLY_RECURRENCE",SWIG_From_int((int)(ICAL_YEARLY_RECURRENCE)));
  SWIG_Python_SetConstant(d, "ICAL_NO_RECURRENCE",SWIG_From_int((int)(ICAL_NO_RECURRENCE)));
  SWIG_Python_SetConstant(d, "ICAL_NO_WEEKDAY",SWIG_From_int((int)(ICAL_NO_WEEKDAY)));
  SWIG_Python_SetConstant(d, "ICAL_SUNDAY_WEEKDAY",SWIG_From_int((int)(ICAL_SUNDAY_WEEKDAY)));
  SWIG_Python_SetConstant(d, "ICAL_MONDAY_WEEKDAY",SWIG_From_int((int)(ICAL_MONDAY_WEEKDAY)));
  SWIG_Python_SetConstant(d, "ICAL_TUESDAY_WEEKDAY",SWIG_From_int((int)(ICAL_TUESDAY_WEEKDAY)));
  SWIG_Python_SetConstant(d, "ICAL_WEDNESDAY_WEEKDAY",SWIG_From_int((int)(ICAL_WEDNESDAY_WEEKDAY)));
  SWIG_Python_SetConstant(d, "ICAL_THURSDAY_WEEKDAY",SWIG_From_int((int)(ICAL_THURSDAY_WEEKDAY)));
  SWIG_Python_SetConstant(d, "ICAL_FRIDAY_WEEKDAY",SWIG_From_int((int)(ICAL_FRIDAY_WEEKDAY)));
  SWIG_Python_SetConstant(d, "ICAL_SATURDAY_WEEKDAY",SWIG_From_int((int)(ICAL_SATURDAY_WEEKDAY)));
  SWIG_Python_SetConstant(d, "ICAL_RECURRENCE_ARRAY_MAX",SWIG_From_int((int)(ICAL_RECURRENCE_ARRAY_MAX)));
  SWIG_Python_SetConstant(d, "ICAL_RECURRENCE_ARRAY_MAX_BYTE",SWIG_From_int((int)(ICAL_RECURRENCE_ARRAY_MAX_BYTE)));
  SWIG_Python_SetConstant(d, "ICAL_BY_SECOND_SIZE",SWIG_From_int((int)(61)));
  SWIG_Python_SetConstant(d, "ICAL_BY_MINUTE_SIZE",SWIG_From_int((int)(61)));
  SWIG_Python_SetConstant(d, "ICAL_BY_HOUR_SIZE",SWIG_From_int((int)(25)));
  SWIG_Python_SetConstant(d, "ICAL_BY_DAY_SIZE",SWIG_From_int((int)(364)));
  SWIG_Python_SetConstant(d, "ICAL_BY_MONTHDAY_SIZE",SWIG_From_int((int)(32)));
  SWIG_Python_SetConstant(d, "ICAL_BY_YEARDAY_SIZE",SWIG_From_int((int)(367)));
  SWIG_Python_SetConstant(d, "ICAL_BY_WEEKNO_SIZE",SWIG_From_int((int)(54)));
  SWIG_Python_SetConstant(d, "ICAL_BY_MONTH_SIZE",SWIG_From_int((int)(13)));
  SWIG_Python_SetConstant(d, "ICAL_BY_SETPOS_SIZE",SWIG_From_int((int)(367)));
  SWIG_Python_SetConstant(d, "ICAL_ANY_VALUE",SWIG_From_int((int)(ICAL_ANY_VALUE)));
  SWIG_Python_SetConstant(d, "ICAL_QUERY_VALUE",SWIG_From_int((int)(ICAL_QUERY_VALUE)));
  SWIG_Python_SetConstant(d, "ICAL_DATE_VALUE",SWIG_From_int((int)(ICAL_DATE_VALUE)));
  SWIG_Python_SetConstant(d, "ICAL_ATTACH_VALUE",SWIG_From_int((int)(ICAL_ATTACH_VALUE)));
  SWIG_Python_SetConstant(d, "ICAL_GEO_VALUE",SWIG_From_int((int)(ICAL_GEO_VALUE)));
  SWIG_Python_SetConstant(d, "ICAL_STATUS_VALUE",SWIG_From_int((int)(ICAL_STATUS_VALUE)));
  SWIG_Python_SetConstant(d, "ICAL_TRANSP_VALUE",SWIG_From_int((int)(ICAL_TRANSP_VALUE)));
  SWIG_Python_SetConstant(d, "ICAL_STRING_VALUE",SWIG_From_int((int)(ICAL_STRING_VALUE)));
  SWIG_Python_SetConstant(d, "ICAL_TEXT_VALUE",SWIG_From_int((int)(ICAL_TEXT_VALUE)));
  SWIG_Python_SetConstant(d, "ICAL_REQUESTSTATUS_VALUE",SWIG_From_int((int)(ICAL_REQUESTSTATUS_VALUE)));
  SWIG_Python_SetConstant(d, "ICAL_CMD_VALUE",SWIG_From_int((int)(ICAL_CMD_VALUE)));
  SWIG_Python_SetConstant(d, "ICAL_BINARY_VALUE",SWIG_From_int((int)(ICAL_BINARY_VALUE)));
  SWIG_Python_SetConstant(d, "ICAL_QUERYLEVEL_VALUE",SWIG_From_int((int)(ICAL_QUERYLEVEL_VALUE)));
  SWIG_Python_SetConstant(d, "ICAL_PERIOD_VALUE",SWIG_From_int((int)(ICAL_PERIOD_VALUE)));
  SWIG_Python_SetConstant(d, "ICAL_FLOAT_VALUE",SWIG_From_int((int)(ICAL_FLOAT_VALUE)));
  SWIG_Python_SetConstant(d, "ICAL_DATETIMEPERIOD_VALUE",SWIG_From_int((int)(ICAL_DATETIMEPERIOD_VALUE)));
  SWIG_Python_SetConstant(d, "ICAL_CARLEVEL_VALUE",SWIG_From_int((int)(ICAL_CARLEVEL_VALUE)));
  SWIG_Python_SetConstant(d, "ICAL_INTEGER_VALUE",SWIG_From_int((int)(ICAL_INTEGER_VALUE)));
  SWIG_Python_SetConstant(d, "ICAL_CLASS_VALUE",SWIG_From_int((int)(ICAL_CLASS_VALUE)));
  SWIG_Python_SetConstant(d, "ICAL_URI_VALUE",SWIG_From_int((int)(ICAL_URI_VALUE)));
  SWIG_Python_SetConstant(d, "ICAL_DURATION_VALUE",SWIG_From_int((int)(ICAL_DURATION_VALUE)));
  SWIG_Python_SetConstant(d, "ICAL_BOOLEAN_VALUE",SWIG_From_int((int)(ICAL_BOOLEAN_VALUE)));
  SWIG_Python_SetConstant(d, "ICAL_X_VALUE",SWIG_From_int((int)(ICAL_X_VALUE)));
  SWIG_Python_SetConstant(d, "ICAL_CALADDRESS_VALUE",SWIG_From_int((int)(ICAL_CALADDRESS_VALUE)));
  SWIG_Python_SetConstant(d, "ICAL_TRIGGER_VALUE",SWIG_From_int((int)(ICAL_TRIGGER_VALUE)));
  SWIG_Python_SetConstant(d, "ICAL_XLICCLASS_VALUE",SWIG_From_int((int)(ICAL_XLICCLASS_VALUE)));
  SWIG_Python_SetConstant(d, "ICAL_RECUR_VALUE",SWIG_From_int((int)(ICAL_RECUR_VALUE)));
  SWIG_Python_SetConstant(d, "ICAL_ACTION_VALUE",SWIG_From_int((int)(ICAL_ACTION_VALUE)));
  SWIG_Python_SetConstant(d, "ICAL_DATETIME_VALUE",SWIG_From_int((int)(ICAL_DATETIME_VALUE)));
  SWIG_Python_SetConstant(d, "ICAL_UTCOFFSET_VALUE",SWIG_From_int((int)(ICAL_UTCOFFSET_VALUE)));
  SWIG_Python_SetConstant(d, "ICAL_METHOD_VALUE",SWIG_From_int((int)(ICAL_METHOD_VALUE)));
  SWIG_Python_SetConstant(d, "ICAL_NO_VALUE",SWIG_From_int((int)(ICAL_NO_VALUE)));
  SWIG_Python_SetConstant(d, "ICALPROPERTY_FIRST_ENUM",SWIG_From_int((int)(10000)));
  SWIG_Python_SetConstant(d, "ICAL_ACTION_X",SWIG_From_int((int)(ICAL_ACTION_X)));
  SWIG_Python_SetConstant(d, "ICAL_ACTION_AUDIO",SWIG_From_int((int)(ICAL_ACTION_AUDIO)));
  SWIG_Python_SetConstant(d, "ICAL_ACTION_DISPLAY",SWIG_From_int((int)(ICAL_ACTION_DISPLAY)));
  SWIG_Python_SetConstant(d, "ICAL_ACTION_EMAIL",SWIG_From_int((int)(ICAL_ACTION_EMAIL)));
  SWIG_Python_SetConstant(d, "ICAL_ACTION_PROCEDURE",SWIG_From_int((int)(ICAL_ACTION_PROCEDURE)));
  SWIG_Python_SetConstant(d, "ICAL_ACTION_NONE",SWIG_From_int((int)(ICAL_ACTION_NONE)));
  SWIG_Python_SetConstant(d, "ICAL_CARLEVEL_X",SWIG_From_int((int)(ICAL_CARLEVEL_X)));
  SWIG_Python_SetConstant(d, "ICAL_CARLEVEL_CARNONE",SWIG_From_int((int)(ICAL_CARLEVEL_CARNONE)));
  SWIG_Python_SetConstant(d, "ICAL_CARLEVEL_CARMIN",SWIG_From_int((int)(ICAL_CARLEVEL_CARMIN)));
  SWIG_Python_SetConstant(d, "ICAL_CARLEVEL_CARFULL1",SWIG_From_int((int)(ICAL_CARLEVEL_CARFULL1)));
  SWIG_Python_SetConstant(d, "ICAL_CARLEVEL_NONE",SWIG_From_int((int)(ICAL_CARLEVEL_NONE)));
  SWIG_Python_SetConstant(d, "ICAL_CLASS_X",SWIG_From_int((int)(ICAL_CLASS_X)));
  SWIG_Python_SetConstant(d, "ICAL_CLASS_PUBLIC",SWIG_From_int((int)(ICAL_CLASS_PUBLIC)));
  SWIG_Python_SetConstant(d, "ICAL_CLASS_PRIVATE",SWIG_From_int((int)(ICAL_CLASS_PRIVATE)));
  SWIG_Python_SetConstant(d, "ICAL_CLASS_CONFIDENTIAL",SWIG_From_int((int)(ICAL_CLASS_CONFIDENTIAL)));
  SWIG_Python_SetConstant(d, "ICAL_CLASS_NONE",SWIG_From_int((int)(ICAL_CLASS_NONE)));
  SWIG_Python_SetConstant(d, "ICAL_CMD_X",SWIG_From_int((int)(ICAL_CMD_X)));
  SWIG_Python_SetConstant(d, "ICAL_CMD_ABORT",SWIG_From_int((int)(ICAL_CMD_ABORT)));
  SWIG_Python_SetConstant(d, "ICAL_CMD_CONTINUE",SWIG_From_int((int)(ICAL_CMD_CONTINUE)));
  SWIG_Python_SetConstant(d, "ICAL_CMD_CREATE",SWIG_From_int((int)(ICAL_CMD_CREATE)));
  SWIG_Python_SetConstant(d, "ICAL_CMD_DELETE",SWIG_From_int((int)(ICAL_CMD_DELETE)));
  SWIG_Python_SetConstant(d, "ICAL_CMD_GENERATEUID",SWIG_From_int((int)(ICAL_CMD_GENERATEUID)));
  SWIG_Python_SetConstant(d, "ICAL_CMD_GETCAPABILITY",SWIG_From_int((int)(ICAL_CMD_GETCAPABILITY)));
  SWIG_Python_SetConstant(d, "ICAL_CMD_IDENTIFY",SWIG_From_int((int)(ICAL_CMD_IDENTIFY)));
  SWIG_Python_SetConstant(d, "ICAL_CMD_MODIFY",SWIG_From_int((int)(ICAL_CMD_MODIFY)));
  SWIG_Python_SetConstant(d, "ICAL_CMD_MOVE",SWIG_From_int((int)(ICAL_CMD_MOVE)));
  SWIG_Python_SetConstant(d, "ICAL_CMD_REPLY",SWIG_From_int((int)(ICAL_CMD_REPLY)));
  SWIG_Python_SetConstant(d, "ICAL_CMD_SEARCH",SWIG_From_int((int)(ICAL_CMD_SEARCH)));
  SWIG_Python_SetConstant(d, "ICAL_CMD_SETLOCALE",SWIG_From_int((int)(ICAL_CMD_SETLOCALE)));
  SWIG_Python_SetConstant(d, "ICAL_CMD_NONE",SWIG_From_int((int)(ICAL_CMD_NONE)));
  SWIG_Python_SetConstant(d, "ICAL_METHOD_X",SWIG_From_int((int)(ICAL_METHOD_X)));
  SWIG_Python_SetConstant(d, "ICAL_METHOD_PUBLISH",SWIG_From_int((int)(ICAL_METHOD_PUBLISH)));
  SWIG_Python_SetConstant(d, "ICAL_METHOD_REQUEST",SWIG_From_int((int)(ICAL_METHOD_REQUEST)));
  SWIG_Python_SetConstant(d, "ICAL_METHOD_REPLY",SWIG_From_int((int)(ICAL_METHOD_REPLY)));
  SWIG_Python_SetConstant(d, "ICAL_METHOD_ADD",SWIG_From_int((int)(ICAL_METHOD_ADD)));
  SWIG_Python_SetConstant(d, "ICAL_METHOD_CANCEL",SWIG_From_int((int)(ICAL_METHOD_CANCEL)));
  SWIG_Python_SetConstant(d, "ICAL_METHOD_REFRESH",SWIG_From_int((int)(ICAL_METHOD_REFRESH)));
  SWIG_Python_SetConstant(d, "ICAL_METHOD_COUNTER",SWIG_From_int((int)(ICAL_METHOD_COUNTER)));
  SWIG_Python_SetConstant(d, "ICAL_METHOD_DECLINECOUNTER",SWIG_From_int((int)(ICAL_METHOD_DECLINECOUNTER)));
  SWIG_Python_SetConstant(d, "ICAL_METHOD_CREATE",SWIG_From_int((int)(ICAL_METHOD_CREATE)));
  SWIG_Python_SetConstant(d, "ICAL_METHOD_READ",SWIG_From_int((int)(ICAL_METHOD_READ)));
  SWIG_Python_SetConstant(d, "ICAL_METHOD_RESPONSE",SWIG_From_int((int)(ICAL_METHOD_RESPONSE)));
  SWIG_Python_SetConstant(d, "ICAL_METHOD_MOVE",SWIG_From_int((int)(ICAL_METHOD_MOVE)));
  SWIG_Python_SetConstant(d, "ICAL_METHOD_MODIFY",SWIG_From_int((int)(ICAL_METHOD_MODIFY)));
  SWIG_Python_SetConstant(d, "ICAL_METHOD_GENERATEUID",SWIG_From_int((int)(ICAL_METHOD_GENERATEUID)));
  SWIG_Python_SetConstant(d, "ICAL_METHOD_DELETE",SWIG_From_int((int)(ICAL_METHOD_DELETE)));
  SWIG_Python_SetConstant(d, "ICAL_METHOD_NONE",SWIG_From_int((int)(ICAL_METHOD_NONE)));
  SWIG_Python_SetConstant(d, "ICAL_QUERYLEVEL_X",SWIG_From_int((int)(ICAL_QUERYLEVEL_X)));
  SWIG_Python_SetConstant(d, "ICAL_QUERYLEVEL_CALQL1",SWIG_From_int((int)(ICAL_QUERYLEVEL_CALQL1)));
  SWIG_Python_SetConstant(d, "ICAL_QUERYLEVEL_CALQLNONE",SWIG_From_int((int)(ICAL_QUERYLEVEL_CALQLNONE)));
  SWIG_Python_SetConstant(d, "ICAL_QUERYLEVEL_NONE",SWIG_From_int((int)(ICAL_QUERYLEVEL_NONE)));
  SWIG_Python_SetConstant(d, "ICAL_STATUS_X",SWIG_From_int((int)(ICAL_STATUS_X)));
  SWIG_Python_SetConstant(d, "ICAL_STATUS_TENTATIVE",SWIG_From_int((int)(ICAL_STATUS_TENTATIVE)));
  SWIG_Python_SetConstant(d, "ICAL_STATUS_CONFIRMED",SWIG_From_int((int)(ICAL_STATUS_CONFIRMED)));
  SWIG_Python_SetConstant(d, "ICAL_STATUS_COMPLETED",SWIG_From_int((int)(ICAL_STATUS_COMPLETED)));
  SWIG_Python_SetConstant(d, "ICAL_STATUS_NEEDSACTION",SWIG_From_int((int)(ICAL_STATUS_NEEDSACTION)));
  SWIG_Python_SetConstant(d, "ICAL_STATUS_CANCELLED",SWIG_From_int((int)(ICAL_STATUS_CANCELLED)));
  SWIG_Python_SetConstant(d, "ICAL_STATUS_INPROCESS",SWIG_From_int((int)(ICAL_STATUS_INPROCESS)));
  SWIG_Python_SetConstant(d, "ICAL_STATUS_DRAFT",SWIG_From_int((int)(ICAL_STATUS_DRAFT)));
  SWIG_Python_SetConstant(d, "ICAL_STATUS_FINAL",SWIG_From_int((int)(ICAL_STATUS_FINAL)));
  SWIG_Python_SetConstant(d, "ICAL_STATUS_NONE",SWIG_From_int((int)(ICAL_STATUS_NONE)));
  SWIG_Python_SetConstant(d, "ICAL_TRANSP_X",SWIG_From_int((int)(ICAL_TRANSP_X)));
  SWIG_Python_SetConstant(d, "ICAL_TRANSP_OPAQUE",SWIG_From_int((int)(ICAL_TRANSP_OPAQUE)));
  SWIG_Python_SetConstant(d, "ICAL_TRANSP_OPAQUENOCONFLICT",SWIG_From_int((int)(ICAL_TRANSP_OPAQUENOCONFLICT)));
  SWIG_Python_SetConstant(d, "ICAL_TRANSP_TRANSPARENT",SWIG_From_int((int)(ICAL_TRANSP_TRANSPARENT)));
  SWIG_Python_SetConstant(d, "ICAL_TRANSP_TRANSPARENTNOCONFLICT",SWIG_From_int((int)(ICAL_TRANSP_TRANSPARENTNOCONFLICT)));
  SWIG_Python_SetConstant(d, "ICAL_TRANSP_NONE",SWIG_From_int((int)(ICAL_TRANSP_NONE)));
  SWIG_Python_SetConstant(d, "ICAL_XLICCLASS_X",SWIG_From_int((int)(ICAL_XLICCLASS_X)));
  SWIG_Python_SetConstant(d, "ICAL_XLICCLASS_PUBLISHNEW",SWIG_From_int((int)(ICAL_XLICCLASS_PUBLISHNEW)));
  SWIG_Python_SetConstant(d, "ICAL_XLICCLASS_PUBLISHUPDATE",SWIG_From_int((int)(ICAL_XLICCLASS_PUBLISHUPDATE)));
  SWIG_Python_SetConstant(d, "ICAL_XLICCLASS_PUBLISHFREEBUSY",SWIG_From_int((int)(ICAL_XLICCLASS_PUBLISHFREEBUSY)));
  SWIG_Python_SetConstant(d, "ICAL_XLICCLASS_REQUESTNEW",SWIG_From_int((int)(ICAL_XLICCLASS_REQUESTNEW)));
  SWIG_Python_SetConstant(d, "ICAL_XLICCLASS_REQUESTUPDATE",SWIG_From_int((int)(ICAL_XLICCLASS_REQUESTUPDATE)));
  SWIG_Python_SetConstant(d, "ICAL_XLICCLASS_REQUESTRESCHEDULE",SWIG_From_int((int)(ICAL_XLICCLASS_REQUESTRESCHEDULE)));
  SWIG_Python_SetConstant(d, "ICAL_XLICCLASS_REQUESTDELEGATE",SWIG_From_int((int)(ICAL_XLICCLASS_REQUESTDELEGATE)));
  SWIG_Python_SetConstant(d, "ICAL_XLICCLASS_REQUESTNEWORGANIZER",SWIG_From_int((int)(ICAL_XLICCLASS_REQUESTNEWORGANIZER)));
  SWIG_Python_SetConstant(d, "ICAL_XLICCLASS_REQUESTFORWARD",SWIG_From_int((int)(ICAL_XLICCLASS_REQUESTFORWARD)));
  SWIG_Python_SetConstant(d, "ICAL_XLICCLASS_REQUESTSTATUS",SWIG_From_int((int)(ICAL_XLICCLASS_REQUESTSTATUS)));
  SWIG_Python_SetConstant(d, "ICAL_XLICCLASS_REQUESTFREEBUSY",SWIG_From_int((int)(ICAL_XLICCLASS_REQUESTFREEBUSY)));
  SWIG_Python_SetConstant(d, "ICAL_XLICCLASS_REPLYACCEPT",SWIG_From_int((int)(ICAL_XLICCLASS_REPLYACCEPT)));
  SWIG_Python_SetConstant(d, "ICAL_XLICCLASS_REPLYDECLINE",SWIG_From_int((int)(ICAL_XLICCLASS_REPLYDECLINE)));
  SWIG_Python_SetConstant(d, "ICAL_XLICCLASS_REPLYDELEGATE",SWIG_From_int((int)(ICAL_XLICCLASS_REPLYDELEGATE)));
  SWIG_Python_SetConstant(d, "ICAL_XLICCLASS_REPLYCRASHERACCEPT",SWIG_From_int((int)(ICAL_XLICCLASS_REPLYCRASHERACCEPT)));
  SWIG_Python_SetConstant(d, "ICAL_XLICCLASS_REPLYCRASHERDECLINE",SWIG_From_int((int)(ICAL_XLICCLASS_REPLYCRASHERDECLINE)));
  SWIG_Python_SetConstant(d, "ICAL_XLICCLASS_ADDINSTANCE",SWIG_From_int((int)(ICAL_XLICCLASS_ADDINSTANCE)));
  SWIG_Python_SetConstant(d, "ICAL_XLICCLASS_CANCELEVENT",SWIG_From_int((int)(ICAL_XLICCLASS_CANCELEVENT)));
  SWIG_Python_SetConstant(d, "ICAL_XLICCLASS_CANCELINSTANCE",SWIG_From_int((int)(ICAL_XLICCLASS_CANCELINSTANCE)));
  SWIG_Python_SetConstant(d, "ICAL_XLICCLASS_CANCELALL",SWIG_From_int((int)(ICAL_XLICCLASS_CANCELALL)));
  SWIG_Python_SetConstant(d, "ICAL_XLICCLASS_REFRESH",SWIG_From_int((int)(ICAL_XLICCLASS_REFRESH)));
  SWIG_Python_SetConstant(d, "ICAL_XLICCLASS_COUNTER",SWIG_From_int((int)(ICAL_XLICCLASS_COUNTER)));
  SWIG_Python_SetConstant(d, "ICAL_XLICCLASS_DECLINECOUNTER",SWIG_From_int((int)(ICAL_XLICCLASS_DECLINECOUNTER)));
  SWIG_Python_SetConstant(d, "ICAL_XLICCLASS_MALFORMED",SWIG_From_int((int)(ICAL_XLICCLASS_MALFORMED)));
  SWIG_Python_SetConstant(d, "ICAL_XLICCLASS_OBSOLETE",SWIG_From_int((int)(ICAL_XLICCLASS_OBSOLETE)));
  SWIG_Python_SetConstant(d, "ICAL_XLICCLASS_MISSEQUENCED",SWIG_From_int((int)(ICAL_XLICCLASS_MISSEQUENCED)));
  SWIG_Python_SetConstant(d, "ICAL_XLICCLASS_UNKNOWN",SWIG_From_int((int)(ICAL_XLICCLASS_UNKNOWN)));
  SWIG_Python_SetConstant(d, "ICAL_XLICCLASS_NONE",SWIG_From_int((int)(ICAL_XLICCLASS_NONE)));
  SWIG_Python_SetConstant(d, "ICALPROPERTY_LAST_ENUM",SWIG_From_int((int)(10096)));
  SWIG_Python_SetConstant(d, "ICAL_ANY_PARAMETER",SWIG_From_int((int)(ICAL_ANY_PARAMETER)));
  SWIG_Python_SetConstant(d, "ICAL_ACTIONPARAM_PARAMETER",SWIG_From_int((int)(ICAL_ACTIONPARAM_PARAMETER)));
  SWIG_Python_SetConstant(d, "ICAL_ALTREP_PARAMETER",SWIG_From_int((int)(ICAL_ALTREP_PARAMETER)));
  SWIG_Python_SetConstant(d, "ICAL_CHARSET_PARAMETER",SWIG_From_int((int)(ICAL_CHARSET_PARAMETER)));
  SWIG_Python_SetConstant(d, "ICAL_CN_PARAMETER",SWIG_From_int((int)(ICAL_CN_PARAMETER)));
  SWIG_Python_SetConstant(d, "ICAL_CUTYPE_PARAMETER",SWIG_From_int((int)(ICAL_CUTYPE_PARAMETER)));
  SWIG_Python_SetConstant(d, "ICAL_DELEGATEDFROM_PARAMETER",SWIG_From_int((int)(ICAL_DELEGATEDFROM_PARAMETER)));
  SWIG_Python_SetConstant(d, "ICAL_DELEGATEDTO_PARAMETER",SWIG_From_int((int)(ICAL_DELEGATEDTO_PARAMETER)));
  SWIG_Python_SetConstant(d, "ICAL_DIR_PARAMETER",SWIG_From_int((int)(ICAL_DIR_PARAMETER)));
  SWIG_Python_SetConstant(d, "ICAL_ENABLE_PARAMETER",SWIG_From_int((int)(ICAL_ENABLE_PARAMETER)));
  SWIG_Python_SetConstant(d, "ICAL_ENCODING_PARAMETER",SWIG_From_int((int)(ICAL_ENCODING_PARAMETER)));
  SWIG_Python_SetConstant(d, "ICAL_FBTYPE_PARAMETER",SWIG_From_int((int)(ICAL_FBTYPE_PARAMETER)));
  SWIG_Python_SetConstant(d, "ICAL_FMTTYPE_PARAMETER",SWIG_From_int((int)(ICAL_FMTTYPE_PARAMETER)));
  SWIG_Python_SetConstant(d, "ICAL_IANA_PARAMETER",SWIG_From_int((int)(ICAL_IANA_PARAMETER)));
  SWIG_Python_SetConstant(d, "ICAL_ID_PARAMETER",SWIG_From_int((int)(ICAL_ID_PARAMETER)));
  SWIG_Python_SetConstant(d, "ICAL_LANGUAGE_PARAMETER",SWIG_From_int((int)(ICAL_LANGUAGE_PARAMETER)));
  SWIG_Python_SetConstant(d, "ICAL_LATENCY_PARAMETER",SWIG_From_int((int)(ICAL_LATENCY_PARAMETER)));
  SWIG_Python_SetConstant(d, "ICAL_LOCAL_PARAMETER",SWIG_From_int((int)(ICAL_LOCAL_PARAMETER)));
  SWIG_Python_SetConstant(d, "ICAL_LOCALIZE_PARAMETER",SWIG_From_int((int)(ICAL_LOCALIZE_PARAMETER)));
  SWIG_Python_SetConstant(d, "ICAL_MEMBER_PARAMETER",SWIG_From_int((int)(ICAL_MEMBER_PARAMETER)));
  SWIG_Python_SetConstant(d, "ICAL_OPTIONS_PARAMETER",SWIG_From_int((int)(ICAL_OPTIONS_PARAMETER)));
  SWIG_Python_SetConstant(d, "ICAL_PARTSTAT_PARAMETER",SWIG_From_int((int)(ICAL_PARTSTAT_PARAMETER)));
  SWIG_Python_SetConstant(d, "ICAL_RANGE_PARAMETER",SWIG_From_int((int)(ICAL_RANGE_PARAMETER)));
  SWIG_Python_SetConstant(d, "ICAL_RELATED_PARAMETER",SWIG_From_int((int)(ICAL_RELATED_PARAMETER)));
  SWIG_Python_SetConstant(d, "ICAL_RELTYPE_PARAMETER",SWIG_From_int((int)(ICAL_RELTYPE_PARAMETER)));
  SWIG_Python_SetConstant(d, "ICAL_ROLE_PARAMETER",SWIG_From_int((int)(ICAL_ROLE_PARAMETER)));
  SWIG_Python_SetConstant(d, "ICAL_RSVP_PARAMETER",SWIG_From_int((int)(ICAL_RSVP_PARAMETER)));
  SWIG_Python_SetConstant(d, "ICAL_SENTBY_PARAMETER",SWIG_From_int((int)(ICAL_SENTBY_PARAMETER)));
  SWIG_Python_SetConstant(d, "ICAL_TZID_PARAMETER",SWIG_From_int((int)(ICAL_TZID_PARAMETER)));
  SWIG_Python_SetConstant(d, "ICAL_VALUE_PARAMETER",SWIG_From_int((int)(ICAL_VALUE_PARAMETER)));
  SWIG_Python_SetConstant(d, "ICAL_X_PARAMETER",SWIG_From_int((int)(ICAL_X_PARAMETER)));
  SWIG_Python_SetConstant(d, "ICAL_XLICCOMPARETYPE_PARAMETER",SWIG_From_int((int)(ICAL_XLICCOMPARETYPE_PARAMETER)));
  SWIG_Python_SetConstant(d, "ICAL_XLICERRORTYPE_PARAMETER",SWIG_From_int((int)(ICAL_XLICERRORTYPE_PARAMETER)));
  SWIG_Python_SetConstant(d, "ICAL_NO_PARAMETER",SWIG_From_int((int)(ICAL_NO_PARAMETER)));
  SWIG_Python_SetConstant(d, "ICALPARAMETER_FIRST_ENUM",SWIG_From_int((int)(20000)));
  SWIG_Python_SetConstant(d, "ICAL_ACTIONPARAM_X",SWIG_From_int((int)(ICAL_ACTIONPARAM_X)));
  SWIG_Python_SetConstant(d, "ICAL_ACTIONPARAM_ASK",SWIG_From_int((int)(ICAL_ACTIONPARAM_ASK)));
  SWIG_Python_SetConstant(d, "ICAL_ACTIONPARAM_ABORT",SWIG_From_int((int)(ICAL_ACTIONPARAM_ABORT)));
  SWIG_Python_SetConstant(d, "ICAL_ACTIONPARAM_NONE",SWIG_From_int((int)(ICAL_ACTIONPARAM_NONE)));
  SWIG_Python_SetConstant(d, "ICAL_CUTYPE_X",SWIG_From_int((int)(ICAL_CUTYPE_X)));
  SWIG_Python_SetConstant(d, "ICAL_CUTYPE_INDIVIDUAL",SWIG_From_int((int)(ICAL_CUTYPE_INDIVIDUAL)));
  SWIG_Python_SetConstant(d, "ICAL_CUTYPE_GROUP",SWIG_From_int((int)(ICAL_CUTYPE_GROUP)));
  SWIG_Python_SetConstant(d, "ICAL_CUTYPE_RESOURCE",SWIG_From_int((int)(ICAL_CUTYPE_RESOURCE)));
  SWIG_Python_SetConstant(d, "ICAL_CUTYPE_ROOM",SWIG_From_int((int)(ICAL_CUTYPE_ROOM)));
  SWIG_Python_SetConstant(d, "ICAL_CUTYPE_UNKNOWN",SWIG_From_int((int)(ICAL_CUTYPE_UNKNOWN)));
  SWIG_Python_SetConstant(d, "ICAL_CUTYPE_NONE",SWIG_From_int((int)(ICAL_CUTYPE_NONE)));
  SWIG_Python_SetConstant(d, "ICAL_ENABLE_X",SWIG_From_int((int)(ICAL_ENABLE_X)));
  SWIG_Python_SetConstant(d, "ICAL_ENABLE_TRUE",SWIG_From_int((int)(ICAL_ENABLE_TRUE)));
  SWIG_Python_SetConstant(d, "ICAL_ENABLE_FALSE",SWIG_From_int((int)(ICAL_ENABLE_FALSE)));
  SWIG_Python_SetConstant(d, "ICAL_ENABLE_NONE",SWIG_From_int((int)(ICAL_ENABLE_NONE)));
  SWIG_Python_SetConstant(d, "ICAL_ENCODING_X",SWIG_From_int((int)(ICAL_ENCODING_X)));
  SWIG_Python_SetConstant(d, "ICAL_ENCODING_8BIT",SWIG_From_int((int)(ICAL_ENCODING_8BIT)));
  SWIG_Python_SetConstant(d, "ICAL_ENCODING_BASE64",SWIG_From_int((int)(ICAL_ENCODING_BASE64)));
  SWIG_Python_SetConstant(d, "ICAL_ENCODING_NONE",SWIG_From_int((int)(ICAL_ENCODING_NONE)));
  SWIG_Python_SetConstant(d, "ICAL_FBTYPE_X",SWIG_From_int((int)(ICAL_FBTYPE_X)));
  SWIG_Python_SetConstant(d, "ICAL_FBTYPE_FREE",SWIG_From_int((int)(ICAL_FBTYPE_FREE)));
  SWIG_Python_SetConstant(d, "ICAL_FBTYPE_BUSY",SWIG_From_int((int)(ICAL_FBTYPE_BUSY)));
  SWIG_Python_SetConstant(d, "ICAL_FBTYPE_BUSYUNAVAILABLE",SWIG_From_int((int)(ICAL_FBTYPE_BUSYUNAVAILABLE)));
  SWIG_Python_SetConstant(d, "ICAL_FBTYPE_BUSYTENTATIVE",SWIG_From_int((int)(ICAL_FBTYPE_BUSYTENTATIVE)));
  SWIG_Python_SetConstant(d, "ICAL_FBTYPE_NONE",SWIG_From_int((int)(ICAL_FBTYPE_NONE)));
  SWIG_Python_SetConstant(d, "ICAL_LOCAL_X",SWIG_From_int((int)(ICAL_LOCAL_X)));
  SWIG_Python_SetConstant(d, "ICAL_LOCAL_TRUE",SWIG_From_int((int)(ICAL_LOCAL_TRUE)));
  SWIG_Python_SetConstant(d, "ICAL_LOCAL_FALSE",SWIG_From_int((int)(ICAL_LOCAL_FALSE)));
  SWIG_Python_SetConstant(d, "ICAL_LOCAL_NONE",SWIG_From_int((int)(ICAL_LOCAL_NONE)));
  SWIG_Python_SetConstant(d, "ICAL_PARTSTAT_X",SWIG_From_int((int)(ICAL_PARTSTAT_X)));
  SWIG_Python_SetConstant(d, "ICAL_PARTSTAT_NEEDSACTION",SWIG_From_int((int)(ICAL_PARTSTAT_NEEDSACTION)));
  SWIG_Python_SetConstant(d, "ICAL_PARTSTAT_ACCEPTED",SWIG_From_int((int)(ICAL_PARTSTAT_ACCEPTED)));
  SWIG_Python_SetConstant(d, "ICAL_PARTSTAT_DECLINED",SWIG_From_int((int)(ICAL_PARTSTAT_DECLINED)));
  SWIG_Python_SetConstant(d, "ICAL_PARTSTAT_TENTATIVE",SWIG_From_int((int)(ICAL_PARTSTAT_TENTATIVE)));
  SWIG_Python_SetConstant(d, "ICAL_PARTSTAT_DELEGATED",SWIG_From_int((int)(ICAL_PARTSTAT_DELEGATED)));
  SWIG_Python_SetConstant(d, "ICAL_PARTSTAT_COMPLETED",SWIG_From_int((int)(ICAL_PARTSTAT_COMPLETED)));
  SWIG_Python_SetConstant(d, "ICAL_PARTSTAT_INPROCESS",SWIG_From_int((int)(ICAL_PARTSTAT_INPROCESS)));
  SWIG_Python_SetConstant(d, "ICAL_PARTSTAT_NONE",SWIG_From_int((int)(ICAL_PARTSTAT_NONE)));
  SWIG_Python_SetConstant(d, "ICAL_RANGE_X",SWIG_From_int((int)(ICAL_RANGE_X)));
  SWIG_Python_SetConstant(d, "ICAL_RANGE_THISANDPRIOR",SWIG_From_int((int)(ICAL_RANGE_THISANDPRIOR)));
  SWIG_Python_SetConstant(d, "ICAL_RANGE_THISANDFUTURE",SWIG_From_int((int)(ICAL_RANGE_THISANDFUTURE)));
  SWIG_Python_SetConstant(d, "ICAL_RANGE_NONE",SWIG_From_int((int)(ICAL_RANGE_NONE)));
  SWIG_Python_SetConstant(d, "ICAL_RELATED_X",SWIG_From_int((int)(ICAL_RELATED_X)));
  SWIG_Python_SetConstant(d, "ICAL_RELATED_START",SWIG_From_int((int)(ICAL_RELATED_START)));
  SWIG_Python_SetConstant(d, "ICAL_RELATED_END",SWIG_From_int((int)(ICAL_RELATED_END)));
  SWIG_Python_SetConstant(d, "ICAL_RELATED_NONE",SWIG_From_int((int)(ICAL_RELATED_NONE)));
  SWIG_Python_SetConstant(d, "ICAL_RELTYPE_X",SWIG_From_int((int)(ICAL_RELTYPE_X)));
  SWIG_Python_SetConstant(d, "ICAL_RELTYPE_PARENT",SWIG_From_int((int)(ICAL_RELTYPE_PARENT)));
  SWIG_Python_SetConstant(d, "ICAL_RELTYPE_CHILD",SWIG_From_int((int)(ICAL_RELTYPE_CHILD)));
  SWIG_Python_SetConstant(d, "ICAL_RELTYPE_SIBLING",SWIG_From_int((int)(ICAL_RELTYPE_SIBLING)));
  SWIG_Python_SetConstant(d, "ICAL_RELTYPE_NONE",SWIG_From_int((int)(ICAL_RELTYPE_NONE)));
  SWIG_Python_SetConstant(d, "ICAL_ROLE_X",SWIG_From_int((int)(ICAL_ROLE_X)));
  SWIG_Python_SetConstant(d, "ICAL_ROLE_CHAIR",SWIG_From_int((int)(ICAL_ROLE_CHAIR)));
  SWIG_Python_SetConstant(d, "ICAL_ROLE_REQPARTICIPANT",SWIG_From_int((int)(ICAL_ROLE_REQPARTICIPANT)));
  SWIG_Python_SetConstant(d, "ICAL_ROLE_OPTPARTICIPANT",SWIG_From_int((int)(ICAL_ROLE_OPTPARTICIPANT)));
  SWIG_Python_SetConstant(d, "ICAL_ROLE_NONPARTICIPANT",SWIG_From_int((int)(ICAL_ROLE_NONPARTICIPANT)));
  SWIG_Python_SetConstant(d, "ICAL_ROLE_NONE",SWIG_From_int((int)(ICAL_ROLE_NONE)));
  SWIG_Python_SetConstant(d, "ICAL_RSVP_X",SWIG_From_int((int)(ICAL_RSVP_X)));
  SWIG_Python_SetConstant(d, "ICAL_RSVP_TRUE",SWIG_From_int((int)(ICAL_RSVP_TRUE)));
  SWIG_Python_SetConstant(d, "ICAL_RSVP_FALSE",SWIG_From_int((int)(ICAL_RSVP_FALSE)));
  SWIG_Python_SetConstant(d, "ICAL_RSVP_NONE",SWIG_From_int((int)(ICAL_RSVP_NONE)));
  SWIG_Python_SetConstant(d, "ICAL_VALUE_X",SWIG_From_int((int)(ICAL_VALUE_X)));
  SWIG_Python_SetConstant(d, "ICAL_VALUE_BINARY",SWIG_From_int((int)(ICAL_VALUE_BINARY)));
  SWIG_Python_SetConstant(d, "ICAL_VALUE_BOOLEAN",SWIG_From_int((int)(ICAL_VALUE_BOOLEAN)));
  SWIG_Python_SetConstant(d, "ICAL_VALUE_DATE",SWIG_From_int((int)(ICAL_VALUE_DATE)));
  SWIG_Python_SetConstant(d, "ICAL_VALUE_DURATION",SWIG_From_int((int)(ICAL_VALUE_DURATION)));
  SWIG_Python_SetConstant(d, "ICAL_VALUE_FLOAT",SWIG_From_int((int)(ICAL_VALUE_FLOAT)));
  SWIG_Python_SetConstant(d, "ICAL_VALUE_INTEGER",SWIG_From_int((int)(ICAL_VALUE_INTEGER)));
  SWIG_Python_SetConstant(d, "ICAL_VALUE_PERIOD",SWIG_From_int((int)(ICAL_VALUE_PERIOD)));
  SWIG_Python_SetConstant(d, "ICAL_VALUE_RECUR",SWIG_From_int((int)(ICAL_VALUE_RECUR)));
  SWIG_Python_SetConstant(d, "ICAL_VALUE_TEXT",SWIG_From_int((int)(ICAL_VALUE_TEXT)));
  SWIG_Python_SetConstant(d, "ICAL_VALUE_URI",SWIG_From_int((int)(ICAL_VALUE_URI)));
  SWIG_Python_SetConstant(d, "ICAL_VALUE_ERROR",SWIG_From_int((int)(ICAL_VALUE_ERROR)));
  SWIG_Python_SetConstant(d, "ICAL_VALUE_DATETIME",SWIG_From_int((int)(ICAL_VALUE_DATETIME)));
  SWIG_Python_SetConstant(d, "ICAL_VALUE_UTCOFFSET",SWIG_From_int((int)(ICAL_VALUE_UTCOFFSET)));
  SWIG_Python_SetConstant(d, "ICAL_VALUE_CALADDRESS",SWIG_From_int((int)(ICAL_VALUE_CALADDRESS)));
  SWIG_Python_SetConstant(d, "ICAL_VALUE_NONE",SWIG_From_int((int)(ICAL_VALUE_NONE)));
  SWIG_Python_SetConstant(d, "ICAL_XLICCOMPARETYPE_X",SWIG_From_int((int)(ICAL_XLICCOMPARETYPE_X)));
  SWIG_Python_SetConstant(d, "ICAL_XLICCOMPARETYPE_EQUAL",SWIG_From_int((int)(ICAL_XLICCOMPARETYPE_EQUAL)));
  SWIG_Python_SetConstant(d, "ICAL_XLICCOMPARETYPE_NOTEQUAL",SWIG_From_int((int)(ICAL_XLICCOMPARETYPE_NOTEQUAL)));
  SWIG_Python_SetConstant(d, "ICAL_XLICCOMPARETYPE_LESS",SWIG_From_int((int)(ICAL_XLICCOMPARETYPE_LESS)));
  SWIG_Python_SetConstant(d, "ICAL_XLICCOMPARETYPE_GREATER",SWIG_From_int((int)(ICAL_XLICCOMPARETYPE_GREATER)));
  SWIG_Python_SetConstant(d, "ICAL_XLICCOMPARETYPE_LESSEQUAL",SWIG_From_int((int)(ICAL_XLICCOMPARETYPE_LESSEQUAL)));
  SWIG_Python_SetConstant(d, "ICAL_XLICCOMPARETYPE_GREATEREQUAL",SWIG_From_int((int)(ICAL_XLICCOMPARETYPE_GREATEREQUAL)));
  SWIG_Python_SetConstant(d, "ICAL_XLICCOMPARETYPE_REGEX",SWIG_From_int((int)(ICAL_XLICCOMPARETYPE_REGEX)));
  SWIG_Python_SetConstant(d, "ICAL_XLICCOMPARETYPE_ISNULL",SWIG_From_int((int)(ICAL_XLICCOMPARETYPE_ISNULL)));
  SWIG_Python_SetConstant(d, "ICAL_XLICCOMPARETYPE_ISNOTNULL",SWIG_From_int((int)(ICAL_XLICCOMPARETYPE_ISNOTNULL)));
  SWIG_Python_SetConstant(d, "ICAL_XLICCOMPARETYPE_NONE",SWIG_From_int((int)(ICAL_XLICCOMPARETYPE_NONE)));
  SWIG_Python_SetConstant(d, "ICAL_XLICERRORTYPE_X",SWIG_From_int((int)(ICAL_XLICERRORTYPE_X)));
  SWIG_Python_SetConstant(d, "ICAL_XLICERRORTYPE_COMPONENTPARSEERROR",SWIG_From_int((int)(ICAL_XLICERRORTYPE_COMPONENTPARSEERROR)));
  SWIG_Python_SetConstant(d, "ICAL_XLICERRORTYPE_PROPERTYPARSEERROR",SWIG_From_int((int)(ICAL_XLICERRORTYPE_PROPERTYPARSEERROR)));
  SWIG_Python_SetConstant(d, "ICAL_XLICERRORTYPE_PARAMETERNAMEPARSEERROR",SWIG_From_int((int)(ICAL_XLICERRORTYPE_PARAMETERNAMEPARSEERROR)));
  SWIG_Python_SetConstant(d, "ICAL_XLICERRORTYPE_PARAMETERVALUEPARSEERROR",SWIG_From_int((int)(ICAL_XLICERRORTYPE_PARAMETERVALUEPARSEERROR)));
  SWIG_Python_SetConstant(d, "ICAL_XLICERRORTYPE_VALUEPARSEERROR",SWIG_From_int((int)(ICAL_XLICERRORTYPE_VALUEPARSEERROR)));
  SWIG_Python_SetConstant(d, "ICAL_XLICERRORTYPE_INVALIDITIP",SWIG_From_int((int)(ICAL_XLICERRORTYPE_INVALIDITIP)));
  SWIG_Python_SetConstant(d, "ICAL_XLICERRORTYPE_UNKNOWNVCALPROPERROR",SWIG_From_int((int)(ICAL_XLICERRORTYPE_UNKNOWNVCALPROPERROR)));
  SWIG_Python_SetConstant(d, "ICAL_XLICERRORTYPE_MIMEPARSEERROR",SWIG_From_int((int)(ICAL_XLICERRORTYPE_MIMEPARSEERROR)));
  SWIG_Python_SetConstant(d, "ICAL_XLICERRORTYPE_VCALPROPPARSEERROR",SWIG_From_int((int)(ICAL_XLICERRORTYPE_VCALPROPPARSEERROR)));
  SWIG_Python_SetConstant(d, "ICAL_XLICERRORTYPE_NONE",SWIG_From_int((int)(ICAL_XLICERRORTYPE_NONE)));
  SWIG_Python_SetConstant(d, "ICALPARAMETER_LAST_ENUM",SWIG_From_int((int)(20099)));
  SWIG_Python_SetConstant(d, "ICAL_ANY_PROPERTY",SWIG_From_int((int)(ICAL_ANY_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_ACTION_PROPERTY",SWIG_From_int((int)(ICAL_ACTION_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_ALLOWCONFLICT_PROPERTY",SWIG_From_int((int)(ICAL_ALLOWCONFLICT_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_ATTACH_PROPERTY",SWIG_From_int((int)(ICAL_ATTACH_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_ATTENDEE_PROPERTY",SWIG_From_int((int)(ICAL_ATTENDEE_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_CALID_PROPERTY",SWIG_From_int((int)(ICAL_CALID_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_CALMASTER_PROPERTY",SWIG_From_int((int)(ICAL_CALMASTER_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_CALSCALE_PROPERTY",SWIG_From_int((int)(ICAL_CALSCALE_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_CAPVERSION_PROPERTY",SWIG_From_int((int)(ICAL_CAPVERSION_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_CARLEVEL_PROPERTY",SWIG_From_int((int)(ICAL_CARLEVEL_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_CARID_PROPERTY",SWIG_From_int((int)(ICAL_CARID_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_CATEGORIES_PROPERTY",SWIG_From_int((int)(ICAL_CATEGORIES_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_CLASS_PROPERTY",SWIG_From_int((int)(ICAL_CLASS_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_CMD_PROPERTY",SWIG_From_int((int)(ICAL_CMD_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_COMMENT_PROPERTY",SWIG_From_int((int)(ICAL_COMMENT_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_COMPLETED_PROPERTY",SWIG_From_int((int)(ICAL_COMPLETED_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_COMPONENTS_PROPERTY",SWIG_From_int((int)(ICAL_COMPONENTS_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_CONTACT_PROPERTY",SWIG_From_int((int)(ICAL_CONTACT_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_CREATED_PROPERTY",SWIG_From_int((int)(ICAL_CREATED_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_CSID_PROPERTY",SWIG_From_int((int)(ICAL_CSID_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_DATEMAX_PROPERTY",SWIG_From_int((int)(ICAL_DATEMAX_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_DATEMIN_PROPERTY",SWIG_From_int((int)(ICAL_DATEMIN_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_DECREED_PROPERTY",SWIG_From_int((int)(ICAL_DECREED_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_DEFAULTCHARSET_PROPERTY",SWIG_From_int((int)(ICAL_DEFAULTCHARSET_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_DEFAULTLOCALE_PROPERTY",SWIG_From_int((int)(ICAL_DEFAULTLOCALE_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_DEFAULTTZID_PROPERTY",SWIG_From_int((int)(ICAL_DEFAULTTZID_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_DEFAULTVCARS_PROPERTY",SWIG_From_int((int)(ICAL_DEFAULTVCARS_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_DENY_PROPERTY",SWIG_From_int((int)(ICAL_DENY_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_DESCRIPTION_PROPERTY",SWIG_From_int((int)(ICAL_DESCRIPTION_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_DTEND_PROPERTY",SWIG_From_int((int)(ICAL_DTEND_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_DTSTAMP_PROPERTY",SWIG_From_int((int)(ICAL_DTSTAMP_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_DTSTART_PROPERTY",SWIG_From_int((int)(ICAL_DTSTART_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_DUE_PROPERTY",SWIG_From_int((int)(ICAL_DUE_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_DURATION_PROPERTY",SWIG_From_int((int)(ICAL_DURATION_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_EXDATE_PROPERTY",SWIG_From_int((int)(ICAL_EXDATE_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_EXPAND_PROPERTY",SWIG_From_int((int)(ICAL_EXPAND_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_EXRULE_PROPERTY",SWIG_From_int((int)(ICAL_EXRULE_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_FREEBUSY_PROPERTY",SWIG_From_int((int)(ICAL_FREEBUSY_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_GEO_PROPERTY",SWIG_From_int((int)(ICAL_GEO_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_GRANT_PROPERTY",SWIG_From_int((int)(ICAL_GRANT_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_ITIPVERSION_PROPERTY",SWIG_From_int((int)(ICAL_ITIPVERSION_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_LASTMODIFIED_PROPERTY",SWIG_From_int((int)(ICAL_LASTMODIFIED_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_LOCATION_PROPERTY",SWIG_From_int((int)(ICAL_LOCATION_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_MAXCOMPONENTSIZE_PROPERTY",SWIG_From_int((int)(ICAL_MAXCOMPONENTSIZE_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_MAXDATE_PROPERTY",SWIG_From_int((int)(ICAL_MAXDATE_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_MAXRESULTS_PROPERTY",SWIG_From_int((int)(ICAL_MAXRESULTS_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_MAXRESULTSSIZE_PROPERTY",SWIG_From_int((int)(ICAL_MAXRESULTSSIZE_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_METHOD_PROPERTY",SWIG_From_int((int)(ICAL_METHOD_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_MINDATE_PROPERTY",SWIG_From_int((int)(ICAL_MINDATE_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_MULTIPART_PROPERTY",SWIG_From_int((int)(ICAL_MULTIPART_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_NAME_PROPERTY",SWIG_From_int((int)(ICAL_NAME_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_ORGANIZER_PROPERTY",SWIG_From_int((int)(ICAL_ORGANIZER_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_OWNER_PROPERTY",SWIG_From_int((int)(ICAL_OWNER_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_PERCENTCOMPLETE_PROPERTY",SWIG_From_int((int)(ICAL_PERCENTCOMPLETE_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_PERMISSION_PROPERTY",SWIG_From_int((int)(ICAL_PERMISSION_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_PRIORITY_PROPERTY",SWIG_From_int((int)(ICAL_PRIORITY_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_PRODID_PROPERTY",SWIG_From_int((int)(ICAL_PRODID_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_QUERY_PROPERTY",SWIG_From_int((int)(ICAL_QUERY_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_QUERYLEVEL_PROPERTY",SWIG_From_int((int)(ICAL_QUERYLEVEL_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_QUERYID_PROPERTY",SWIG_From_int((int)(ICAL_QUERYID_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_QUERYNAME_PROPERTY",SWIG_From_int((int)(ICAL_QUERYNAME_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_RDATE_PROPERTY",SWIG_From_int((int)(ICAL_RDATE_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_RECURACCEPTED_PROPERTY",SWIG_From_int((int)(ICAL_RECURACCEPTED_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_RECUREXPAND_PROPERTY",SWIG_From_int((int)(ICAL_RECUREXPAND_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_RECURLIMIT_PROPERTY",SWIG_From_int((int)(ICAL_RECURLIMIT_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_RECURRENCEID_PROPERTY",SWIG_From_int((int)(ICAL_RECURRENCEID_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_RELATEDTO_PROPERTY",SWIG_From_int((int)(ICAL_RELATEDTO_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_RELCALID_PROPERTY",SWIG_From_int((int)(ICAL_RELCALID_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_REPEAT_PROPERTY",SWIG_From_int((int)(ICAL_REPEAT_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_REQUESTSTATUS_PROPERTY",SWIG_From_int((int)(ICAL_REQUESTSTATUS_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_RESOURCES_PROPERTY",SWIG_From_int((int)(ICAL_RESOURCES_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_RESTRICTION_PROPERTY",SWIG_From_int((int)(ICAL_RESTRICTION_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_RRULE_PROPERTY",SWIG_From_int((int)(ICAL_RRULE_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_SCOPE_PROPERTY",SWIG_From_int((int)(ICAL_SCOPE_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_SEQUENCE_PROPERTY",SWIG_From_int((int)(ICAL_SEQUENCE_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_STATUS_PROPERTY",SWIG_From_int((int)(ICAL_STATUS_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_STORESEXPANDED_PROPERTY",SWIG_From_int((int)(ICAL_STORESEXPANDED_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_SUMMARY_PROPERTY",SWIG_From_int((int)(ICAL_SUMMARY_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_TARGET_PROPERTY",SWIG_From_int((int)(ICAL_TARGET_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_TRANSP_PROPERTY",SWIG_From_int((int)(ICAL_TRANSP_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_TRIGGER_PROPERTY",SWIG_From_int((int)(ICAL_TRIGGER_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_TZID_PROPERTY",SWIG_From_int((int)(ICAL_TZID_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_TZNAME_PROPERTY",SWIG_From_int((int)(ICAL_TZNAME_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_TZOFFSETFROM_PROPERTY",SWIG_From_int((int)(ICAL_TZOFFSETFROM_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_TZOFFSETTO_PROPERTY",SWIG_From_int((int)(ICAL_TZOFFSETTO_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_TZURL_PROPERTY",SWIG_From_int((int)(ICAL_TZURL_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_UID_PROPERTY",SWIG_From_int((int)(ICAL_UID_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_URL_PROPERTY",SWIG_From_int((int)(ICAL_URL_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_VERSION_PROPERTY",SWIG_From_int((int)(ICAL_VERSION_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_X_PROPERTY",SWIG_From_int((int)(ICAL_X_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_XLICCLASS_PROPERTY",SWIG_From_int((int)(ICAL_XLICCLASS_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_XLICCLUSTERCOUNT_PROPERTY",SWIG_From_int((int)(ICAL_XLICCLUSTERCOUNT_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_XLICERROR_PROPERTY",SWIG_From_int((int)(ICAL_XLICERROR_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_XLICMIMECHARSET_PROPERTY",SWIG_From_int((int)(ICAL_XLICMIMECHARSET_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_XLICMIMECID_PROPERTY",SWIG_From_int((int)(ICAL_XLICMIMECID_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_XLICMIMECONTENTTYPE_PROPERTY",SWIG_From_int((int)(ICAL_XLICMIMECONTENTTYPE_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_XLICMIMEENCODING_PROPERTY",SWIG_From_int((int)(ICAL_XLICMIMEENCODING_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_XLICMIMEFILENAME_PROPERTY",SWIG_From_int((int)(ICAL_XLICMIMEFILENAME_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_XLICMIMEOPTINFO_PROPERTY",SWIG_From_int((int)(ICAL_XLICMIMEOPTINFO_PROPERTY)));
  SWIG_Python_SetConstant(d, "ICAL_NO_PROPERTY",SWIG_From_int((int)(ICAL_NO_PROPERTY)));
  PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
  SWIG_addvarlink(SWIG_globals(),(char*)"pvl_elem_count",Swig_var_pvl_elem_count_get, Swig_var_pvl_elem_count_set);
  SWIG_addvarlink(SWIG_globals(),(char*)"pvl_list_count",Swig_var_pvl_list_count_get, Swig_var_pvl_list_count_set);
  SWIG_Python_SetConstant(d, "ICALPARSER_ERROR",SWIG_From_int((int)(ICALPARSER_ERROR)));
  SWIG_Python_SetConstant(d, "ICALPARSER_SUCCESS",SWIG_From_int((int)(ICALPARSER_SUCCESS)));
  SWIG_Python_SetConstant(d, "ICALPARSER_BEGIN_COMP",SWIG_From_int((int)(ICALPARSER_BEGIN_COMP)));
  SWIG_Python_SetConstant(d, "ICALPARSER_END_COMP",SWIG_From_int((int)(ICALPARSER_END_COMP)));
  SWIG_Python_SetConstant(d, "ICALPARSER_IN_PROGRESS",SWIG_From_int((int)(ICALPARSER_IN_PROGRESS)));
  SWIG_Python_SetConstant(d, "ICAL_NO_ERROR",SWIG_From_int((int)(ICAL_NO_ERROR)));
  SWIG_Python_SetConstant(d, "ICAL_BADARG_ERROR",SWIG_From_int((int)(ICAL_BADARG_ERROR)));
  SWIG_Python_SetConstant(d, "ICAL_NEWFAILED_ERROR",SWIG_From_int((int)(ICAL_NEWFAILED_ERROR)));
  SWIG_Python_SetConstant(d, "ICAL_ALLOCATION_ERROR",SWIG_From_int((int)(ICAL_ALLOCATION_ERROR)));
  SWIG_Python_SetConstant(d, "ICAL_MALFORMEDDATA_ERROR",SWIG_From_int((int)(ICAL_MALFORMEDDATA_ERROR)));
  SWIG_Python_SetConstant(d, "ICAL_PARSE_ERROR",SWIG_From_int((int)(ICAL_PARSE_ERROR)));
  SWIG_Python_SetConstant(d, "ICAL_INTERNAL_ERROR",SWIG_From_int((int)(ICAL_INTERNAL_ERROR)));
  SWIG_Python_SetConstant(d, "ICAL_FILE_ERROR",SWIG_From_int((int)(ICAL_FILE_ERROR)));
  SWIG_Python_SetConstant(d, "ICAL_USAGE_ERROR",SWIG_From_int((int)(ICAL_USAGE_ERROR)));
  SWIG_Python_SetConstant(d, "ICAL_UNIMPLEMENTED_ERROR",SWIG_From_int((int)(ICAL_UNIMPLEMENTED_ERROR)));
  SWIG_Python_SetConstant(d, "ICAL_UNKNOWN_ERROR",SWIG_From_int((int)(ICAL_UNKNOWN_ERROR)));
  SWIG_addvarlink(SWIG_globals(),(char*)"icalerror_errors_are_fatal",Swig_var_icalerror_errors_are_fatal_get, Swig_var_icalerror_errors_are_fatal_set);
  SWIG_Python_SetConstant(d, "ICAL_ERROR_FATAL",SWIG_From_int((int)(ICAL_ERROR_FATAL)));
  SWIG_Python_SetConstant(d, "ICAL_ERROR_NONFATAL",SWIG_From_int((int)(ICAL_ERROR_NONFATAL)));
  SWIG_Python_SetConstant(d, "ICAL_ERROR_DEFAULT",SWIG_From_int((int)(ICAL_ERROR_DEFAULT)));
  SWIG_Python_SetConstant(d, "ICAL_ERROR_UNKNOWN",SWIG_From_int((int)(ICAL_ERROR_UNKNOWN)));
  SWIG_Python_SetConstant(d, "ICAL_RESTRICTION_NONE",SWIG_From_int((int)(ICAL_RESTRICTION_NONE)));
  SWIG_Python_SetConstant(d, "ICAL_RESTRICTION_ZERO",SWIG_From_int((int)(ICAL_RESTRICTION_ZERO)));
  SWIG_Python_SetConstant(d, "ICAL_RESTRICTION_ONE",SWIG_From_int((int)(ICAL_RESTRICTION_ONE)));
  SWIG_Python_SetConstant(d, "ICAL_RESTRICTION_ZEROPLUS",SWIG_From_int((int)(ICAL_RESTRICTION_ZEROPLUS)));
  SWIG_Python_SetConstant(d, "ICAL_RESTRICTION_ONEPLUS",SWIG_From_int((int)(ICAL_RESTRICTION_ONEPLUS)));
  SWIG_Python_SetConstant(d, "ICAL_RESTRICTION_ZEROORONE",SWIG_From_int((int)(ICAL_RESTRICTION_ZEROORONE)));
  SWIG_Python_SetConstant(d, "ICAL_RESTRICTION_ONEEXCLUSIVE",SWIG_From_int((int)(ICAL_RESTRICTION_ONEEXCLUSIVE)));
  SWIG_Python_SetConstant(d, "ICAL_RESTRICTION_ONEMUTUAL",SWIG_From_int((int)(ICAL_RESTRICTION_ONEMUTUAL)));
  SWIG_Python_SetConstant(d, "ICAL_RESTRICTION_UNKNOWN",SWIG_From_int((int)(ICAL_RESTRICTION_UNKNOWN)));
  SWIG_Python_SetConstant(d, "SSPM_NO_MAJOR_TYPE",SWIG_From_int((int)(SSPM_NO_MAJOR_TYPE)));
  SWIG_Python_SetConstant(d, "SSPM_TEXT_MAJOR_TYPE",SWIG_From_int((int)(SSPM_TEXT_MAJOR_TYPE)));
  SWIG_Python_SetConstant(d, "SSPM_IMAGE_MAJOR_TYPE",SWIG_From_int((int)(SSPM_IMAGE_MAJOR_TYPE)));
  SWIG_Python_SetConstant(d, "SSPM_AUDIO_MAJOR_TYPE",SWIG_From_int((int)(SSPM_AUDIO_MAJOR_TYPE)));
  SWIG_Python_SetConstant(d, "SSPM_VIDEO_MAJOR_TYPE",SWIG_From_int((int)(SSPM_VIDEO_MAJOR_TYPE)));
  SWIG_Python_SetConstant(d, "SSPM_APPLICATION_MAJOR_TYPE",SWIG_From_int((int)(SSPM_APPLICATION_MAJOR_TYPE)));
  SWIG_Python_SetConstant(d, "SSPM_MULTIPART_MAJOR_TYPE",SWIG_From_int((int)(SSPM_MULTIPART_MAJOR_TYPE)));
  SWIG_Python_SetConstant(d, "SSPM_MESSAGE_MAJOR_TYPE",SWIG_From_int((int)(SSPM_MESSAGE_MAJOR_TYPE)));
  SWIG_Python_SetConstant(d, "SSPM_UNKNOWN_MAJOR_TYPE",SWIG_From_int((int)(SSPM_UNKNOWN_MAJOR_TYPE)));
  SWIG_Python_SetConstant(d, "SSPM_NO_MINOR_TYPE",SWIG_From_int((int)(SSPM_NO_MINOR_TYPE)));
  SWIG_Python_SetConstant(d, "SSPM_ANY_MINOR_TYPE",SWIG_From_int((int)(SSPM_ANY_MINOR_TYPE)));
  SWIG_Python_SetConstant(d, "SSPM_PLAIN_MINOR_TYPE",SWIG_From_int((int)(SSPM_PLAIN_MINOR_TYPE)));
  SWIG_Python_SetConstant(d, "SSPM_RFC822_MINOR_TYPE",SWIG_From_int((int)(SSPM_RFC822_MINOR_TYPE)));
  SWIG_Python_SetConstant(d, "SSPM_DIGEST_MINOR_TYPE",SWIG_From_int((int)(SSPM_DIGEST_MINOR_TYPE)));
  SWIG_Python_SetConstant(d, "SSPM_CALENDAR_MINOR_TYPE",SWIG_From_int((int)(SSPM_CALENDAR_MINOR_TYPE)));
  SWIG_Python_SetConstant(d, "SSPM_MIXED_MINOR_TYPE",SWIG_From_int((int)(SSPM_MIXED_MINOR_TYPE)));
  SWIG_Python_SetConstant(d, "SSPM_RELATED_MINOR_TYPE",SWIG_From_int((int)(SSPM_RELATED_MINOR_TYPE)));
  SWIG_Python_SetConstant(d, "SSPM_ALTERNATIVE_MINOR_TYPE",SWIG_From_int((int)(SSPM_ALTERNATIVE_MINOR_TYPE)));
  SWIG_Python_SetConstant(d, "SSPM_PARALLEL_MINOR_TYPE",SWIG_From_int((int)(SSPM_PARALLEL_MINOR_TYPE)));
  SWIG_Python_SetConstant(d, "SSPM_UNKNOWN_MINOR_TYPE",SWIG_From_int((int)(SSPM_UNKNOWN_MINOR_TYPE)));
  SWIG_Python_SetConstant(d, "SSPM_NO_ENCODING",SWIG_From_int((int)(SSPM_NO_ENCODING)));
  SWIG_Python_SetConstant(d, "SSPM_QUOTED_PRINTABLE_ENCODING",SWIG_From_int((int)(SSPM_QUOTED_PRINTABLE_ENCODING)));
  SWIG_Python_SetConstant(d, "SSPM_8BIT_ENCODING",SWIG_From_int((int)(SSPM_8BIT_ENCODING)));
  SWIG_Python_SetConstant(d, "SSPM_7BIT_ENCODING",SWIG_From_int((int)(SSPM_7BIT_ENCODING)));
  SWIG_Python_SetConstant(d, "SSPM_BINARY_ENCODING",SWIG_From_int((int)(SSPM_BINARY_ENCODING)));
  SWIG_Python_SetConstant(d, "SSPM_BASE64_ENCODING",SWIG_From_int((int)(SSPM_BASE64_ENCODING)));
  SWIG_Python_SetConstant(d, "SSPM_UNKNOWN_ENCODING",SWIG_From_int((int)(SSPM_UNKNOWN_ENCODING)));
  SWIG_Python_SetConstant(d, "SSPM_NO_ERROR",SWIG_From_int((int)(SSPM_NO_ERROR)));
  SWIG_Python_SetConstant(d, "SSPM_UNEXPECTED_BOUNDARY_ERROR",SWIG_From_int((int)(SSPM_UNEXPECTED_BOUNDARY_ERROR)));
  SWIG_Python_SetConstant(d, "SSPM_WRONG_BOUNDARY_ERROR",SWIG_From_int((int)(SSPM_WRONG_BOUNDARY_ERROR)));
  SWIG_Python_SetConstant(d, "SSPM_NO_BOUNDARY_ERROR",SWIG_From_int((int)(SSPM_NO_BOUNDARY_ERROR)));
  SWIG_Python_SetConstant(d, "SSPM_NO_HEADER_ERROR",SWIG_From_int((int)(SSPM_NO_HEADER_ERROR)));
  SWIG_Python_SetConstant(d, "SSPM_MALFORMED_HEADER_ERROR",SWIG_From_int((int)(SSPM_MALFORMED_HEADER_ERROR)));
  SWIG_Python_SetConstant(d, "ICAL_PATH_MAX",SWIG_From_int((int)(1024)));
  SWIG_Python_SetConstant(d, "ICAL_FILE_SET",SWIG_From_int((int)(ICAL_FILE_SET)));
  SWIG_Python_SetConstant(d, "ICAL_DIR_SET",SWIG_From_int((int)(ICAL_DIR_SET)));
  SWIG_Python_SetConstant(d, "ICAL_BDB_SET",SWIG_From_int((int)(ICAL_BDB_SET)));
  SWIG_addvarlink(SWIG_globals(),(char*)"icalsetiter_null",Swig_var_icalsetiter_null_get, Swig_var_icalsetiter_null_set);
  SWIG_addvarlink(SWIG_globals(),(char*)"icalfileset_options_default",Swig_var_icalfileset_options_default_get, Swig_var_icalfileset_options_default_set);
#if PY_VERSION_HEX >= 0x03000000
  return m;
#else
  return;
#endif
}

