2 * FILE : netical_wrap.c
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 5)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PERL 5 */
37 /* Definitions for compiling Perl extensions on a variety of machines */
39 #if defined(WIN32) || defined(__WIN32__)
40 # if defined(_MSC_VER)
41 # define SWIGEXPORT(a,b) __declspec(dllexport) a b
43 # if defined(__BORLANDC__)
44 # define SWIGEXPORT(a,b) a _export b
46 # define SWIGEXPORT(a,b) a b
50 # define SWIGEXPORT(a,b) a b
54 #define MAGIC_PPERL CPerl *pPerl = (CPerl *) this;
55 #define MAGIC_CAST (int (CPerl::*)(SV *, MAGIC *))
56 #define SWIGCLASS_STATIC
60 #define SWIGCLASS_STATIC static
64 /*****************************************************************************
65 * $Header: /tmp/freeassociation-cvsbackup/libical/src/Net-ICal-Libical/netical_wrap.c,v 1.6 2001-04-02 18:17:40 ebusboom Exp $
69 * This file contains supporting code for the SWIG run-time type checking
70 * mechanism. The following functions are available :
72 * SWIG_RegisterMapping(char *origtype, char *newtype, void *(*cast)(void *));
74 * Registers a new type-mapping with the type-checker. origtype is the
75 * original datatype and newtype is an equivalent type. cast is optional
76 * pointer to a function to cast pointer values between types (this
77 * is only used to cast pointers from derived classes to base classes in C++)
79 * SWIG_MakePtr(char *buffer, void *ptr, char *typestring);
81 * Makes a pointer string from a pointer and typestring. The result is returned
84 * char * SWIG_GetPtr(SV *obj, void **ptr, char *type)
86 * Gets a pointer value from a Perl5 scalar value. If there is a
87 * type-mismatch, returns a character string to the received type.
88 * On success, returns NULL.
91 * You can remap these functions by making a file called "swigptr.swg" in
92 * your the same directory as the interface file you are wrapping.
94 * These functions are normally declared static, but this file can be
95 * can be used in a multi-module environment by redefining the symbol
98 * $Log: not supported by cvs2svn $
99 * Revision 1.1 1996/12/26 22:17:29 beazley
102 *****************************************************************************/
108 #define SWIGSTATIC extern "C"
115 #define SWIGSTATIC static
118 /* These are internal variables. Should be static */
120 typedef struct SwigPtrType {
123 void *(*cast)(void *);
124 struct SwigPtrType *next;
127 /* Pointer cache structure */
130 int stat; /* Status (valid) bit */
131 SwigPtrType *tp; /* Pointer to type structure */
132 char name[256]; /* Given datatype name */
133 char mapped[256]; /* Equivalent name */
136 static int SwigPtrMax = 64; /* Max entries that can be currently held */
137 static int SwigPtrN = 0; /* Current number of entries */
138 static int SwigPtrSort = 0; /* Status flag indicating sort */
139 static SwigPtrType *SwigPtrTable = 0; /* Table containing pointer equivalences */
140 static int SwigStart[256]; /* Table containing starting positions */
144 #define SWIG_CACHESIZE 8
145 #define SWIG_CACHEMASK 0x7
146 static SwigCacheType SwigCache[SWIG_CACHESIZE];
147 static int SwigCacheIndex = 0;
148 static int SwigLastCache = 0;
150 /* Sort comparison function */
151 static int swigsort(const void *data1, const void *data2) {
152 SwigPtrType *d1 = (SwigPtrType *) data1;
153 SwigPtrType *d2 = (SwigPtrType *) data2;
154 return strcmp(d1->name,d2->name);
157 /* Binary Search function */
158 static int swigcmp(const void *key, const void *data) {
159 char *k = (char *) key;
160 SwigPtrType *d = (SwigPtrType *) data;
161 return strncmp(k,d->name,d->len);
164 /* Register a new datatype with the type-checker */
168 void SWIG_RegisterMapping(char *origtype, char *newtype, void *(*cast)(void *)) {
171 #define SWIG_RegisterMapping(a,b,c) _SWIG_RegisterMapping(pPerl, a,b,c)
172 void _SWIG_RegisterMapping(CPerl *pPerl, char *origtype, char *newtype, void *(*cast)(void *)) {
176 SwigPtrType *t = 0, *t1;
179 SwigPtrTable = (SwigPtrType *) malloc(SwigPtrMax*sizeof(SwigPtrType));
182 if (SwigPtrN >= SwigPtrMax) {
183 SwigPtrMax = 2*SwigPtrMax;
184 SwigPtrTable = (SwigPtrType *) realloc(SwigPtrTable,SwigPtrMax*sizeof(SwigPtrType));
186 for (i = 0; i < SwigPtrN; i++)
187 if (strcmp(SwigPtrTable[i].name,origtype) == 0) {
188 t = &SwigPtrTable[i];
192 t = &SwigPtrTable[SwigPtrN];
194 t->len = strlen(t->name);
200 if (strcmp(t->name,newtype) == 0) {
201 if (cast) t->cast = cast;
206 t1 = (SwigPtrType *) malloc(sizeof(SwigPtrType));
208 t1->len = strlen(t1->name);
215 /* Make a pointer value string */
218 void SWIG_MakePtr(char *_c, const void *_ptr, char *type) {
219 static char _hex[16] =
220 {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
221 'a', 'b', 'c', 'd', 'e', 'f'};
222 unsigned long _p, _s;
223 char _result[20], *_r; /* Note : a 64-bit hex number = 16 digits */
225 _p = (unsigned long) _ptr;
233 while (_r >= _result)
242 /* Define for backwards compatibility */
244 #define _swig_make_hex SWIG_MakePtr
246 /* Function for getting a pointer value */
250 char *SWIG_GetPtr(SV *sv, void **ptr, char *_t)
253 #define SWIG_GetPtr(a,b,c) _SWIG_GetPtr(pPerl,a,b,c)
254 char *_SWIG_GetPtr(CPerl *pPerl, SV *sv, void **ptr, char *_t)
262 SwigCacheType *cache;
264 /* If magical, apply more magic */
269 /* Check to see if this is an object */
270 if (sv_isobject(sv)) {
271 SV *tsv = (SV*) SvRV(sv);
272 if ((SvTYPE(tsv) == SVt_PVHV)) {
274 if (SvMAGICAL(tsv)) {
275 mg = mg_find(tsv,'P');
277 SV *rsv = mg->mg_obj;
278 if (sv_isobject(rsv)) {
279 tmp = SvIV((SV*)SvRV(rsv));
283 return "Not a valid pointer value";
286 tmp = SvIV((SV*)SvRV(sv));
289 *(ptr) = (void *) tmp;
292 } else if (sv == &sv_undef) { /* Check for undef */
295 } else if (SvTYPE(sv) == SVt_RV) { /* Check for NULL pointer */
300 return "Not a valid pointer value";
301 } else { /* Don't know what it is */
303 return "Not a valid pointer value";
306 /* Now see if the types match */
308 if (!sv_isa(sv,_t)) {
309 _c = HvNAME(SvSTASH(SvRV(sv)));
311 qsort((void *) SwigPtrTable, SwigPtrN, sizeof(SwigPtrType), swigsort);
312 for (i = 0; i < 256; i++) {
313 SwigStart[i] = SwigPtrN;
315 for (i = SwigPtrN-1; i >= 0; i--) {
316 SwigStart[SwigPtrTable[i].name[0]] = i;
318 for (i = 255; i >= 1; i--) {
319 if (SwigStart[i-1] > SwigStart[i])
320 SwigStart[i-1] = SwigStart[i];
323 for (i = 0; i < SWIG_CACHESIZE; i++)
324 SwigCache[i].stat = 0;
326 /* First check cache for matches. Uses last cache value as starting point */
327 cache = &SwigCache[SwigLastCache];
328 for (i = 0; i < SWIG_CACHESIZE; i++) {
330 if (strcmp(_t,cache->name) == 0) {
331 if (strcmp(_c,cache->mapped) == 0) {
334 if (cache->tp->cast) *ptr = (*(cache->tp->cast))(*ptr);
339 SwigLastCache = (SwigLastCache+1) & SWIG_CACHEMASK;
340 if (!SwigLastCache) cache = SwigCache;
344 start = SwigStart[_t[0]];
345 end = SwigStart[_t[0]+1];
346 sp = &SwigPtrTable[start];
347 while (start < end) {
348 if (swigcmp(_t,sp) == 0) break;
352 if (start >= end) sp = 0;
354 while (swigcmp(_t,sp) == 0) {
359 if (tp->len >= 255) {
362 strcpy(temp_type,tp->name);
363 strncat(temp_type,_t+len,255-tp->len);
364 if (sv_isa(sv,temp_type)) {
365 /* Get pointer value */
367 if (tp->cast) *ptr = (*(tp->cast))(*ptr);
369 strcpy(SwigCache[SwigCacheIndex].mapped,_c);
370 strcpy(SwigCache[SwigCacheIndex].name,_t);
371 SwigCache[SwigCacheIndex].stat = 1;
372 SwigCache[SwigCacheIndex].tp = tp;
373 SwigCacheIndex = SwigCacheIndex & SWIG_CACHEMASK;
378 /* Hmmm. Didn't find it this time */
382 /* Didn't find any sort of match for this data.
383 Get the pointer value and return the received type */
387 /* Found a match on the first try. Return pointer value */
396 /* Compatibility mode */
398 #define _swig_get_hex SWIG_GetPtr
399 /* Magic variable code */
401 #define swig_create_magic(s,a,b,c) _swig_create_magic(s,a,b,c)
402 static void _swig_create_magic(SV *sv, char *name, int (*set)(SV *, MAGIC *), int (*get)(SV *,MAGIC *)) {
404 #define swig_create_magic(s,a,b,c) _swig_create_magic(pPerl,s,a,b,c)
405 static void _swig_create_magic(CPerl *pPerl, SV *sv, char *name, int (CPerl::*set)(SV *, MAGIC *), int (CPerl::*get)(SV *, MAGIC *)) {
408 sv_magic(sv,sv,'U',name,strlen(name));
409 mg = mg_find(sv,'U');
410 mg->mg_virtual = (MGVTBL *) malloc(sizeof(MGVTBL));
411 mg->mg_virtual->svt_get = get;
412 mg->mg_virtual->svt_set = set;
413 mg->mg_virtual->svt_len = 0;
414 mg->mg_virtual->svt_clear = 0;
415 mg->mg_virtual->svt_free = 0;
418 #define SWIG_init boot_Net__ICal__Libical
420 #define SWIG_name "Net::ICal::Libical::boot_Net__ICal__Libical"
421 #define SWIG_varinit "Net::ICal::Libical::var_Net__ICal__Libical_init();"
426 SWIGEXPORT(void,boot_Net__ICal__Libical)(CV* cv);
428 SWIGEXPORT(void,boot_Net__ICal__Libical)(CPerl *, CV *cv);
433 #include <sys/types.h> /* for size_t */
437 #define swig_setiv(a,b) _swig_setiv(a,b)
438 static void _swig_setiv(char *name, long value) {
440 #define swig_setiv(a,b) _swig_setiv(pPerl,a,b)
441 static void _swig_setiv(CPerl *pPerl, char *name, long value) {
444 sv = perl_get_sv(name,TRUE | 0x2);
445 sv_setiv(sv, (IV) value);
450 #define swig_setpv(a,b) _swig_setpv(a,b)
451 static void _swig_setpv(char *name, char *value) {
453 #define swig_setpv(a,b) _swig_setpv(pPerl,a,b)
454 static void _swig_setpv(CPerl *pPerl, char *name, char *value) {
457 sv = perl_get_sv(name,TRUE | 0x2);
463 #define MAGIC_CLASS _wrap_Net__ICal__Libical_var::
464 class _wrap_Net__ICal__Libical_var : public CPerl {
469 SWIGCLASS_STATIC int swig_magic_readonly(SV *sv, MAGIC *mg) {
472 croak("Value is read-only.");
481 XS(_wrap_icalparser_parse_string) {
483 icalcomponent * _result;
489 if ((items < 1) || (items > 1))
490 croak("Usage: icalparser_parse_string(str);");
491 _arg0 = (char *) SvPV(ST(0),na);
492 _result = (icalcomponent *)icalparser_parse_string(_arg0);
493 ST(argvi) = sv_newmortal();
494 sv_setref_pv(ST(argvi++),"icalcomponentPtr", (void *) _result);
498 XS(_wrap_icalcomponent_new) {
500 icalcomponent * _result;
501 icalcomponent_kind * _arg0;
506 if ((items < 1) || (items > 1))
507 croak("Usage: icalcomponent_new(kind);");
508 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"icalcomponent_kindPtr")) {
509 croak("Type error in argument 1 of icalcomponent_new. Expected icalcomponent_kindPtr.");
512 _result = (icalcomponent *)icalcomponent_new(*_arg0);
513 ST(argvi) = sv_newmortal();
514 sv_setref_pv(ST(argvi++),"icalcomponentPtr", (void *) _result);
518 XS(_wrap_icalcomponent_new_clone) {
520 icalcomponent * _result;
521 icalcomponent * _arg0;
526 if ((items < 1) || (items > 1))
527 croak("Usage: icalcomponent_new_clone(component);");
528 if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) {
529 croak("Type error in argument 1 of icalcomponent_new_clone. Expected icalcomponentPtr.");
532 _result = (icalcomponent *)icalcomponent_new_clone(_arg0);
533 ST(argvi) = sv_newmortal();
534 sv_setref_pv(ST(argvi++),"icalcomponentPtr", (void *) _result);
538 XS(_wrap_icalcomponent_new_from_string) {
540 icalcomponent * _result;
546 if ((items < 1) || (items > 1))
547 croak("Usage: icalcomponent_new_from_string(str);");
548 _arg0 = (char *) SvPV(ST(0),na);
549 _result = (icalcomponent *)icalcomponent_new_from_string(_arg0);
550 ST(argvi) = sv_newmortal();
551 sv_setref_pv(ST(argvi++),"icalcomponentPtr", (void *) _result);
555 XS(_wrap_icalcomponent_as_ical_string) {
558 icalcomponent * _arg0;
563 if ((items < 1) || (items > 1))
564 croak("Usage: icalcomponent_as_ical_string(component);");
565 if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) {
566 croak("Type error in argument 1 of icalcomponent_as_ical_string. Expected icalcomponentPtr.");
569 _result = (char *)icalcomponent_as_ical_string(_arg0);
570 ST(argvi) = sv_newmortal();
571 sv_setpv((SV*)ST(argvi++),(char *) _result);
575 XS(_wrap_icalcomponent_free) {
577 icalcomponent * _arg0;
582 if ((items < 1) || (items > 1))
583 croak("Usage: icalcomponent_free(component);");
584 if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) {
585 croak("Type error in argument 1 of icalcomponent_free. Expected icalcomponentPtr.");
588 icalcomponent_free(_arg0);
592 XS(_wrap_icalcomponent_count_errors) {
595 icalcomponent * _arg0;
600 if ((items < 1) || (items > 1))
601 croak("Usage: icalcomponent_count_errors(component);");
602 if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) {
603 croak("Type error in argument 1 of icalcomponent_count_errors. Expected icalcomponentPtr.");
606 _result = (int )icalcomponent_count_errors(_arg0);
607 ST(argvi) = sv_newmortal();
608 sv_setiv(ST(argvi++),(IV) _result);
612 XS(_wrap_icalcomponent_strip_errors) {
614 icalcomponent * _arg0;
619 if ((items < 1) || (items > 1))
620 croak("Usage: icalcomponent_strip_errors(component);");
621 if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) {
622 croak("Type error in argument 1 of icalcomponent_strip_errors. Expected icalcomponentPtr.");
625 icalcomponent_strip_errors(_arg0);
629 XS(_wrap_icalcomponent_convert_errors) {
631 icalcomponent * _arg0;
636 if ((items < 1) || (items > 1))
637 croak("Usage: icalcomponent_convert_errors(component);");
638 if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) {
639 croak("Type error in argument 1 of icalcomponent_convert_errors. Expected icalcomponentPtr.");
642 icalcomponent_convert_errors(_arg0);
646 XS(_wrap_icalcomponent_get_current_property) {
648 icalproperty * _result;
649 icalcomponent * _arg0;
654 if ((items < 1) || (items > 1))
655 croak("Usage: icalcomponent_get_current_property(component);");
656 if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) {
657 croak("Type error in argument 1 of icalcomponent_get_current_property. Expected icalcomponentPtr.");
660 _result = (icalproperty *)icalcomponent_get_current_property(_arg0);
661 ST(argvi) = sv_newmortal();
662 sv_setref_pv(ST(argvi++),"icalpropertyPtr", (void *) _result);
666 XS(_wrap_icalcomponent_get_first_property) {
668 icalproperty * _result;
669 icalcomponent * _arg0;
670 icalproperty_kind * _arg1;
675 if ((items < 2) || (items > 2))
676 croak("Usage: icalcomponent_get_first_property(component,kind);");
677 if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) {
678 croak("Type error in argument 1 of icalcomponent_get_first_property. Expected icalcomponentPtr.");
681 if (SWIG_GetPtr(ST(1),(void **) &_arg1,"icalproperty_kindPtr")) {
682 croak("Type error in argument 2 of icalcomponent_get_first_property. Expected icalproperty_kindPtr.");
685 _result = (icalproperty *)icalcomponent_get_first_property(_arg0,*_arg1);
686 ST(argvi) = sv_newmortal();
687 sv_setref_pv(ST(argvi++),"icalpropertyPtr", (void *) _result);
691 XS(_wrap_icalcomponent_get_next_property) {
693 icalproperty * _result;
694 icalcomponent * _arg0;
695 icalproperty_kind * _arg1;
700 if ((items < 2) || (items > 2))
701 croak("Usage: icalcomponent_get_next_property(component,kind);");
702 if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) {
703 croak("Type error in argument 1 of icalcomponent_get_next_property. Expected icalcomponentPtr.");
706 if (SWIG_GetPtr(ST(1),(void **) &_arg1,"icalproperty_kindPtr")) {
707 croak("Type error in argument 2 of icalcomponent_get_next_property. Expected icalproperty_kindPtr.");
710 _result = (icalproperty *)icalcomponent_get_next_property(_arg0,*_arg1);
711 ST(argvi) = sv_newmortal();
712 sv_setref_pv(ST(argvi++),"icalpropertyPtr", (void *) _result);
716 XS(_wrap_icalcomponent_get_current_component) {
718 icalcomponent * _result;
719 icalcomponent * _arg0;
724 if ((items < 1) || (items > 1))
725 croak("Usage: icalcomponent_get_current_component(component);");
726 if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) {
727 croak("Type error in argument 1 of icalcomponent_get_current_component. Expected icalcomponentPtr.");
730 _result = (icalcomponent *)icalcomponent_get_current_component(_arg0);
731 ST(argvi) = sv_newmortal();
732 sv_setref_pv(ST(argvi++),"icalcomponentPtr", (void *) _result);
736 XS(_wrap_icalcomponent_get_first_component) {
738 icalcomponent * _result;
739 icalcomponent * _arg0;
740 icalcomponent_kind * _arg1;
745 if ((items < 2) || (items > 2))
746 croak("Usage: icalcomponent_get_first_component(component,kind);");
747 if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) {
748 croak("Type error in argument 1 of icalcomponent_get_first_component. Expected icalcomponentPtr.");
751 if (SWIG_GetPtr(ST(1),(void **) &_arg1,"icalcomponent_kindPtr")) {
752 croak("Type error in argument 2 of icalcomponent_get_first_component. Expected icalcomponent_kindPtr.");
755 _result = (icalcomponent *)icalcomponent_get_first_component(_arg0,*_arg1);
756 ST(argvi) = sv_newmortal();
757 sv_setref_pv(ST(argvi++),"icalcomponentPtr", (void *) _result);
761 XS(_wrap_icalcomponent_get_next_component) {
763 icalcomponent * _result;
764 icalcomponent * _arg0;
765 icalcomponent_kind * _arg1;
770 if ((items < 2) || (items > 2))
771 croak("Usage: icalcomponent_get_next_component(component,kind);");
772 if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) {
773 croak("Type error in argument 1 of icalcomponent_get_next_component. Expected icalcomponentPtr.");
776 if (SWIG_GetPtr(ST(1),(void **) &_arg1,"icalcomponent_kindPtr")) {
777 croak("Type error in argument 2 of icalcomponent_get_next_component. Expected icalcomponent_kindPtr.");
780 _result = (icalcomponent *)icalcomponent_get_next_component(_arg0,*_arg1);
781 ST(argvi) = sv_newmortal();
782 sv_setref_pv(ST(argvi++),"icalcomponentPtr", (void *) _result);
786 XS(_wrap_icalcomponent_add_property) {
788 icalcomponent * _arg0;
789 icalproperty * _arg1;
794 if ((items < 2) || (items > 2))
795 croak("Usage: icalcomponent_add_property(component,property);");
796 if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) {
797 croak("Type error in argument 1 of icalcomponent_add_property. Expected icalcomponentPtr.");
800 if (SWIG_GetPtr(ST(1),(void **) &_arg1,(char *) 0 )) {
801 croak("Type error in argument 2 of icalcomponent_add_property. Expected icalpropertyPtr.");
804 icalcomponent_add_property(_arg0,_arg1);
808 XS(_wrap_icalcomponent_remove_property) {
810 icalcomponent * _arg0;
811 icalproperty * _arg1;
816 if ((items < 2) || (items > 2))
817 croak("Usage: icalcomponent_remove_property(component,property);");
818 if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) {
819 croak("Type error in argument 1 of icalcomponent_remove_property. Expected icalcomponentPtr.");
822 if (SWIG_GetPtr(ST(1),(void **) &_arg1,(char *) 0 )) {
823 croak("Type error in argument 2 of icalcomponent_remove_property. Expected icalpropertyPtr.");
826 icalcomponent_remove_property(_arg0,_arg1);
830 XS(_wrap_icalcomponent_get_parent) {
832 icalcomponent * _result;
833 icalcomponent * _arg0;
838 if ((items < 1) || (items > 1))
839 croak("Usage: icalcomponent_get_parent(component);");
840 if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) {
841 croak("Type error in argument 1 of icalcomponent_get_parent. Expected icalcomponentPtr.");
844 _result = (icalcomponent *)icalcomponent_get_parent(_arg0);
845 ST(argvi) = sv_newmortal();
846 sv_setref_pv(ST(argvi++),"icalcomponentPtr", (void *) _result);
850 XS(_wrap_icalcomponent_isa) {
852 icalcomponent_kind * _result;
853 icalcomponent * _arg0;
858 if ((items < 1) || (items > 1))
859 croak("Usage: icalcomponent_isa(component);");
860 if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) {
861 croak("Type error in argument 1 of icalcomponent_isa. Expected icalcomponentPtr.");
864 _result = (icalcomponent_kind *) malloc(sizeof(icalcomponent_kind ));
865 *(_result) = icalcomponent_isa(_arg0);
866 ST(argvi) = sv_newmortal();
867 sv_setref_pv(ST(argvi++),"icalcomponent_kindPtr", (void *) _result);
871 XS(_wrap_icalrestriction_check) {
874 icalcomponent * _arg0;
879 if ((items < 1) || (items > 1))
880 croak("Usage: icalrestriction_check(comp);");
881 if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) {
882 croak("Type error in argument 1 of icalrestriction_check. Expected icalcomponentPtr.");
885 _result = (int )icalrestriction_check(_arg0);
886 ST(argvi) = sv_newmortal();
887 sv_setiv(ST(argvi++),(IV) _result);
891 XS(_wrap_icalproperty_string_to_kind) {
899 if ((items < 1) || (items > 1))
900 croak("Usage: icalproperty_string_to_kind(string);");
901 _arg0 = (char *) SvPV(ST(0),na);
902 _result = (int )icalproperty_string_to_kind(_arg0);
903 ST(argvi) = sv_newmortal();
904 sv_setiv(ST(argvi++),(IV) _result);
908 XS(_wrap_icalproperty_new) {
910 icalproperty * _result;
916 if ((items < 1) || (items > 1))
917 croak("Usage: icalproperty_new(kind);");
918 _arg0 = (int )SvIV(ST(0));
919 _result = (icalproperty *)icalproperty_new(_arg0);
920 ST(argvi) = sv_newmortal();
921 sv_setref_pv(ST(argvi++),"icalpropertyPtr", (void *) _result);
925 XS(_wrap_icalproperty_new_from_string) {
927 icalproperty * _result;
933 if ((items < 1) || (items > 1))
934 croak("Usage: icalproperty_new_from_string(str);");
935 _arg0 = (char *) SvPV(ST(0),na);
936 _result = (icalproperty *)icalproperty_new_from_string(_arg0);
937 ST(argvi) = sv_newmortal();
938 sv_setref_pv(ST(argvi++),"icalpropertyPtr", (void *) _result);
942 XS(_wrap_icalproperty_as_ical_string) {
945 icalproperty * _arg0;
950 if ((items < 1) || (items > 1))
951 croak("Usage: icalproperty_as_ical_string(prop);");
952 if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) {
953 croak("Type error in argument 1 of icalproperty_as_ical_string. Expected icalpropertyPtr.");
956 _result = (char *)icalproperty_as_ical_string(_arg0);
957 ST(argvi) = sv_newmortal();
958 sv_setpv((SV*)ST(argvi++),(char *) _result);
962 XS(_wrap_icalproperty_set_parameter_from_string) {
964 icalproperty * _arg0;
971 if ((items < 3) || (items > 3))
972 croak("Usage: icalproperty_set_parameter_from_string(prop,name,value);");
973 if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) {
974 croak("Type error in argument 1 of icalproperty_set_parameter_from_string. Expected icalpropertyPtr.");
977 _arg1 = (char *) SvPV(ST(1),na);
978 _arg2 = (char *) SvPV(ST(2),na);
979 icalproperty_set_parameter_from_string(_arg0,_arg1,_arg2);
983 XS(_wrap_icalproperty_set_value_from_string) {
985 icalproperty * _arg0;
992 if ((items < 3) || (items > 3))
993 croak("Usage: icalproperty_set_value_from_string(prop,value,kind);");
994 if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) {
995 croak("Type error in argument 1 of icalproperty_set_value_from_string. Expected icalpropertyPtr.");
998 _arg1 = (char *) SvPV(ST(1),na);
999 _arg2 = (char *) SvPV(ST(2),na);
1000 icalproperty_set_value_from_string(_arg0,_arg1,_arg2);
1004 XS(_wrap_icalproperty_get_value_as_string) {
1007 icalproperty * _arg0;
1012 if ((items < 1) || (items > 1))
1013 croak("Usage: icalproperty_get_value_as_string(prop);");
1014 if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) {
1015 croak("Type error in argument 1 of icalproperty_get_value_as_string. Expected icalpropertyPtr.");
1018 _result = (char *)icalproperty_get_value_as_string(_arg0);
1019 ST(argvi) = sv_newmortal();
1020 sv_setpv((SV*)ST(argvi++),(char *) _result);
1024 XS(_wrap_icalproperty_get_parameter_as_string) {
1027 icalproperty * _arg0;
1033 if ((items < 2) || (items > 2))
1034 croak("Usage: icalproperty_get_parameter_as_string(prop,name);");
1035 if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) {
1036 croak("Type error in argument 1 of icalproperty_get_parameter_as_string. Expected icalpropertyPtr.");
1039 _arg1 = (char *) SvPV(ST(1),na);
1040 _result = (char *)icalproperty_get_parameter_as_string(_arg0,_arg1);
1041 ST(argvi) = sv_newmortal();
1042 sv_setpv((SV*)ST(argvi++),(char *) _result);
1046 XS(_wrap_icalproperty_get_parent) {
1048 icalcomponent * _result;
1049 icalproperty * _arg0;
1054 if ((items < 1) || (items > 1))
1055 croak("Usage: icalproperty_get_parent(property);");
1056 if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) {
1057 croak("Type error in argument 1 of icalproperty_get_parent. Expected icalpropertyPtr.");
1060 _result = (icalcomponent *)icalproperty_get_parent(_arg0);
1061 ST(argvi) = sv_newmortal();
1062 sv_setref_pv(ST(argvi++),"icalcomponentPtr", (void *) _result);
1066 XS(_wrap_icalerror_set_error_state) {
1068 icalerrorenum _arg0;
1069 icalerrorstate _arg1;
1074 if ((items < 2) || (items > 2))
1075 croak("Usage: icalerror_set_error_state(error,icalerrorstate );");
1076 _arg0 = (icalerrorenum )SvIV(ST(0));
1077 _arg1 = (icalerrorstate )SvIV(ST(1));
1078 icalerror_set_error_state(_arg0,_arg1);
1082 XS(_wrap_icalerror_get_error_state) {
1084 icalerrorstate _result;
1085 icalerrorenum _arg0;
1090 if ((items < 1) || (items > 1))
1091 croak("Usage: icalerror_get_error_state(error);");
1092 _arg0 = (icalerrorenum )SvIV(ST(0));
1093 _result = (icalerrorstate )icalerror_get_error_state(_arg0);
1094 ST(argvi) = sv_newmortal();
1095 sv_setiv(ST(argvi++),(IV) _result);
1099 XS(_wrap_icalenum_property_kind_to_string) {
1102 icalproperty_kind * _arg0;
1107 if ((items < 1) || (items > 1))
1108 croak("Usage: icalenum_property_kind_to_string(kind);");
1109 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"icalproperty_kindPtr")) {
1110 croak("Type error in argument 1 of icalenum_property_kind_to_string. Expected icalproperty_kindPtr.");
1113 _result = (char *)icalenum_property_kind_to_string(*_arg0);
1114 ST(argvi) = sv_newmortal();
1115 sv_setpv((SV*)ST(argvi++),(char *) _result);
1119 XS(_wrap_icalenum_string_to_property_kind) {
1121 icalproperty_kind * _result;
1127 if ((items < 1) || (items > 1))
1128 croak("Usage: icalenum_string_to_property_kind(string);");
1129 _arg0 = (char *) SvPV(ST(0),na);
1130 _result = (icalproperty_kind *) malloc(sizeof(icalproperty_kind ));
1131 *(_result) = icalenum_string_to_property_kind(_arg0);
1132 ST(argvi) = sv_newmortal();
1133 sv_setref_pv(ST(argvi++),"icalproperty_kindPtr", (void *) _result);
1137 XS(_wrap_icalenum_value_kind_to_string) {
1140 icalvalue_kind * _arg0;
1145 if ((items < 1) || (items > 1))
1146 croak("Usage: icalenum_value_kind_to_string(kind);");
1147 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"icalvalue_kindPtr")) {
1148 croak("Type error in argument 1 of icalenum_value_kind_to_string. Expected icalvalue_kindPtr.");
1151 _result = (char *)icalenum_value_kind_to_string(*_arg0);
1152 ST(argvi) = sv_newmortal();
1153 sv_setpv((SV*)ST(argvi++),(char *) _result);
1157 XS(_wrap_icalenum_parameter_kind_to_string) {
1160 icalparameter_kind * _arg0;
1165 if ((items < 1) || (items > 1))
1166 croak("Usage: icalenum_parameter_kind_to_string(kind);");
1167 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"icalparameter_kindPtr")) {
1168 croak("Type error in argument 1 of icalenum_parameter_kind_to_string. Expected icalparameter_kindPtr.");
1171 _result = (char *)icalenum_parameter_kind_to_string(*_arg0);
1172 ST(argvi) = sv_newmortal();
1173 sv_setpv((SV*)ST(argvi++),(char *) _result);
1177 XS(_wrap_icalenum_string_to_parameter_kind) {
1179 icalparameter_kind * _result;
1185 if ((items < 1) || (items > 1))
1186 croak("Usage: icalenum_string_to_parameter_kind(string);");
1187 _arg0 = (char *) SvPV(ST(0),na);
1188 _result = (icalparameter_kind *) malloc(sizeof(icalparameter_kind ));
1189 *(_result) = icalenum_string_to_parameter_kind(_arg0);
1190 ST(argvi) = sv_newmortal();
1191 sv_setref_pv(ST(argvi++),"icalparameter_kindPtr", (void *) _result);
1195 XS(_wrap_icalenum_component_kind_to_string) {
1198 icalcomponent_kind * _arg0;
1203 if ((items < 1) || (items > 1))
1204 croak("Usage: icalenum_component_kind_to_string(kind);");
1205 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"icalcomponent_kindPtr")) {
1206 croak("Type error in argument 1 of icalenum_component_kind_to_string. Expected icalcomponent_kindPtr.");
1209 _result = (char *)icalenum_component_kind_to_string(*_arg0);
1210 ST(argvi) = sv_newmortal();
1211 sv_setpv((SV*)ST(argvi++),(char *) _result);
1215 XS(_wrap_icalenum_string_to_component_kind) {
1217 icalcomponent_kind * _result;
1223 if ((items < 1) || (items > 1))
1224 croak("Usage: icalenum_string_to_component_kind(string);");
1225 _arg0 = (char *) SvPV(ST(0),na);
1226 _result = (icalcomponent_kind *) malloc(sizeof(icalcomponent_kind ));
1227 *(_result) = icalenum_string_to_component_kind(_arg0);
1228 ST(argvi) = sv_newmortal();
1229 sv_setref_pv(ST(argvi++),"icalcomponent_kindPtr", (void *) _result);
1233 XS(_wrap_icalenum_property_kind_to_value_kind) {
1235 icalvalue_kind * _result;
1236 icalproperty_kind * _arg0;
1241 if ((items < 1) || (items > 1))
1242 croak("Usage: icalenum_property_kind_to_value_kind(kind);");
1243 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"icalproperty_kindPtr")) {
1244 croak("Type error in argument 1 of icalenum_property_kind_to_value_kind. Expected icalproperty_kindPtr.");
1247 _result = (icalvalue_kind *) malloc(sizeof(icalvalue_kind ));
1248 *(_result) = icalenum_property_kind_to_value_kind(*_arg0);
1249 ST(argvi) = sv_newmortal();
1250 sv_setref_pv(ST(argvi++),"icalvalue_kindPtr", (void *) _result);
1254 XS(_wrap_icallangbind_new_array) {
1262 if ((items < 1) || (items > 1))
1263 croak("Usage: icallangbind_new_array(size);");
1264 _arg0 = (int )SvIV(ST(0));
1265 _result = (int *)icallangbind_new_array(_arg0);
1266 ST(argvi) = sv_newmortal();
1267 sv_setref_pv(ST(argvi++),"intPtr", (void *) _result);
1271 XS(_wrap_icallangbind_free_array) {
1278 if ((items < 1) || (items > 1))
1279 croak("Usage: icallangbind_free_array(array);");
1280 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"intPtr")) {
1281 croak("Type error in argument 1 of icallangbind_free_array. Expected intPtr.");
1284 icallangbind_free_array(_arg0);
1288 XS(_wrap_icallangbind_access_array) {
1297 if ((items < 2) || (items > 2))
1298 croak("Usage: icallangbind_access_array(array,index);");
1299 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"intPtr")) {
1300 croak("Type error in argument 1 of icallangbind_access_array. Expected intPtr.");
1303 _arg1 = (int )SvIV(ST(1));
1304 _result = (int )icallangbind_access_array(_arg0,_arg1);
1305 ST(argvi) = sv_newmortal();
1306 sv_setiv(ST(argvi++),(IV) _result);
1310 XS(_wrap_icalrecur_expand_recurrence) {
1321 if ((items < 4) || (items > 4))
1322 croak("Usage: icalrecur_expand_recurrence(rule,start,count,array);");
1323 _arg0 = (char *) SvPV(ST(0),na);
1324 _arg1 = (int )SvIV(ST(1));
1325 _arg2 = (int )SvIV(ST(2));
1326 if (SWIG_GetPtr(ST(3),(void **) &_arg3,"intPtr")) {
1327 croak("Type error in argument 4 of icalrecur_expand_recurrence. Expected intPtr.");
1330 _result = (int )icalrecur_expand_recurrence(_arg0,_arg1,_arg2,_arg3);
1331 ST(argvi) = sv_newmortal();
1332 sv_setiv(ST(argvi++),(IV) _result);
1336 XS(_wrap_icallangbind_get_first_property) {
1338 icalproperty * _result;
1339 icalcomponent * _arg0;
1345 if ((items < 2) || (items > 2))
1346 croak("Usage: icallangbind_get_first_property(c,prop);");
1347 if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) {
1348 croak("Type error in argument 1 of icallangbind_get_first_property. Expected icalcomponentPtr.");
1351 _arg1 = (char *) SvPV(ST(1),na);
1352 _result = (icalproperty *)icallangbind_get_first_property(_arg0,_arg1);
1353 ST(argvi) = sv_newmortal();
1354 sv_setref_pv(ST(argvi++),"icalpropertyPtr", (void *) _result);
1358 XS(_wrap_icallangbind_get_next_property) {
1360 icalproperty * _result;
1361 icalcomponent * _arg0;
1367 if ((items < 2) || (items > 2))
1368 croak("Usage: icallangbind_get_next_property(c,prop);");
1369 if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) {
1370 croak("Type error in argument 1 of icallangbind_get_next_property. Expected icalcomponentPtr.");
1373 _arg1 = (char *) SvPV(ST(1),na);
1374 _result = (icalproperty *)icallangbind_get_next_property(_arg0,_arg1);
1375 ST(argvi) = sv_newmortal();
1376 sv_setref_pv(ST(argvi++),"icalpropertyPtr", (void *) _result);
1380 XS(_wrap_icallangbind_get_first_component) {
1382 icalcomponent * _result;
1383 icalcomponent * _arg0;
1389 if ((items < 2) || (items > 2))
1390 croak("Usage: icallangbind_get_first_component(c,comp);");
1391 if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) {
1392 croak("Type error in argument 1 of icallangbind_get_first_component. Expected icalcomponentPtr.");
1395 _arg1 = (char *) SvPV(ST(1),na);
1396 _result = (icalcomponent *)icallangbind_get_first_component(_arg0,_arg1);
1397 ST(argvi) = sv_newmortal();
1398 sv_setref_pv(ST(argvi++),"icalcomponentPtr", (void *) _result);
1402 XS(_wrap_icallangbind_get_next_component) {
1404 icalcomponent * _result;
1405 icalcomponent * _arg0;
1411 if ((items < 2) || (items > 2))
1412 croak("Usage: icallangbind_get_next_component(c,comp);");
1413 if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) {
1414 croak("Type error in argument 1 of icallangbind_get_next_component. Expected icalcomponentPtr.");
1417 _arg1 = (char *) SvPV(ST(1),na);
1418 _result = (icalcomponent *)icallangbind_get_next_component(_arg0,_arg1);
1419 ST(argvi) = sv_newmortal();
1420 sv_setref_pv(ST(argvi++),"icalcomponentPtr", (void *) _result);
1424 XS(_wrap_icallangbind_property_eval_string) {
1427 icalproperty * _arg0;
1433 if ((items < 2) || (items > 2))
1434 croak("Usage: icallangbind_property_eval_string(prop,sep);");
1435 if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) {
1436 croak("Type error in argument 1 of icallangbind_property_eval_string. Expected icalpropertyPtr.");
1439 _arg1 = (char *) SvPV(ST(1),na);
1440 _result = (char *)icallangbind_property_eval_string(_arg0,_arg1);
1441 ST(argvi) = sv_newmortal();
1442 sv_setpv((SV*)ST(argvi++),(char *) _result);
1446 XS(_wrap_icaltime_from_timet) {
1448 struct icaltimetype * _result;
1455 if ((items < 2) || (items > 2))
1456 croak("Usage: icaltime_from_timet(v,is_date);");
1457 _arg0 = (int )SvIV(ST(0));
1458 _arg1 = (int )SvIV(ST(1));
1459 _result = (struct icaltimetype *) malloc(sizeof(struct icaltimetype ));
1460 *(_result) = icaltime_from_timet(_arg0,_arg1);
1461 ST(argvi) = sv_newmortal();
1462 sv_setref_pv(ST(argvi++),"struct icaltimetypePtr", (void *) _result);
1466 XS(_wrap_icaltime_as_timet) {
1469 struct icaltimetype * _arg0;
1474 if ((items < 1) || (items > 1))
1475 croak("Usage: icaltime_as_timet(struct icaltimetype *);");
1476 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) {
1477 croak("Type error in argument 1 of icaltime_as_timet. Expected struct icaltimetypePtr.");
1480 _result = (int )icaltime_as_timet(*_arg0);
1481 ST(argvi) = sv_newmortal();
1482 sv_setiv(ST(argvi++),(IV) _result);
1486 XS(_wrap_icaltime_as_ical_string) {
1489 struct icaltimetype * _arg0;
1494 if ((items < 1) || (items > 1))
1495 croak("Usage: icaltime_as_ical_string(tt);");
1496 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) {
1497 croak("Type error in argument 1 of icaltime_as_ical_string. Expected struct icaltimetypePtr.");
1500 _result = (char *)icaltime_as_ical_string(*_arg0);
1501 ST(argvi) = sv_newmortal();
1502 sv_setpv((SV*)ST(argvi++),(char *) _result);
1506 XS(_wrap_icaltime_from_string) {
1508 struct icaltimetype * _result;
1514 if ((items < 1) || (items > 1))
1515 croak("Usage: icaltime_from_string(str);");
1516 _arg0 = (char *) SvPV(ST(0),na);
1517 _result = (struct icaltimetype *) malloc(sizeof(struct icaltimetype ));
1518 *(_result) = icaltime_from_string(_arg0);
1519 ST(argvi) = sv_newmortal();
1520 sv_setref_pv(ST(argvi++),"struct icaltimetypePtr", (void *) _result);
1524 XS(_wrap_icaltime_utc_offset) {
1527 struct icaltimetype * _arg0;
1533 if ((items < 2) || (items > 2))
1534 croak("Usage: icaltime_utc_offset(tt,tzid);");
1535 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) {
1536 croak("Type error in argument 1 of icaltime_utc_offset. Expected struct icaltimetypePtr.");
1539 _arg1 = (char *) SvPV(ST(1),na);
1540 _result = (int )icaltime_utc_offset(*_arg0,_arg1);
1541 ST(argvi) = sv_newmortal();
1542 sv_setiv(ST(argvi++),(IV) _result);
1546 XS(_wrap_icaltime_as_utc) {
1548 struct icaltimetype * _result;
1549 struct icaltimetype * _arg0;
1555 if ((items < 2) || (items > 2))
1556 croak("Usage: icaltime_as_utc(tt,tzid);");
1557 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) {
1558 croak("Type error in argument 1 of icaltime_as_utc. Expected struct icaltimetypePtr.");
1561 _arg1 = (char *) SvPV(ST(1),na);
1562 _result = (struct icaltimetype *) malloc(sizeof(struct icaltimetype ));
1563 *(_result) = icaltime_as_utc(*_arg0,_arg1);
1564 ST(argvi) = sv_newmortal();
1565 sv_setref_pv(ST(argvi++),"struct icaltimetypePtr", (void *) _result);
1569 XS(_wrap_icaltime_as_zone) {
1571 struct icaltimetype * _result;
1572 struct icaltimetype * _arg0;
1578 if ((items < 2) || (items > 2))
1579 croak("Usage: icaltime_as_zone(tt,tzid);");
1580 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) {
1581 croak("Type error in argument 1 of icaltime_as_zone. Expected struct icaltimetypePtr.");
1584 _arg1 = (char *) SvPV(ST(1),na);
1585 _result = (struct icaltimetype *) malloc(sizeof(struct icaltimetype ));
1586 *(_result) = icaltime_as_zone(*_arg0,_arg1);
1587 ST(argvi) = sv_newmortal();
1588 sv_setref_pv(ST(argvi++),"struct icaltimetypePtr", (void *) _result);
1592 XS(_wrap_icaltime_null_time) {
1594 struct icaltimetype * _result;
1599 if ((items < 0) || (items > 0))
1600 croak("Usage: icaltime_null_time();");
1601 _result = (struct icaltimetype *) malloc(sizeof(struct icaltimetype ));
1602 *(_result) = icaltime_null_time();
1603 ST(argvi) = sv_newmortal();
1604 sv_setref_pv(ST(argvi++),"struct icaltimetypePtr", (void *) _result);
1608 XS(_wrap_icaltime_is_null_time) {
1611 struct icaltimetype * _arg0;
1616 if ((items < 1) || (items > 1))
1617 croak("Usage: icaltime_is_null_time(t);");
1618 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) {
1619 croak("Type error in argument 1 of icaltime_is_null_time. Expected struct icaltimetypePtr.");
1622 _result = (int )icaltime_is_null_time(*_arg0);
1623 ST(argvi) = sv_newmortal();
1624 sv_setiv(ST(argvi++),(IV) _result);
1628 XS(_wrap_icaltime_is_valid_time) {
1631 struct icaltimetype * _arg0;
1636 if ((items < 1) || (items > 1))
1637 croak("Usage: icaltime_is_valid_time(t);");
1638 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) {
1639 croak("Type error in argument 1 of icaltime_is_valid_time. Expected struct icaltimetypePtr.");
1642 _result = (int )icaltime_is_valid_time(*_arg0);
1643 ST(argvi) = sv_newmortal();
1644 sv_setiv(ST(argvi++),(IV) _result);
1648 XS(_wrap_icaltime_normalize) {
1650 struct icaltimetype * _result;
1651 struct icaltimetype * _arg0;
1656 if ((items < 1) || (items > 1))
1657 croak("Usage: icaltime_normalize(t);");
1658 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) {
1659 croak("Type error in argument 1 of icaltime_normalize. Expected struct icaltimetypePtr.");
1662 _result = (struct icaltimetype *) malloc(sizeof(struct icaltimetype ));
1663 *(_result) = icaltime_normalize(*_arg0);
1664 ST(argvi) = sv_newmortal();
1665 sv_setref_pv(ST(argvi++),"struct icaltimetypePtr", (void *) _result);
1669 XS(_wrap_icaltime_day_of_year) {
1672 struct icaltimetype * _arg0;
1677 if ((items < 1) || (items > 1))
1678 croak("Usage: icaltime_day_of_year(t);");
1679 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) {
1680 croak("Type error in argument 1 of icaltime_day_of_year. Expected struct icaltimetypePtr.");
1683 _result = (short )icaltime_day_of_year(*_arg0);
1684 ST(argvi) = sv_newmortal();
1685 sv_setiv(ST(argvi++),(IV) _result);
1689 XS(_wrap_icaltime_from_day_of_year) {
1691 struct icaltimetype * _result;
1698 if ((items < 2) || (items > 2))
1699 croak("Usage: icaltime_from_day_of_year(doy,year);");
1700 _arg0 = (short )SvIV(ST(0));
1701 _arg1 = (short )SvIV(ST(1));
1702 _result = (struct icaltimetype *) malloc(sizeof(struct icaltimetype ));
1703 *(_result) = icaltime_from_day_of_year(_arg0,_arg1);
1704 ST(argvi) = sv_newmortal();
1705 sv_setref_pv(ST(argvi++),"struct icaltimetypePtr", (void *) _result);
1709 XS(_wrap_icaltime_day_of_week) {
1712 struct icaltimetype * _arg0;
1717 if ((items < 1) || (items > 1))
1718 croak("Usage: icaltime_day_of_week(t);");
1719 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) {
1720 croak("Type error in argument 1 of icaltime_day_of_week. Expected struct icaltimetypePtr.");
1723 _result = (short )icaltime_day_of_week(*_arg0);
1724 ST(argvi) = sv_newmortal();
1725 sv_setiv(ST(argvi++),(IV) _result);
1729 XS(_wrap_icaltime_start_doy_of_week) {
1732 struct icaltimetype * _arg0;
1737 if ((items < 1) || (items > 1))
1738 croak("Usage: icaltime_start_doy_of_week(t);");
1739 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) {
1740 croak("Type error in argument 1 of icaltime_start_doy_of_week. Expected struct icaltimetypePtr.");
1743 _result = (short )icaltime_start_doy_of_week(*_arg0);
1744 ST(argvi) = sv_newmortal();
1745 sv_setiv(ST(argvi++),(IV) _result);
1749 XS(_wrap_icaltime_as_ctime) {
1752 struct icaltimetype * _arg0;
1757 if ((items < 1) || (items > 1))
1758 croak("Usage: icaltime_as_ctime(struct icaltimetype *);");
1759 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) {
1760 croak("Type error in argument 1 of icaltime_as_ctime. Expected struct icaltimetypePtr.");
1763 _result = (char *)icaltime_as_ctime(*_arg0);
1764 ST(argvi) = sv_newmortal();
1765 sv_setpv((SV*)ST(argvi++),(char *) _result);
1769 XS(_wrap_icaltime_week_number) {
1772 struct icaltimetype * _arg0;
1777 if ((items < 1) || (items > 1))
1778 croak("Usage: icaltime_week_number(t);");
1779 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) {
1780 croak("Type error in argument 1 of icaltime_week_number. Expected struct icaltimetypePtr.");
1783 _result = (short )icaltime_week_number(*_arg0);
1784 ST(argvi) = sv_newmortal();
1785 sv_setiv(ST(argvi++),(IV) _result);
1789 XS(_wrap_icaltime_compare) {
1792 struct icaltimetype * _arg0;
1793 struct icaltimetype * _arg1;
1798 if ((items < 2) || (items > 2))
1799 croak("Usage: icaltime_compare(a,b);");
1800 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) {
1801 croak("Type error in argument 1 of icaltime_compare. Expected struct icaltimetypePtr.");
1804 if (SWIG_GetPtr(ST(1),(void **) &_arg1,"struct icaltimetypePtr")) {
1805 croak("Type error in argument 2 of icaltime_compare. Expected struct icaltimetypePtr.");
1808 _result = (int )icaltime_compare(*_arg0,*_arg1);
1809 ST(argvi) = sv_newmortal();
1810 sv_setiv(ST(argvi++),(IV) _result);
1814 XS(_wrap_icaltime_compare_date_only) {
1817 struct icaltimetype * _arg0;
1818 struct icaltimetype * _arg1;
1823 if ((items < 2) || (items > 2))
1824 croak("Usage: icaltime_compare_date_only(a,b);");
1825 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) {
1826 croak("Type error in argument 1 of icaltime_compare_date_only. Expected struct icaltimetypePtr.");
1829 if (SWIG_GetPtr(ST(1),(void **) &_arg1,"struct icaltimetypePtr")) {
1830 croak("Type error in argument 2 of icaltime_compare_date_only. Expected struct icaltimetypePtr.");
1833 _result = (int )icaltime_compare_date_only(*_arg0,*_arg1);
1834 ST(argvi) = sv_newmortal();
1835 sv_setiv(ST(argvi++),(IV) _result);
1839 XS(_wrap_icaltime_days_in_month) {
1848 if ((items < 2) || (items > 2))
1849 croak("Usage: icaltime_days_in_month(month,year);");
1850 _arg0 = (short )SvIV(ST(0));
1851 _arg1 = (short )SvIV(ST(1));
1852 _result = (short )icaltime_days_in_month(_arg0,_arg1);
1853 ST(argvi) = sv_newmortal();
1854 sv_setiv(ST(argvi++),(IV) _result);
1858 XS(_wrap_icaldurationtype_from_int) {
1860 struct icaldurationtype * _result;
1866 if ((items < 1) || (items > 1))
1867 croak("Usage: icaldurationtype_from_int(t);");
1868 _arg0 = (int )SvIV(ST(0));
1869 _result = (struct icaldurationtype *) malloc(sizeof(struct icaldurationtype ));
1870 *(_result) = icaldurationtype_from_int(_arg0);
1871 ST(argvi) = sv_newmortal();
1872 sv_setref_pv(ST(argvi++),"struct icaldurationtypePtr", (void *) _result);
1876 XS(_wrap_icaldurationtype_from_string) {
1878 struct icaldurationtype * _result;
1884 if ((items < 1) || (items > 1))
1885 croak("Usage: icaldurationtype_from_string(char *);");
1886 _arg0 = (char *) SvPV(ST(0),na);
1887 _result = (struct icaldurationtype *) malloc(sizeof(struct icaldurationtype ));
1888 *(_result) = icaldurationtype_from_string(_arg0);
1889 ST(argvi) = sv_newmortal();
1890 sv_setref_pv(ST(argvi++),"struct icaldurationtypePtr", (void *) _result);
1894 XS(_wrap_icaldurationtype_as_int) {
1897 struct icaldurationtype * _arg0;
1902 if ((items < 1) || (items > 1))
1903 croak("Usage: icaldurationtype_as_int(duration);");
1904 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaldurationtypePtr")) {
1905 croak("Type error in argument 1 of icaldurationtype_as_int. Expected struct icaldurationtypePtr.");
1908 _result = (int )icaldurationtype_as_int(*_arg0);
1909 ST(argvi) = sv_newmortal();
1910 sv_setiv(ST(argvi++),(IV) _result);
1914 XS(_wrap_icaldurationtype_as_ical_string) {
1917 struct icaldurationtype * _arg0;
1922 if ((items < 1) || (items > 1))
1923 croak("Usage: icaldurationtype_as_ical_string(d);");
1924 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaldurationtypePtr")) {
1925 croak("Type error in argument 1 of icaldurationtype_as_ical_string. Expected struct icaldurationtypePtr.");
1928 _result = (char *)icaldurationtype_as_ical_string(*_arg0);
1929 ST(argvi) = sv_newmortal();
1930 sv_setpv((SV*)ST(argvi++),(char *) _result);
1934 XS(_wrap_icaldurationtype_null_duration) {
1936 struct icaldurationtype * _result;
1941 if ((items < 0) || (items > 0))
1942 croak("Usage: icaldurationtype_null_duration();");
1943 _result = (struct icaldurationtype *) malloc(sizeof(struct icaldurationtype ));
1944 *(_result) = icaldurationtype_null_duration();
1945 ST(argvi) = sv_newmortal();
1946 sv_setref_pv(ST(argvi++),"struct icaldurationtypePtr", (void *) _result);
1950 XS(_wrap_icaldurationtype_is_null_duration) {
1953 struct icaldurationtype * _arg0;
1958 if ((items < 1) || (items > 1))
1959 croak("Usage: icaldurationtype_is_null_duration(d);");
1960 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaldurationtypePtr")) {
1961 croak("Type error in argument 1 of icaldurationtype_is_null_duration. Expected struct icaldurationtypePtr.");
1964 _result = (int )icaldurationtype_is_null_duration(*_arg0);
1965 ST(argvi) = sv_newmortal();
1966 sv_setiv(ST(argvi++),(IV) _result);
1970 XS(_wrap_icaltime_add) {
1972 struct icaltimetype * _result;
1973 struct icaltimetype * _arg0;
1974 struct icaldurationtype * _arg1;
1979 if ((items < 2) || (items > 2))
1980 croak("Usage: icaltime_add(t,d);");
1981 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) {
1982 croak("Type error in argument 1 of icaltime_add. Expected struct icaltimetypePtr.");
1985 if (SWIG_GetPtr(ST(1),(void **) &_arg1,"struct icaldurationtypePtr")) {
1986 croak("Type error in argument 2 of icaltime_add. Expected struct icaldurationtypePtr.");
1989 _result = (struct icaltimetype *) malloc(sizeof(struct icaltimetype ));
1990 *(_result) = icaltime_add(*_arg0,*_arg1);
1991 ST(argvi) = sv_newmortal();
1992 sv_setref_pv(ST(argvi++),"struct icaltimetypePtr", (void *) _result);
1996 XS(_wrap_icaltime_subtract) {
1998 struct icaldurationtype * _result;
1999 struct icaltimetype * _arg0;
2000 struct icaltimetype * _arg1;
2005 if ((items < 2) || (items > 2))
2006 croak("Usage: icaltime_subtract(t1,t2);");
2007 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) {
2008 croak("Type error in argument 1 of icaltime_subtract. Expected struct icaltimetypePtr.");
2011 if (SWIG_GetPtr(ST(1),(void **) &_arg1,"struct icaltimetypePtr")) {
2012 croak("Type error in argument 2 of icaltime_subtract. Expected struct icaltimetypePtr.");
2015 _result = (struct icaldurationtype *) malloc(sizeof(struct icaldurationtype ));
2016 *(_result) = icaltime_subtract(*_arg0,*_arg1);
2017 ST(argvi) = sv_newmortal();
2018 sv_setref_pv(ST(argvi++),"struct icaldurationtypePtr", (void *) _result);
2022 XS(_wrap_icalperiodtype_from_string) {
2024 struct icalperiodtype * _result;
2030 if ((items < 1) || (items > 1))
2031 croak("Usage: icalperiodtype_from_string(str);");
2032 _arg0 = (char *) SvPV(ST(0),na);
2033 _result = (struct icalperiodtype *) malloc(sizeof(struct icalperiodtype ));
2034 *(_result) = icalperiodtype_from_string(_arg0);
2035 ST(argvi) = sv_newmortal();
2036 sv_setref_pv(ST(argvi++),"struct icalperiodtypePtr", (void *) _result);
2040 XS(_wrap_icalperiodtype_as_ical_string) {
2043 struct icalperiodtype * _arg0;
2048 if ((items < 1) || (items > 1))
2049 croak("Usage: icalperiodtype_as_ical_string(p);");
2050 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icalperiodtypePtr")) {
2051 croak("Type error in argument 1 of icalperiodtype_as_ical_string. Expected struct icalperiodtypePtr.");
2054 _result = (char *)icalperiodtype_as_ical_string(*_arg0);
2055 ST(argvi) = sv_newmortal();
2056 sv_setpv((SV*)ST(argvi++),(char *) _result);
2060 XS(_wrap_icalperiodtype_null_period) {
2062 struct icalperiodtype * _result;
2067 if ((items < 0) || (items > 0))
2068 croak("Usage: icalperiodtype_null_period();");
2069 _result = (struct icalperiodtype *) malloc(sizeof(struct icalperiodtype ));
2070 *(_result) = icalperiodtype_null_period();
2071 ST(argvi) = sv_newmortal();
2072 sv_setref_pv(ST(argvi++),"struct icalperiodtypePtr", (void *) _result);
2076 XS(_wrap_icalperiodtype_is_null_period) {
2079 struct icalperiodtype * _arg0;
2084 if ((items < 1) || (items > 1))
2085 croak("Usage: icalperiodtype_is_null_period(p);");
2086 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icalperiodtypePtr")) {
2087 croak("Type error in argument 1 of icalperiodtype_is_null_period. Expected struct icalperiodtypePtr.");
2090 _result = (int )icalperiodtype_is_null_period(*_arg0);
2091 ST(argvi) = sv_newmortal();
2092 sv_setiv(ST(argvi++),(IV) _result);
2096 XS(_wrap_icalperiodtype_is_valid_period) {
2099 struct icalperiodtype * _arg0;
2104 if ((items < 1) || (items > 1))
2105 croak("Usage: icalperiodtype_is_valid_period(p);");
2106 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icalperiodtypePtr")) {
2107 croak("Type error in argument 1 of icalperiodtype_is_valid_period. Expected struct icalperiodtypePtr.");
2110 _result = (int )icalperiodtype_is_valid_period(*_arg0);
2111 ST(argvi) = sv_newmortal();
2112 sv_setiv(ST(argvi++),(IV) _result);
2116 #define icaltimetype_year_set(_swigobj,_swigval) (_swigobj->year = _swigval,_swigval)
2117 XS(_wrap_icaltimetype_year_set) {
2120 struct icaltimetype * _arg0;
2126 if ((items < 2) || (items > 2))
2127 croak("Usage: icaltimetype_year_set(struct icaltimetype *,int );");
2128 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) {
2129 croak("Type error in argument 1 of icaltimetype_year_set. Expected struct icaltimetypePtr.");
2132 _arg1 = (int )SvIV(ST(1));
2133 _result = (int )icaltimetype_year_set(_arg0,_arg1);
2134 ST(argvi) = sv_newmortal();
2135 sv_setiv(ST(argvi++),(IV) _result);
2139 #define icaltimetype_year_get(_swigobj) ((int ) _swigobj->year)
2140 XS(_wrap_icaltimetype_year_get) {
2143 struct icaltimetype * _arg0;
2148 if ((items < 1) || (items > 1))
2149 croak("Usage: icaltimetype_year_get(struct icaltimetype *);");
2150 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) {
2151 croak("Type error in argument 1 of icaltimetype_year_get. Expected struct icaltimetypePtr.");
2154 _result = (int )icaltimetype_year_get(_arg0);
2155 ST(argvi) = sv_newmortal();
2156 sv_setiv(ST(argvi++),(IV) _result);
2160 #define icaltimetype_month_set(_swigobj,_swigval) (_swigobj->month = _swigval,_swigval)
2161 XS(_wrap_icaltimetype_month_set) {
2164 struct icaltimetype * _arg0;
2170 if ((items < 2) || (items > 2))
2171 croak("Usage: icaltimetype_month_set(struct icaltimetype *,int );");
2172 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) {
2173 croak("Type error in argument 1 of icaltimetype_month_set. Expected struct icaltimetypePtr.");
2176 _arg1 = (int )SvIV(ST(1));
2177 _result = (int )icaltimetype_month_set(_arg0,_arg1);
2178 ST(argvi) = sv_newmortal();
2179 sv_setiv(ST(argvi++),(IV) _result);
2183 #define icaltimetype_month_get(_swigobj) ((int ) _swigobj->month)
2184 XS(_wrap_icaltimetype_month_get) {
2187 struct icaltimetype * _arg0;
2192 if ((items < 1) || (items > 1))
2193 croak("Usage: icaltimetype_month_get(struct icaltimetype *);");
2194 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) {
2195 croak("Type error in argument 1 of icaltimetype_month_get. Expected struct icaltimetypePtr.");
2198 _result = (int )icaltimetype_month_get(_arg0);
2199 ST(argvi) = sv_newmortal();
2200 sv_setiv(ST(argvi++),(IV) _result);
2204 #define icaltimetype_day_set(_swigobj,_swigval) (_swigobj->day = _swigval,_swigval)
2205 XS(_wrap_icaltimetype_day_set) {
2208 struct icaltimetype * _arg0;
2214 if ((items < 2) || (items > 2))
2215 croak("Usage: icaltimetype_day_set(struct icaltimetype *,int );");
2216 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) {
2217 croak("Type error in argument 1 of icaltimetype_day_set. Expected struct icaltimetypePtr.");
2220 _arg1 = (int )SvIV(ST(1));
2221 _result = (int )icaltimetype_day_set(_arg0,_arg1);
2222 ST(argvi) = sv_newmortal();
2223 sv_setiv(ST(argvi++),(IV) _result);
2227 #define icaltimetype_day_get(_swigobj) ((int ) _swigobj->day)
2228 XS(_wrap_icaltimetype_day_get) {
2231 struct icaltimetype * _arg0;
2236 if ((items < 1) || (items > 1))
2237 croak("Usage: icaltimetype_day_get(struct icaltimetype *);");
2238 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) {
2239 croak("Type error in argument 1 of icaltimetype_day_get. Expected struct icaltimetypePtr.");
2242 _result = (int )icaltimetype_day_get(_arg0);
2243 ST(argvi) = sv_newmortal();
2244 sv_setiv(ST(argvi++),(IV) _result);
2248 #define icaltimetype_hour_set(_swigobj,_swigval) (_swigobj->hour = _swigval,_swigval)
2249 XS(_wrap_icaltimetype_hour_set) {
2252 struct icaltimetype * _arg0;
2258 if ((items < 2) || (items > 2))
2259 croak("Usage: icaltimetype_hour_set(struct icaltimetype *,int );");
2260 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) {
2261 croak("Type error in argument 1 of icaltimetype_hour_set. Expected struct icaltimetypePtr.");
2264 _arg1 = (int )SvIV(ST(1));
2265 _result = (int )icaltimetype_hour_set(_arg0,_arg1);
2266 ST(argvi) = sv_newmortal();
2267 sv_setiv(ST(argvi++),(IV) _result);
2271 #define icaltimetype_hour_get(_swigobj) ((int ) _swigobj->hour)
2272 XS(_wrap_icaltimetype_hour_get) {
2275 struct icaltimetype * _arg0;
2280 if ((items < 1) || (items > 1))
2281 croak("Usage: icaltimetype_hour_get(struct icaltimetype *);");
2282 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) {
2283 croak("Type error in argument 1 of icaltimetype_hour_get. Expected struct icaltimetypePtr.");
2286 _result = (int )icaltimetype_hour_get(_arg0);
2287 ST(argvi) = sv_newmortal();
2288 sv_setiv(ST(argvi++),(IV) _result);
2292 #define icaltimetype_minute_set(_swigobj,_swigval) (_swigobj->minute = _swigval,_swigval)
2293 XS(_wrap_icaltimetype_minute_set) {
2296 struct icaltimetype * _arg0;
2302 if ((items < 2) || (items > 2))
2303 croak("Usage: icaltimetype_minute_set(struct icaltimetype *,int );");
2304 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) {
2305 croak("Type error in argument 1 of icaltimetype_minute_set. Expected struct icaltimetypePtr.");
2308 _arg1 = (int )SvIV(ST(1));
2309 _result = (int )icaltimetype_minute_set(_arg0,_arg1);
2310 ST(argvi) = sv_newmortal();
2311 sv_setiv(ST(argvi++),(IV) _result);
2315 #define icaltimetype_minute_get(_swigobj) ((int ) _swigobj->minute)
2316 XS(_wrap_icaltimetype_minute_get) {
2319 struct icaltimetype * _arg0;
2324 if ((items < 1) || (items > 1))
2325 croak("Usage: icaltimetype_minute_get(struct icaltimetype *);");
2326 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) {
2327 croak("Type error in argument 1 of icaltimetype_minute_get. Expected struct icaltimetypePtr.");
2330 _result = (int )icaltimetype_minute_get(_arg0);
2331 ST(argvi) = sv_newmortal();
2332 sv_setiv(ST(argvi++),(IV) _result);
2336 #define icaltimetype_second_set(_swigobj,_swigval) (_swigobj->second = _swigval,_swigval)
2337 XS(_wrap_icaltimetype_second_set) {
2340 struct icaltimetype * _arg0;
2346 if ((items < 2) || (items > 2))
2347 croak("Usage: icaltimetype_second_set(struct icaltimetype *,int );");
2348 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) {
2349 croak("Type error in argument 1 of icaltimetype_second_set. Expected struct icaltimetypePtr.");
2352 _arg1 = (int )SvIV(ST(1));
2353 _result = (int )icaltimetype_second_set(_arg0,_arg1);
2354 ST(argvi) = sv_newmortal();
2355 sv_setiv(ST(argvi++),(IV) _result);
2359 #define icaltimetype_second_get(_swigobj) ((int ) _swigobj->second)
2360 XS(_wrap_icaltimetype_second_get) {
2363 struct icaltimetype * _arg0;
2368 if ((items < 1) || (items > 1))
2369 croak("Usage: icaltimetype_second_get(struct icaltimetype *);");
2370 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) {
2371 croak("Type error in argument 1 of icaltimetype_second_get. Expected struct icaltimetypePtr.");
2374 _result = (int )icaltimetype_second_get(_arg0);
2375 ST(argvi) = sv_newmortal();
2376 sv_setiv(ST(argvi++),(IV) _result);
2380 #define icaltimetype_is_utc_set(_swigobj,_swigval) (_swigobj->is_utc = _swigval,_swigval)
2381 XS(_wrap_icaltimetype_is_utc_set) {
2384 struct icaltimetype * _arg0;
2390 if ((items < 2) || (items > 2))
2391 croak("Usage: icaltimetype_is_utc_set(struct icaltimetype *,int );");
2392 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) {
2393 croak("Type error in argument 1 of icaltimetype_is_utc_set. Expected struct icaltimetypePtr.");
2396 _arg1 = (int )SvIV(ST(1));
2397 _result = (int )icaltimetype_is_utc_set(_arg0,_arg1);
2398 ST(argvi) = sv_newmortal();
2399 sv_setiv(ST(argvi++),(IV) _result);
2403 #define icaltimetype_is_utc_get(_swigobj) ((int ) _swigobj->is_utc)
2404 XS(_wrap_icaltimetype_is_utc_get) {
2407 struct icaltimetype * _arg0;
2412 if ((items < 1) || (items > 1))
2413 croak("Usage: icaltimetype_is_utc_get(struct icaltimetype *);");
2414 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) {
2415 croak("Type error in argument 1 of icaltimetype_is_utc_get. Expected struct icaltimetypePtr.");
2418 _result = (int )icaltimetype_is_utc_get(_arg0);
2419 ST(argvi) = sv_newmortal();
2420 sv_setiv(ST(argvi++),(IV) _result);
2424 #define icaltimetype_is_date_set(_swigobj,_swigval) (_swigobj->is_date = _swigval,_swigval)
2425 XS(_wrap_icaltimetype_is_date_set) {
2428 struct icaltimetype * _arg0;
2434 if ((items < 2) || (items > 2))
2435 croak("Usage: icaltimetype_is_date_set(struct icaltimetype *,int );");
2436 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) {
2437 croak("Type error in argument 1 of icaltimetype_is_date_set. Expected struct icaltimetypePtr.");
2440 _arg1 = (int )SvIV(ST(1));
2441 _result = (int )icaltimetype_is_date_set(_arg0,_arg1);
2442 ST(argvi) = sv_newmortal();
2443 sv_setiv(ST(argvi++),(IV) _result);
2447 #define icaltimetype_is_date_get(_swigobj) ((int ) _swigobj->is_date)
2448 XS(_wrap_icaltimetype_is_date_get) {
2451 struct icaltimetype * _arg0;
2456 if ((items < 1) || (items > 1))
2457 croak("Usage: icaltimetype_is_date_get(struct icaltimetype *);");
2458 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) {
2459 croak("Type error in argument 1 of icaltimetype_is_date_get. Expected struct icaltimetypePtr.");
2462 _result = (int )icaltimetype_is_date_get(_arg0);
2463 ST(argvi) = sv_newmortal();
2464 sv_setiv(ST(argvi++),(IV) _result);
2468 #define icaldurationtype_is_neg_set(_swigobj,_swigval) (_swigobj->is_neg = _swigval,_swigval)
2469 XS(_wrap_icaldurationtype_is_neg_set) {
2472 struct icaldurationtype * _arg0;
2478 if ((items < 2) || (items > 2))
2479 croak("Usage: icaldurationtype_is_neg_set(struct icaldurationtype *,int );");
2480 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaldurationtypePtr")) {
2481 croak("Type error in argument 1 of icaldurationtype_is_neg_set. Expected struct icaldurationtypePtr.");
2484 _arg1 = (int )SvIV(ST(1));
2485 _result = (int )icaldurationtype_is_neg_set(_arg0,_arg1);
2486 ST(argvi) = sv_newmortal();
2487 sv_setiv(ST(argvi++),(IV) _result);
2491 #define icaldurationtype_is_neg_get(_swigobj) ((int ) _swigobj->is_neg)
2492 XS(_wrap_icaldurationtype_is_neg_get) {
2495 struct icaldurationtype * _arg0;
2500 if ((items < 1) || (items > 1))
2501 croak("Usage: icaldurationtype_is_neg_get(struct icaldurationtype *);");
2502 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaldurationtypePtr")) {
2503 croak("Type error in argument 1 of icaldurationtype_is_neg_get. Expected struct icaldurationtypePtr.");
2506 _result = (int )icaldurationtype_is_neg_get(_arg0);
2507 ST(argvi) = sv_newmortal();
2508 sv_setiv(ST(argvi++),(IV) _result);
2512 #define icaldurationtype_days_set(_swigobj,_swigval) (_swigobj->days = _swigval,_swigval)
2513 XS(_wrap_icaldurationtype_days_set) {
2515 unsigned int _result;
2516 struct icaldurationtype * _arg0;
2522 if ((items < 2) || (items > 2))
2523 croak("Usage: icaldurationtype_days_set(struct icaldurationtype *,unsigned int );");
2524 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaldurationtypePtr")) {
2525 croak("Type error in argument 1 of icaldurationtype_days_set. Expected struct icaldurationtypePtr.");
2528 _arg1 = (unsigned int )SvIV(ST(1));
2529 _result = (unsigned int )icaldurationtype_days_set(_arg0,_arg1);
2530 ST(argvi) = sv_newmortal();
2531 sv_setiv(ST(argvi++),(IV) _result);
2535 #define icaldurationtype_days_get(_swigobj) ((unsigned int ) _swigobj->days)
2536 XS(_wrap_icaldurationtype_days_get) {
2538 unsigned int _result;
2539 struct icaldurationtype * _arg0;
2544 if ((items < 1) || (items > 1))
2545 croak("Usage: icaldurationtype_days_get(struct icaldurationtype *);");
2546 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaldurationtypePtr")) {
2547 croak("Type error in argument 1 of icaldurationtype_days_get. Expected struct icaldurationtypePtr.");
2550 _result = (unsigned int )icaldurationtype_days_get(_arg0);
2551 ST(argvi) = sv_newmortal();
2552 sv_setiv(ST(argvi++),(IV) _result);
2556 #define icaldurationtype_weeks_set(_swigobj,_swigval) (_swigobj->weeks = _swigval,_swigval)
2557 XS(_wrap_icaldurationtype_weeks_set) {
2559 unsigned int _result;
2560 struct icaldurationtype * _arg0;
2566 if ((items < 2) || (items > 2))
2567 croak("Usage: icaldurationtype_weeks_set(struct icaldurationtype *,unsigned int );");
2568 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaldurationtypePtr")) {
2569 croak("Type error in argument 1 of icaldurationtype_weeks_set. Expected struct icaldurationtypePtr.");
2572 _arg1 = (unsigned int )SvIV(ST(1));
2573 _result = (unsigned int )icaldurationtype_weeks_set(_arg0,_arg1);
2574 ST(argvi) = sv_newmortal();
2575 sv_setiv(ST(argvi++),(IV) _result);
2579 #define icaldurationtype_weeks_get(_swigobj) ((unsigned int ) _swigobj->weeks)
2580 XS(_wrap_icaldurationtype_weeks_get) {
2582 unsigned int _result;
2583 struct icaldurationtype * _arg0;
2588 if ((items < 1) || (items > 1))
2589 croak("Usage: icaldurationtype_weeks_get(struct icaldurationtype *);");
2590 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaldurationtypePtr")) {
2591 croak("Type error in argument 1 of icaldurationtype_weeks_get. Expected struct icaldurationtypePtr.");
2594 _result = (unsigned int )icaldurationtype_weeks_get(_arg0);
2595 ST(argvi) = sv_newmortal();
2596 sv_setiv(ST(argvi++),(IV) _result);
2600 #define icaldurationtype_hours_set(_swigobj,_swigval) (_swigobj->hours = _swigval,_swigval)
2601 XS(_wrap_icaldurationtype_hours_set) {
2603 unsigned int _result;
2604 struct icaldurationtype * _arg0;
2610 if ((items < 2) || (items > 2))
2611 croak("Usage: icaldurationtype_hours_set(struct icaldurationtype *,unsigned int );");
2612 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaldurationtypePtr")) {
2613 croak("Type error in argument 1 of icaldurationtype_hours_set. Expected struct icaldurationtypePtr.");
2616 _arg1 = (unsigned int )SvIV(ST(1));
2617 _result = (unsigned int )icaldurationtype_hours_set(_arg0,_arg1);
2618 ST(argvi) = sv_newmortal();
2619 sv_setiv(ST(argvi++),(IV) _result);
2623 #define icaldurationtype_hours_get(_swigobj) ((unsigned int ) _swigobj->hours)
2624 XS(_wrap_icaldurationtype_hours_get) {
2626 unsigned int _result;
2627 struct icaldurationtype * _arg0;
2632 if ((items < 1) || (items > 1))
2633 croak("Usage: icaldurationtype_hours_get(struct icaldurationtype *);");
2634 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaldurationtypePtr")) {
2635 croak("Type error in argument 1 of icaldurationtype_hours_get. Expected struct icaldurationtypePtr.");
2638 _result = (unsigned int )icaldurationtype_hours_get(_arg0);
2639 ST(argvi) = sv_newmortal();
2640 sv_setiv(ST(argvi++),(IV) _result);
2644 #define icaldurationtype_minutes_set(_swigobj,_swigval) (_swigobj->minutes = _swigval,_swigval)
2645 XS(_wrap_icaldurationtype_minutes_set) {
2647 unsigned int _result;
2648 struct icaldurationtype * _arg0;
2654 if ((items < 2) || (items > 2))
2655 croak("Usage: icaldurationtype_minutes_set(struct icaldurationtype *,unsigned int );");
2656 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaldurationtypePtr")) {
2657 croak("Type error in argument 1 of icaldurationtype_minutes_set. Expected struct icaldurationtypePtr.");
2660 _arg1 = (unsigned int )SvIV(ST(1));
2661 _result = (unsigned int )icaldurationtype_minutes_set(_arg0,_arg1);
2662 ST(argvi) = sv_newmortal();
2663 sv_setiv(ST(argvi++),(IV) _result);
2667 #define icaldurationtype_minutes_get(_swigobj) ((unsigned int ) _swigobj->minutes)
2668 XS(_wrap_icaldurationtype_minutes_get) {
2670 unsigned int _result;
2671 struct icaldurationtype * _arg0;
2676 if ((items < 1) || (items > 1))
2677 croak("Usage: icaldurationtype_minutes_get(struct icaldurationtype *);");
2678 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaldurationtypePtr")) {
2679 croak("Type error in argument 1 of icaldurationtype_minutes_get. Expected struct icaldurationtypePtr.");
2682 _result = (unsigned int )icaldurationtype_minutes_get(_arg0);
2683 ST(argvi) = sv_newmortal();
2684 sv_setiv(ST(argvi++),(IV) _result);
2688 #define icaldurationtype_seconds_set(_swigobj,_swigval) (_swigobj->seconds = _swigval,_swigval)
2689 XS(_wrap_icaldurationtype_seconds_set) {
2691 unsigned int _result;
2692 struct icaldurationtype * _arg0;
2698 if ((items < 2) || (items > 2))
2699 croak("Usage: icaldurationtype_seconds_set(struct icaldurationtype *,unsigned int );");
2700 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaldurationtypePtr")) {
2701 croak("Type error in argument 1 of icaldurationtype_seconds_set. Expected struct icaldurationtypePtr.");
2704 _arg1 = (unsigned int )SvIV(ST(1));
2705 _result = (unsigned int )icaldurationtype_seconds_set(_arg0,_arg1);
2706 ST(argvi) = sv_newmortal();
2707 sv_setiv(ST(argvi++),(IV) _result);
2711 #define icaldurationtype_seconds_get(_swigobj) ((unsigned int ) _swigobj->seconds)
2712 XS(_wrap_icaldurationtype_seconds_get) {
2714 unsigned int _result;
2715 struct icaldurationtype * _arg0;
2720 if ((items < 1) || (items > 1))
2721 croak("Usage: icaldurationtype_seconds_get(struct icaldurationtype *);");
2722 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaldurationtypePtr")) {
2723 croak("Type error in argument 1 of icaldurationtype_seconds_get. Expected struct icaldurationtypePtr.");
2726 _result = (unsigned int )icaldurationtype_seconds_get(_arg0);
2727 ST(argvi) = sv_newmortal();
2728 sv_setiv(ST(argvi++),(IV) _result);
2732 #define icalperiodtype_start_set(_swigobj,_swigval) (_swigobj->start = *(_swigval),_swigval)
2733 XS(_wrap_icalperiodtype_start_set) {
2735 struct icaltimetype * _result;
2736 struct icalperiodtype * _arg0;
2737 struct icaltimetype * _arg1;
2742 if ((items < 2) || (items > 2))
2743 croak("Usage: icalperiodtype_start_set(struct icalperiodtype *,struct icaltimetype *);");
2744 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icalperiodtypePtr")) {
2745 croak("Type error in argument 1 of icalperiodtype_start_set. Expected struct icalperiodtypePtr.");
2748 if (SWIG_GetPtr(ST(1),(void **) &_arg1,"struct icaltimetypePtr")) {
2749 croak("Type error in argument 2 of icalperiodtype_start_set. Expected struct icaltimetypePtr.");
2752 _result = (struct icaltimetype *)icalperiodtype_start_set(_arg0,_arg1);
2753 ST(argvi) = sv_newmortal();
2754 sv_setref_pv(ST(argvi++),"struct icaltimetypePtr", (void *) _result);
2758 #define icalperiodtype_start_get(_swigobj) (&_swigobj->start)
2759 XS(_wrap_icalperiodtype_start_get) {
2761 struct icaltimetype * _result;
2762 struct icalperiodtype * _arg0;
2767 if ((items < 1) || (items > 1))
2768 croak("Usage: icalperiodtype_start_get(struct icalperiodtype *);");
2769 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icalperiodtypePtr")) {
2770 croak("Type error in argument 1 of icalperiodtype_start_get. Expected struct icalperiodtypePtr.");
2773 _result = (struct icaltimetype *)icalperiodtype_start_get(_arg0);
2774 ST(argvi) = sv_newmortal();
2775 sv_setref_pv(ST(argvi++),"struct icaltimetypePtr", (void *) _result);
2779 #define icalperiodtype_end_set(_swigobj,_swigval) (_swigobj->end = *(_swigval),_swigval)
2780 XS(_wrap_icalperiodtype_end_set) {
2782 struct icaltimetype * _result;
2783 struct icalperiodtype * _arg0;
2784 struct icaltimetype * _arg1;
2789 if ((items < 2) || (items > 2))
2790 croak("Usage: icalperiodtype_end_set(struct icalperiodtype *,struct icaltimetype *);");
2791 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icalperiodtypePtr")) {
2792 croak("Type error in argument 1 of icalperiodtype_end_set. Expected struct icalperiodtypePtr.");
2795 if (SWIG_GetPtr(ST(1),(void **) &_arg1,"struct icaltimetypePtr")) {
2796 croak("Type error in argument 2 of icalperiodtype_end_set. Expected struct icaltimetypePtr.");
2799 _result = (struct icaltimetype *)icalperiodtype_end_set(_arg0,_arg1);
2800 ST(argvi) = sv_newmortal();
2801 sv_setref_pv(ST(argvi++),"struct icaltimetypePtr", (void *) _result);
2805 #define icalperiodtype_end_get(_swigobj) (&_swigobj->end)
2806 XS(_wrap_icalperiodtype_end_get) {
2808 struct icaltimetype * _result;
2809 struct icalperiodtype * _arg0;
2814 if ((items < 1) || (items > 1))
2815 croak("Usage: icalperiodtype_end_get(struct icalperiodtype *);");
2816 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icalperiodtypePtr")) {
2817 croak("Type error in argument 1 of icalperiodtype_end_get. Expected struct icalperiodtypePtr.");
2820 _result = (struct icaltimetype *)icalperiodtype_end_get(_arg0);
2821 ST(argvi) = sv_newmortal();
2822 sv_setref_pv(ST(argvi++),"struct icaltimetypePtr", (void *) _result);
2826 #define icalperiodtype_duration_set(_swigobj,_swigval) (_swigobj->duration = *(_swigval),_swigval)
2827 XS(_wrap_icalperiodtype_duration_set) {
2829 struct icaldurationtype * _result;
2830 struct icalperiodtype * _arg0;
2831 struct icaldurationtype * _arg1;
2836 if ((items < 2) || (items > 2))
2837 croak("Usage: icalperiodtype_duration_set(struct icalperiodtype *,struct icaldurationtype *);");
2838 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icalperiodtypePtr")) {
2839 croak("Type error in argument 1 of icalperiodtype_duration_set. Expected struct icalperiodtypePtr.");
2842 if (SWIG_GetPtr(ST(1),(void **) &_arg1,"struct icaldurationtypePtr")) {
2843 croak("Type error in argument 2 of icalperiodtype_duration_set. Expected struct icaldurationtypePtr.");
2846 _result = (struct icaldurationtype *)icalperiodtype_duration_set(_arg0,_arg1);
2847 ST(argvi) = sv_newmortal();
2848 sv_setref_pv(ST(argvi++),"struct icaldurationtypePtr", (void *) _result);
2852 #define icalperiodtype_duration_get(_swigobj) (&_swigobj->duration)
2853 XS(_wrap_icalperiodtype_duration_get) {
2855 struct icaldurationtype * _result;
2856 struct icalperiodtype * _arg0;
2861 if ((items < 1) || (items > 1))
2862 croak("Usage: icalperiodtype_duration_get(struct icalperiodtype *);");
2863 if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icalperiodtypePtr")) {
2864 croak("Type error in argument 1 of icalperiodtype_duration_get. Expected struct icalperiodtypePtr.");
2867 _result = (struct icaldurationtype *)icalperiodtype_duration_get(_arg0);
2868 ST(argvi) = sv_newmortal();
2869 sv_setref_pv(ST(argvi++),"struct icaldurationtypePtr", (void *) _result);
2873 XS(_wrap_perl5_Net__ICal__Libical_var_init) {
2876 cv = cv; items = items;
2877 swig_setiv("ICAL_BADARG_ERROR", (long) ICAL_BADARG_ERROR);
2878 swig_setiv("ICAL_NEWFAILED_ERROR", (long) ICAL_NEWFAILED_ERROR);
2879 swig_setiv("ICAL_MALFORMEDDATA_ERROR", (long) ICAL_MALFORMEDDATA_ERROR);
2880 swig_setiv("ICAL_PARSE_ERROR", (long) ICAL_PARSE_ERROR);
2881 swig_setiv("ICAL_INTERNAL_ERROR", (long) ICAL_INTERNAL_ERROR);
2882 swig_setiv("ICAL_FILE_ERROR", (long) ICAL_FILE_ERROR);
2883 swig_setiv("ICAL_ALLOCATION_ERROR", (long) ICAL_ALLOCATION_ERROR);
2884 swig_setiv("ICAL_USAGE_ERROR", (long) ICAL_USAGE_ERROR);
2885 swig_setiv("ICAL_NO_ERROR", (long) ICAL_NO_ERROR);
2886 swig_setiv("ICAL_UNKNOWN_ERROR", (long) ICAL_UNKNOWN_ERROR);
2887 swig_setiv("ICAL_ERROR_FATAL", (long) ICAL_ERROR_FATAL);
2888 swig_setiv("ICAL_ERROR_NONFATAL", (long) ICAL_ERROR_NONFATAL);
2889 swig_setiv("ICAL_ERROR_DEFAULT", (long) ICAL_ERROR_DEFAULT);
2890 swig_setiv("ICAL_ERROR_UNKNOWN", (long) ICAL_ERROR_UNKNOWN);
2891 swig_setpv("icaltimetype_zone", "icaltimetype::zone");
2897 XS(boot_Net__ICal__Libical) {
2899 char *file = __FILE__;
2900 cv = cv; items = items;
2901 newXS("Net::ICal::Libical::var_Net__ICal__Libical_init", _wrap_perl5_Net__ICal__Libical_var_init, file);
2902 newXS("Net::ICal::Libical::icalparser_parse_string", _wrap_icalparser_parse_string, file);
2903 newXS("Net::ICal::Libical::icalcomponent_new", _wrap_icalcomponent_new, file);
2904 newXS("Net::ICal::Libical::icalcomponent_new_clone", _wrap_icalcomponent_new_clone, file);
2905 newXS("Net::ICal::Libical::icalcomponent_new_from_string", _wrap_icalcomponent_new_from_string, file);
2906 newXS("Net::ICal::Libical::icalcomponent_as_ical_string", _wrap_icalcomponent_as_ical_string, file);
2907 newXS("Net::ICal::Libical::icalcomponent_free", _wrap_icalcomponent_free, file);
2908 newXS("Net::ICal::Libical::icalcomponent_count_errors", _wrap_icalcomponent_count_errors, file);
2909 newXS("Net::ICal::Libical::icalcomponent_strip_errors", _wrap_icalcomponent_strip_errors, file);
2910 newXS("Net::ICal::Libical::icalcomponent_convert_errors", _wrap_icalcomponent_convert_errors, file);
2911 newXS("Net::ICal::Libical::icalcomponent_get_current_property", _wrap_icalcomponent_get_current_property, file);
2912 newXS("Net::ICal::Libical::icalcomponent_get_first_property", _wrap_icalcomponent_get_first_property, file);
2913 newXS("Net::ICal::Libical::icalcomponent_get_next_property", _wrap_icalcomponent_get_next_property, file);
2914 newXS("Net::ICal::Libical::icalcomponent_get_current_component", _wrap_icalcomponent_get_current_component, file);
2915 newXS("Net::ICal::Libical::icalcomponent_get_first_component", _wrap_icalcomponent_get_first_component, file);
2916 newXS("Net::ICal::Libical::icalcomponent_get_next_component", _wrap_icalcomponent_get_next_component, file);
2917 newXS("Net::ICal::Libical::icalcomponent_add_property", _wrap_icalcomponent_add_property, file);
2918 newXS("Net::ICal::Libical::icalcomponent_remove_property", _wrap_icalcomponent_remove_property, file);
2919 newXS("Net::ICal::Libical::icalcomponent_get_parent", _wrap_icalcomponent_get_parent, file);
2920 newXS("Net::ICal::Libical::icalcomponent_isa", _wrap_icalcomponent_isa, file);
2921 newXS("Net::ICal::Libical::icalrestriction_check", _wrap_icalrestriction_check, file);
2922 newXS("Net::ICal::Libical::icalproperty_string_to_kind", _wrap_icalproperty_string_to_kind, file);
2923 newXS("Net::ICal::Libical::icalproperty_new", _wrap_icalproperty_new, file);
2924 newXS("Net::ICal::Libical::icalproperty_new_from_string", _wrap_icalproperty_new_from_string, file);
2925 newXS("Net::ICal::Libical::icalproperty_as_ical_string", _wrap_icalproperty_as_ical_string, file);
2926 newXS("Net::ICal::Libical::icalproperty_set_parameter_from_string", _wrap_icalproperty_set_parameter_from_string, file);
2927 newXS("Net::ICal::Libical::icalproperty_set_value_from_string", _wrap_icalproperty_set_value_from_string, file);
2928 newXS("Net::ICal::Libical::icalproperty_get_value_as_string", _wrap_icalproperty_get_value_as_string, file);
2929 newXS("Net::ICal::Libical::icalproperty_get_parameter_as_string", _wrap_icalproperty_get_parameter_as_string, file);
2930 newXS("Net::ICal::Libical::icalproperty_get_parent", _wrap_icalproperty_get_parent, file);
2931 newXS("Net::ICal::Libical::icalerror_set_error_state", _wrap_icalerror_set_error_state, file);
2932 newXS("Net::ICal::Libical::icalerror_get_error_state", _wrap_icalerror_get_error_state, file);
2933 newXS("Net::ICal::Libical::icalenum_property_kind_to_string", _wrap_icalenum_property_kind_to_string, file);
2934 newXS("Net::ICal::Libical::icalenum_string_to_property_kind", _wrap_icalenum_string_to_property_kind, file);
2935 newXS("Net::ICal::Libical::icalenum_value_kind_to_string", _wrap_icalenum_value_kind_to_string, file);
2936 newXS("Net::ICal::Libical::icalenum_parameter_kind_to_string", _wrap_icalenum_parameter_kind_to_string, file);
2937 newXS("Net::ICal::Libical::icalenum_string_to_parameter_kind", _wrap_icalenum_string_to_parameter_kind, file);
2938 newXS("Net::ICal::Libical::icalenum_component_kind_to_string", _wrap_icalenum_component_kind_to_string, file);
2939 newXS("Net::ICal::Libical::icalenum_string_to_component_kind", _wrap_icalenum_string_to_component_kind, file);
2940 newXS("Net::ICal::Libical::icalenum_property_kind_to_value_kind", _wrap_icalenum_property_kind_to_value_kind, file);
2941 newXS("Net::ICal::Libical::icallangbind_new_array", _wrap_icallangbind_new_array, file);
2942 newXS("Net::ICal::Libical::icallangbind_free_array", _wrap_icallangbind_free_array, file);
2943 newXS("Net::ICal::Libical::icallangbind_access_array", _wrap_icallangbind_access_array, file);
2944 newXS("Net::ICal::Libical::icalrecur_expand_recurrence", _wrap_icalrecur_expand_recurrence, file);
2945 newXS("Net::ICal::Libical::icallangbind_get_first_property", _wrap_icallangbind_get_first_property, file);
2946 newXS("Net::ICal::Libical::icallangbind_get_next_property", _wrap_icallangbind_get_next_property, file);
2947 newXS("Net::ICal::Libical::icallangbind_get_first_component", _wrap_icallangbind_get_first_component, file);
2948 newXS("Net::ICal::Libical::icallangbind_get_next_component", _wrap_icallangbind_get_next_component, file);
2949 newXS("Net::ICal::Libical::icallangbind_property_eval_string", _wrap_icallangbind_property_eval_string, file);
2950 newXS("Net::ICal::Libical::icaltime_from_timet", _wrap_icaltime_from_timet, file);
2951 newXS("Net::ICal::Libical::icaltime_as_timet", _wrap_icaltime_as_timet, file);
2952 newXS("Net::ICal::Libical::icaltime_as_ical_string", _wrap_icaltime_as_ical_string, file);
2953 newXS("Net::ICal::Libical::icaltime_from_string", _wrap_icaltime_from_string, file);
2954 newXS("Net::ICal::Libical::icaltime_utc_offset", _wrap_icaltime_utc_offset, file);
2955 newXS("Net::ICal::Libical::icaltime_as_utc", _wrap_icaltime_as_utc, file);
2956 newXS("Net::ICal::Libical::icaltime_as_zone", _wrap_icaltime_as_zone, file);
2957 newXS("Net::ICal::Libical::icaltime_null_time", _wrap_icaltime_null_time, file);
2958 newXS("Net::ICal::Libical::icaltime_is_null_time", _wrap_icaltime_is_null_time, file);
2959 newXS("Net::ICal::Libical::icaltime_is_valid_time", _wrap_icaltime_is_valid_time, file);
2960 newXS("Net::ICal::Libical::icaltime_normalize", _wrap_icaltime_normalize, file);
2961 newXS("Net::ICal::Libical::icaltime_day_of_year", _wrap_icaltime_day_of_year, file);
2962 newXS("Net::ICal::Libical::icaltime_from_day_of_year", _wrap_icaltime_from_day_of_year, file);
2963 newXS("Net::ICal::Libical::icaltime_day_of_week", _wrap_icaltime_day_of_week, file);
2964 newXS("Net::ICal::Libical::icaltime_start_doy_of_week", _wrap_icaltime_start_doy_of_week, file);
2965 newXS("Net::ICal::Libical::icaltime_as_ctime", _wrap_icaltime_as_ctime, file);
2966 newXS("Net::ICal::Libical::icaltime_week_number", _wrap_icaltime_week_number, file);
2967 newXS("Net::ICal::Libical::icaltime_compare", _wrap_icaltime_compare, file);
2968 newXS("Net::ICal::Libical::icaltime_compare_date_only", _wrap_icaltime_compare_date_only, file);
2969 newXS("Net::ICal::Libical::icaltime_days_in_month", _wrap_icaltime_days_in_month, file);
2970 newXS("Net::ICal::Libical::icaldurationtype_from_int", _wrap_icaldurationtype_from_int, file);
2971 newXS("Net::ICal::Libical::icaldurationtype_from_string", _wrap_icaldurationtype_from_string, file);
2972 newXS("Net::ICal::Libical::icaldurationtype_as_int", _wrap_icaldurationtype_as_int, file);
2973 newXS("Net::ICal::Libical::icaldurationtype_as_ical_string", _wrap_icaldurationtype_as_ical_string, file);
2974 newXS("Net::ICal::Libical::icaldurationtype_null_duration", _wrap_icaldurationtype_null_duration, file);
2975 newXS("Net::ICal::Libical::icaldurationtype_is_null_duration", _wrap_icaldurationtype_is_null_duration, file);
2976 newXS("Net::ICal::Libical::icaltime_add", _wrap_icaltime_add, file);
2977 newXS("Net::ICal::Libical::icaltime_subtract", _wrap_icaltime_subtract, file);
2978 newXS("Net::ICal::Libical::icalperiodtype_from_string", _wrap_icalperiodtype_from_string, file);
2979 newXS("Net::ICal::Libical::icalperiodtype_as_ical_string", _wrap_icalperiodtype_as_ical_string, file);
2980 newXS("Net::ICal::Libical::icalperiodtype_null_period", _wrap_icalperiodtype_null_period, file);
2981 newXS("Net::ICal::Libical::icalperiodtype_is_null_period", _wrap_icalperiodtype_is_null_period, file);
2982 newXS("Net::ICal::Libical::icalperiodtype_is_valid_period", _wrap_icalperiodtype_is_valid_period, file);
2983 newXS("Net::ICal::Libical::icaltimetype_year_set", _wrap_icaltimetype_year_set, file);
2984 newXS("Net::ICal::Libical::icaltimetype_year_get", _wrap_icaltimetype_year_get, file);
2985 newXS("Net::ICal::Libical::icaltimetype_month_set", _wrap_icaltimetype_month_set, file);
2986 newXS("Net::ICal::Libical::icaltimetype_month_get", _wrap_icaltimetype_month_get, file);
2987 newXS("Net::ICal::Libical::icaltimetype_day_set", _wrap_icaltimetype_day_set, file);
2988 newXS("Net::ICal::Libical::icaltimetype_day_get", _wrap_icaltimetype_day_get, file);
2989 newXS("Net::ICal::Libical::icaltimetype_hour_set", _wrap_icaltimetype_hour_set, file);
2990 newXS("Net::ICal::Libical::icaltimetype_hour_get", _wrap_icaltimetype_hour_get, file);
2991 newXS("Net::ICal::Libical::icaltimetype_minute_set", _wrap_icaltimetype_minute_set, file);
2992 newXS("Net::ICal::Libical::icaltimetype_minute_get", _wrap_icaltimetype_minute_get, file);
2993 newXS("Net::ICal::Libical::icaltimetype_second_set", _wrap_icaltimetype_second_set, file);
2994 newXS("Net::ICal::Libical::icaltimetype_second_get", _wrap_icaltimetype_second_get, file);
2995 newXS("Net::ICal::Libical::icaltimetype_is_utc_set", _wrap_icaltimetype_is_utc_set, file);
2996 newXS("Net::ICal::Libical::icaltimetype_is_utc_get", _wrap_icaltimetype_is_utc_get, file);
2997 newXS("Net::ICal::Libical::icaltimetype_is_date_set", _wrap_icaltimetype_is_date_set, file);
2998 newXS("Net::ICal::Libical::icaltimetype_is_date_get", _wrap_icaltimetype_is_date_get, file);
2999 newXS("Net::ICal::Libical::icaldurationtype_is_neg_set", _wrap_icaldurationtype_is_neg_set, file);
3000 newXS("Net::ICal::Libical::icaldurationtype_is_neg_get", _wrap_icaldurationtype_is_neg_get, file);
3001 newXS("Net::ICal::Libical::icaldurationtype_days_set", _wrap_icaldurationtype_days_set, file);
3002 newXS("Net::ICal::Libical::icaldurationtype_days_get", _wrap_icaldurationtype_days_get, file);
3003 newXS("Net::ICal::Libical::icaldurationtype_weeks_set", _wrap_icaldurationtype_weeks_set, file);
3004 newXS("Net::ICal::Libical::icaldurationtype_weeks_get", _wrap_icaldurationtype_weeks_get, file);
3005 newXS("Net::ICal::Libical::icaldurationtype_hours_set", _wrap_icaldurationtype_hours_set, file);
3006 newXS("Net::ICal::Libical::icaldurationtype_hours_get", _wrap_icaldurationtype_hours_get, file);
3007 newXS("Net::ICal::Libical::icaldurationtype_minutes_set", _wrap_icaldurationtype_minutes_set, file);
3008 newXS("Net::ICal::Libical::icaldurationtype_minutes_get", _wrap_icaldurationtype_minutes_get, file);
3009 newXS("Net::ICal::Libical::icaldurationtype_seconds_set", _wrap_icaldurationtype_seconds_set, file);
3010 newXS("Net::ICal::Libical::icaldurationtype_seconds_get", _wrap_icaldurationtype_seconds_get, file);
3011 newXS("Net::ICal::Libical::icalperiodtype_start_set", _wrap_icalperiodtype_start_set, file);
3012 newXS("Net::ICal::Libical::icalperiodtype_start_get", _wrap_icalperiodtype_start_get, file);
3013 newXS("Net::ICal::Libical::icalperiodtype_end_set", _wrap_icalperiodtype_end_set, file);
3014 newXS("Net::ICal::Libical::icalperiodtype_end_get", _wrap_icalperiodtype_end_get, file);
3015 newXS("Net::ICal::Libical::icalperiodtype_duration_set", _wrap_icalperiodtype_duration_set, file);
3016 newXS("Net::ICal::Libical::icalperiodtype_duration_get", _wrap_icalperiodtype_duration_get, file);
3018 * These are the pointer type-equivalency mappings.
3019 * (Used by the SWIG pointer type-checker).
3021 SWIG_RegisterMapping("unsigned short","short",0);
3022 SWIG_RegisterMapping("struct icaldurationtype","icaldurationtype",0);
3023 SWIG_RegisterMapping("icalperiodtype","struct icalperiodtype",0);
3024 SWIG_RegisterMapping("long","unsigned long",0);
3025 SWIG_RegisterMapping("long","signed long",0);
3026 SWIG_RegisterMapping("struct icaltimetype","icaltimetype",0);
3027 SWIG_RegisterMapping("icaldurationtype","struct icaldurationtype",0);
3028 SWIG_RegisterMapping("signed short","short",0);
3029 SWIG_RegisterMapping("struct icalperiodtype","icalperiodtype",0);
3030 SWIG_RegisterMapping("signed int","int",0);
3031 SWIG_RegisterMapping("short","unsigned short",0);
3032 SWIG_RegisterMapping("short","signed short",0);
3033 SWIG_RegisterMapping("unsigned long","long",0);
3034 SWIG_RegisterMapping("int","unsigned int",0);
3035 SWIG_RegisterMapping("int","signed int",0);
3036 SWIG_RegisterMapping("unsigned int","int",0);
3037 SWIG_RegisterMapping("icaltimetype","struct icaltimetype",0);
3038 SWIG_RegisterMapping("signed long","long",0);