diff options
author | Allen Winter <allen.winter@kdab.com> | 2022-09-24 12:48:26 -0400 |
---|---|---|
committer | Allen Winter <allen.winter@kdab.com> | 2022-09-24 12:48:26 -0400 |
commit | 90e8092c8449e7b941bb477cc38592f4b0496bfb (patch) | |
tree | 51ff49bd1cae1354f26940b37e481658ea8dd2d8 /src/Net-ICal-Libical | |
parent | 5b46e8d23187248db827a754080e70190c886fae (diff) | |
download | libical-git-90e8092c8449e7b941bb477cc38592f4b0496bfb.tar.gz |
fix trailing-whitespace for entire project
Diffstat (limited to 'src/Net-ICal-Libical')
-rw-r--r-- | src/Net-ICal-Libical/netical_wrap.c | 286 | ||||
-rw-r--r-- | src/Net-ICal-Libical/netical_wrap.doc | 18 | ||||
-rw-r--r-- | src/Net-ICal-Libical/test-data/mail-examples | 4 | ||||
-rw-r--r-- | src/Net-ICal-Libical/test-data/no-error | 2 | ||||
-rw-r--r-- | src/Net-ICal-Libical/test-data/single-with-error | 2 |
5 files changed, 156 insertions, 156 deletions
diff --git a/src/Net-ICal-Libical/netical_wrap.c b/src/Net-ICal-Libical/netical_wrap.c index 667bd44f..0f8c59c0 100644 --- a/src/Net-ICal-Libical/netical_wrap.c +++ b/src/Net-ICal-Libical/netical_wrap.c @@ -1,15 +1,15 @@ /* * FILE : netical_wrap.c - * + * * This file was automatically generated by : * Simplified Wrapper and Interface Generator (SWIG) * Version 1.1 (Patch 5) - * + * * Portions Copyright (c) 1995-1998 * The University of Utah and The Regents of the University of California. * Permission is granted to distribute this file in any manner provided * this notice remains intact. - * + * * Do not make changes to this file--changes will be lost! * */ @@ -53,7 +53,7 @@ extern "C" { #ifdef PERL_OBJECT #define MAGIC_PPERL CPerl *pPerl = (CPerl *) this; #define MAGIC_CAST (int (CPerl::*)(SV *, MAGIC *)) -#define SWIGCLASS_STATIC +#define SWIGCLASS_STATIC #else #define MAGIC_PPERL #define MAGIC_CAST @@ -75,16 +75,16 @@ extern "C" { * original datatype and newtype is an equivalent type. cast is optional * pointer to a function to cast pointer values between types (this * is only used to cast pointers from derived classes to base classes in C++) - * + * * SWIG_MakePtr(char *buffer, void *ptr, char *typestring); - * + * * Makes a pointer string from a pointer and typestring. The result is returned * in buffer. * * char * SWIG_GetPtr(SV *obj, void **ptr, char *type) * - * Gets a pointer value from a Perl5 scalar value. If there is a - * type-mismatch, returns a character string to the received type. + * Gets a pointer value from a Perl5 scalar value. If there is a + * type-mismatch, returns a character string to the received type. * On success, returns NULL. * * @@ -143,7 +143,7 @@ static int SwigStart[256]; /* Table containing starting positions #define SWIG_CACHESIZE 8 #define SWIG_CACHEMASK 0x7 -static SwigCacheType SwigCache[SWIG_CACHESIZE]; +static SwigCacheType SwigCache[SWIG_CACHESIZE]; static int SwigCacheIndex = 0; static int SwigLastCache = 0; @@ -164,7 +164,7 @@ static int swigcmp(const void *key, const void *data) { /* Register a new datatype with the type-checker */ #ifndef PERL_OBJECT -SWIGSTATIC +SWIGSTATIC void SWIG_RegisterMapping(char *origtype, char *newtype, void *(*cast)(void *)) { #else SWIGSTATIC @@ -175,7 +175,7 @@ void _SWIG_RegisterMapping(CPerl *pPerl, char *origtype, char *newtype, void *(* int i; SwigPtrType *t = 0, *t1; - if (!SwigPtrTable) { + if (!SwigPtrTable) { SwigPtrTable = (SwigPtrType *) malloc(SwigPtrMax*sizeof(SwigPtrType)); SwigPtrN = 0; } @@ -214,7 +214,7 @@ void _SWIG_RegisterMapping(CPerl *pPerl, char *origtype, char *newtype, void *(* /* Make a pointer value string */ -SWIGSTATIC +SWIGSTATIC void SWIG_MakePtr(char *_c, const void *_ptr, char *type) { static char _hex[16] = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', @@ -241,12 +241,12 @@ void SWIG_MakePtr(char *_c, const void *_ptr, char *type) { /* Define for backwards compatibility */ -#define _swig_make_hex SWIG_MakePtr +#define _swig_make_hex SWIG_MakePtr /* Function for getting a pointer value */ #ifndef PERL_OBJECT -SWIGSTATIC +SWIGSTATIC char *SWIG_GetPtr(SV *sv, void **ptr, char *_t) #else SWIGSTATIC @@ -294,7 +294,7 @@ char *_SWIG_GetPtr(CPerl *pPerl, SV *sv, void **ptr, char *_t) return (char *) 0; } else if (SvTYPE(sv) == SVt_RV) { /* Check for NULL pointer */ *(ptr) = (void *) 0; - if (!SvROK(sv)) + if (!SvROK(sv)) return (char *) 0; else return "Not a valid pointer value"; @@ -303,12 +303,12 @@ char *_SWIG_GetPtr(CPerl *pPerl, SV *sv, void **ptr, char *_t) return "Not a valid pointer value"; } if (_t) { - /* Now see if the types match */ + /* Now see if the types match */ if (!sv_isa(sv,_t)) { _c = HvNAME(SvSTASH(SvRV(sv))); if (!SwigPtrSort) { - qsort((void *) SwigPtrTable, SwigPtrN, sizeof(SwigPtrType), swigsort); + qsort((void *) SwigPtrTable, SwigPtrN, sizeof(SwigPtrType), swigsort); for (i = 0; i < 256; i++) { SwigStart[i] = SwigPtrN; } @@ -320,7 +320,7 @@ char *_SWIG_GetPtr(CPerl *pPerl, SV *sv, void **ptr, char *_t) SwigStart[i-1] = SwigStart[i]; } SwigPtrSort = 1; - for (i = 0; i < SWIG_CACHESIZE; i++) + for (i = 0; i < SWIG_CACHESIZE; i++) SwigCache[i].stat = 0; } /* First check cache for matches. Uses last cache value as starting point */ @@ -374,12 +374,12 @@ char *_SWIG_GetPtr(CPerl *pPerl, SV *sv, void **ptr, char *_t) return (char *) 0; } tp = tp->next; - } + } /* Hmmm. Didn't find it this time */ sp++; } } - /* Didn't find any sort of match for this data. + /* Didn't find any sort of match for this data. Get the pointer value and return the received type */ *ptr = (void *) tmp; return _c; @@ -388,7 +388,7 @@ char *_SWIG_GetPtr(CPerl *pPerl, SV *sv, void **ptr, char *_t) *ptr = (void *) tmp; return (char *) 0; } - } + } *ptr = (void *) tmp; return (char *) 0; } @@ -435,12 +435,12 @@ SWIGEXPORT(void,boot_Net__ICal__Libical)(CPerl *, CV *cv); #ifndef PERL_OBJECT #define swig_setiv(a,b) _swig_setiv(a,b) -static void _swig_setiv(char *name, long value) { +static void _swig_setiv(char *name, long value) { #else #define swig_setiv(a,b) _swig_setiv(pPerl,a,b) -static void _swig_setiv(CPerl *pPerl, char *name, long value) { +static void _swig_setiv(CPerl *pPerl, char *name, long value) { #endif - SV *sv; + SV *sv; sv = perl_get_sv(name,TRUE | 0x2); sv_setiv(sv, (IV) value); SvREADONLY_on(sv); @@ -448,12 +448,12 @@ static void _swig_setiv(CPerl *pPerl, char *name, long value) { #ifndef PERL_OBJECT #define swig_setpv(a,b) _swig_setpv(a,b) -static void _swig_setpv(char *name, char *value) { +static void _swig_setpv(char *name, char *value) { #else #define swig_setpv(a,b) _swig_setpv(pPerl,a,b) -static void _swig_setpv(CPerl *pPerl, char *name, char *value) { +static void _swig_setpv(CPerl *pPerl, char *name, char *value) { #endif - SV *sv; + SV *sv; sv = perl_get_sv(name,TRUE | 0x2); sv_setpv(sv, value); SvREADONLY_on(sv); @@ -486,7 +486,7 @@ XS(_wrap_icalparser_parse_string) { dXSARGS; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icalparser_parse_string(str);"); _arg0 = (char *) SvPV(ST(0),na); _result = (icalcomponent *)icalparser_parse_string(_arg0); @@ -503,7 +503,7 @@ XS(_wrap_icalcomponent_new) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icalcomponent_new(kind);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"icalcomponent_kindPtr")) { croak("Type error in argument 1 of icalcomponent_new. Expected icalcomponent_kindPtr."); @@ -523,7 +523,7 @@ XS(_wrap_icalcomponent_clone) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icalcomponent_clone(component);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) { croak("Type error in argument 1 of icalcomponent_clone. Expected icalcomponentPtr."); @@ -543,7 +543,7 @@ XS(_wrap_icalcomponent_new_from_string) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icalcomponent_new_from_string(str);"); _arg0 = (char *) SvPV(ST(0),na); _result = (icalcomponent *)icalcomponent_new_from_string(_arg0); @@ -560,7 +560,7 @@ XS(_wrap_icalcomponent_as_ical_string) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icalcomponent_as_ical_string(component);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) { croak("Type error in argument 1 of icalcomponent_as_ical_string. Expected icalcomponentPtr."); @@ -579,7 +579,7 @@ XS(_wrap_icalcomponent_free) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icalcomponent_free(component);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) { croak("Type error in argument 1 of icalcomponent_free. Expected icalcomponentPtr."); @@ -597,7 +597,7 @@ XS(_wrap_icalcomponent_count_errors) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icalcomponent_count_errors(component);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) { croak("Type error in argument 1 of icalcomponent_count_errors. Expected icalcomponentPtr."); @@ -616,7 +616,7 @@ XS(_wrap_icalcomponent_strip_errors) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icalcomponent_strip_errors(component);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) { croak("Type error in argument 1 of icalcomponent_strip_errors. Expected icalcomponentPtr."); @@ -633,7 +633,7 @@ XS(_wrap_icalcomponent_convert_errors) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icalcomponent_convert_errors(component);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) { croak("Type error in argument 1 of icalcomponent_convert_errors. Expected icalcomponentPtr."); @@ -651,7 +651,7 @@ XS(_wrap_icalcomponent_get_current_property) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icalcomponent_get_current_property(component);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) { croak("Type error in argument 1 of icalcomponent_get_current_property. Expected icalcomponentPtr."); @@ -672,7 +672,7 @@ XS(_wrap_icalcomponent_get_first_property) { dXSARGS ; cv = cv; - if ((items < 2) || (items > 2)) + if ((items < 2) || (items > 2)) croak("Usage: icalcomponent_get_first_property(component,kind);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) { croak("Type error in argument 1 of icalcomponent_get_first_property. Expected icalcomponentPtr."); @@ -697,7 +697,7 @@ XS(_wrap_icalcomponent_get_next_property) { dXSARGS ; cv = cv; - if ((items < 2) || (items > 2)) + if ((items < 2) || (items > 2)) croak("Usage: icalcomponent_get_next_property(component,kind);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) { croak("Type error in argument 1 of icalcomponent_get_next_property. Expected icalcomponentPtr."); @@ -721,7 +721,7 @@ XS(_wrap_icalcomponent_get_current_component) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icalcomponent_get_current_component(component);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) { croak("Type error in argument 1 of icalcomponent_get_current_component. Expected icalcomponentPtr."); @@ -742,7 +742,7 @@ XS(_wrap_icalcomponent_get_first_component) { dXSARGS ; cv = cv; - if ((items < 2) || (items > 2)) + if ((items < 2) || (items > 2)) croak("Usage: icalcomponent_get_first_component(component,kind);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) { croak("Type error in argument 1 of icalcomponent_get_first_component. Expected icalcomponentPtr."); @@ -767,7 +767,7 @@ XS(_wrap_icalcomponent_get_next_component) { dXSARGS ; cv = cv; - if ((items < 2) || (items > 2)) + if ((items < 2) || (items > 2)) croak("Usage: icalcomponent_get_next_component(component,kind);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) { croak("Type error in argument 1 of icalcomponent_get_next_component. Expected icalcomponentPtr."); @@ -791,7 +791,7 @@ XS(_wrap_icalcomponent_add_property) { dXSARGS ; cv = cv; - if ((items < 2) || (items > 2)) + if ((items < 2) || (items > 2)) croak("Usage: icalcomponent_add_property(component,property);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) { croak("Type error in argument 1 of icalcomponent_add_property. Expected icalcomponentPtr."); @@ -813,7 +813,7 @@ XS(_wrap_icalcomponent_remove_property) { dXSARGS ; cv = cv; - if ((items < 2) || (items > 2)) + if ((items < 2) || (items > 2)) croak("Usage: icalcomponent_remove_property(component,property);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) { croak("Type error in argument 1 of icalcomponent_remove_property. Expected icalcomponentPtr."); @@ -835,7 +835,7 @@ XS(_wrap_icalcomponent_get_parent) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icalcomponent_get_parent(component);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) { croak("Type error in argument 1 of icalcomponent_get_parent. Expected icalcomponentPtr."); @@ -855,7 +855,7 @@ XS(_wrap_icalcomponent_isa) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icalcomponent_isa(component);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) { croak("Type error in argument 1 of icalcomponent_isa. Expected icalcomponentPtr."); @@ -876,7 +876,7 @@ XS(_wrap_icalrestriction_check) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icalrestriction_check(comp);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) { croak("Type error in argument 1 of icalrestriction_check. Expected icalcomponentPtr."); @@ -896,7 +896,7 @@ XS(_wrap_icalproperty_string_to_kind) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icalproperty_string_to_kind(string);"); _arg0 = (char *) SvPV(ST(0),na); _result = (int )icalproperty_string_to_kind(_arg0); @@ -913,7 +913,7 @@ XS(_wrap_icalproperty_new) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icalproperty_new(kind);"); _arg0 = (int )SvIV(ST(0)); _result = (icalproperty *)icalproperty_new(_arg0); @@ -930,7 +930,7 @@ XS(_wrap_icalproperty_new_from_string) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icalproperty_new_from_string(str);"); _arg0 = (char *) SvPV(ST(0),na); _result = (icalproperty *)icalproperty_new_from_string(_arg0); @@ -947,7 +947,7 @@ XS(_wrap_icalproperty_as_ical_string) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icalproperty_as_ical_string(prop);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) { croak("Type error in argument 1 of icalproperty_as_ical_string. Expected icalpropertyPtr."); @@ -968,7 +968,7 @@ XS(_wrap_icalproperty_set_parameter_from_string) { dXSARGS ; cv = cv; - if ((items < 3) || (items > 3)) + if ((items < 3) || (items > 3)) croak("Usage: icalproperty_set_parameter_from_string(prop,name,value);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) { croak("Type error in argument 1 of icalproperty_set_parameter_from_string. Expected icalpropertyPtr."); @@ -989,7 +989,7 @@ XS(_wrap_icalproperty_set_value_from_string) { dXSARGS ; cv = cv; - if ((items < 3) || (items > 3)) + if ((items < 3) || (items > 3)) croak("Usage: icalproperty_set_value_from_string(prop,value,kind);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) { croak("Type error in argument 1 of icalproperty_set_value_from_string. Expected icalpropertyPtr."); @@ -1009,7 +1009,7 @@ XS(_wrap_icalproperty_get_value_as_string) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icalproperty_get_value_as_string(prop);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) { croak("Type error in argument 1 of icalproperty_get_value_as_string. Expected icalpropertyPtr."); @@ -1030,7 +1030,7 @@ XS(_wrap_icalproperty_get_parameter_as_string) { dXSARGS ; cv = cv; - if ((items < 2) || (items > 2)) + if ((items < 2) || (items > 2)) croak("Usage: icalproperty_get_parameter_as_string(prop,name);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) { croak("Type error in argument 1 of icalproperty_get_parameter_as_string. Expected icalpropertyPtr."); @@ -1051,7 +1051,7 @@ XS(_wrap_icalproperty_get_parent) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icalproperty_get_parent(property);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) { croak("Type error in argument 1 of icalproperty_get_parent. Expected icalpropertyPtr."); @@ -1071,7 +1071,7 @@ XS(_wrap_icalerror_set_error_state) { dXSARGS ; cv = cv; - if ((items < 2) || (items > 2)) + if ((items < 2) || (items > 2)) croak("Usage: icalerror_set_error_state(error,icalerrorstate );"); _arg0 = (icalerrorenum )SvIV(ST(0)); _arg1 = (icalerrorstate )SvIV(ST(1)); @@ -1087,7 +1087,7 @@ XS(_wrap_icalerror_get_error_state) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icalerror_get_error_state(error);"); _arg0 = (icalerrorenum )SvIV(ST(0)); _result = (icalerrorstate )icalerror_get_error_state(_arg0); @@ -1104,7 +1104,7 @@ XS(_wrap_icalenum_property_kind_to_string) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icalenum_property_kind_to_string(kind);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"icalproperty_kindPtr")) { croak("Type error in argument 1 of icalenum_property_kind_to_string. Expected icalproperty_kindPtr."); @@ -1124,7 +1124,7 @@ XS(_wrap_icalenum_string_to_property_kind) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icalenum_string_to_property_kind(string);"); _arg0 = (char *) SvPV(ST(0),na); _result = (icalproperty_kind *) malloc(sizeof(icalproperty_kind )); @@ -1142,7 +1142,7 @@ XS(_wrap_icalenum_value_kind_to_string) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icalenum_value_kind_to_string(kind);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"icalvalue_kindPtr")) { croak("Type error in argument 1 of icalenum_value_kind_to_string. Expected icalvalue_kindPtr."); @@ -1162,7 +1162,7 @@ XS(_wrap_icalenum_parameter_kind_to_string) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icalenum_parameter_kind_to_string(kind);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"icalparameter_kindPtr")) { croak("Type error in argument 1 of icalenum_parameter_kind_to_string. Expected icalparameter_kindPtr."); @@ -1182,7 +1182,7 @@ XS(_wrap_icalenum_string_to_parameter_kind) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icalenum_string_to_parameter_kind(string);"); _arg0 = (char *) SvPV(ST(0),na); _result = (icalparameter_kind *) malloc(sizeof(icalparameter_kind )); @@ -1200,7 +1200,7 @@ XS(_wrap_icalenum_component_kind_to_string) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icalenum_component_kind_to_string(kind);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"icalcomponent_kindPtr")) { croak("Type error in argument 1 of icalenum_component_kind_to_string. Expected icalcomponent_kindPtr."); @@ -1220,7 +1220,7 @@ XS(_wrap_icalenum_string_to_component_kind) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icalenum_string_to_component_kind(string);"); _arg0 = (char *) SvPV(ST(0),na); _result = (icalcomponent_kind *) malloc(sizeof(icalcomponent_kind )); @@ -1238,7 +1238,7 @@ XS(_wrap_icalenum_property_kind_to_value_kind) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icalenum_property_kind_to_value_kind(kind);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"icalproperty_kindPtr")) { croak("Type error in argument 1 of icalenum_property_kind_to_value_kind. Expected icalproperty_kindPtr."); @@ -1259,7 +1259,7 @@ XS(_wrap_icallangbind_new_array) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icallangbind_new_array(size);"); _arg0 = (int )SvIV(ST(0)); _result = (int *)icallangbind_new_array(_arg0); @@ -1275,7 +1275,7 @@ XS(_wrap_icallangbind_free_array) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icallangbind_free_array(array);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"intPtr")) { croak("Type error in argument 1 of icallangbind_free_array. Expected intPtr."); @@ -1294,7 +1294,7 @@ XS(_wrap_icallangbind_access_array) { dXSARGS ; cv = cv; - if ((items < 2) || (items > 2)) + if ((items < 2) || (items > 2)) croak("Usage: icallangbind_access_array(array,index);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"intPtr")) { croak("Type error in argument 1 of icallangbind_access_array. Expected intPtr."); @@ -1318,7 +1318,7 @@ XS(_wrap_icalrecur_expand_recurrence) { dXSARGS ; cv = cv; - if ((items < 4) || (items > 4)) + if ((items < 4) || (items > 4)) croak("Usage: icalrecur_expand_recurrence(rule,start,count,array);"); _arg0 = (char *) SvPV(ST(0),na); _arg1 = (int )SvIV(ST(1)); @@ -1342,7 +1342,7 @@ XS(_wrap_icallangbind_get_first_property) { dXSARGS ; cv = cv; - if ((items < 2) || (items > 2)) + if ((items < 2) || (items > 2)) croak("Usage: icallangbind_get_first_property(c,prop);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) { croak("Type error in argument 1 of icallangbind_get_first_property. Expected icalcomponentPtr."); @@ -1364,7 +1364,7 @@ XS(_wrap_icallangbind_get_next_property) { dXSARGS ; cv = cv; - if ((items < 2) || (items > 2)) + if ((items < 2) || (items > 2)) croak("Usage: icallangbind_get_next_property(c,prop);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) { croak("Type error in argument 1 of icallangbind_get_next_property. Expected icalcomponentPtr."); @@ -1386,7 +1386,7 @@ XS(_wrap_icallangbind_get_first_component) { dXSARGS ; cv = cv; - if ((items < 2) || (items > 2)) + if ((items < 2) || (items > 2)) croak("Usage: icallangbind_get_first_component(c,comp);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) { croak("Type error in argument 1 of icallangbind_get_first_component. Expected icalcomponentPtr."); @@ -1408,7 +1408,7 @@ XS(_wrap_icallangbind_get_next_component) { dXSARGS ; cv = cv; - if ((items < 2) || (items > 2)) + if ((items < 2) || (items > 2)) croak("Usage: icallangbind_get_next_component(c,comp);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) { croak("Type error in argument 1 of icallangbind_get_next_component. Expected icalcomponentPtr."); @@ -1430,7 +1430,7 @@ XS(_wrap_icallangbind_property_eval_string) { dXSARGS ; cv = cv; - if ((items < 2) || (items > 2)) + if ((items < 2) || (items > 2)) croak("Usage: icallangbind_property_eval_string(prop,sep);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,(char *) 0 )) { croak("Type error in argument 1 of icallangbind_property_eval_string. Expected icalpropertyPtr."); @@ -1452,7 +1452,7 @@ XS(_wrap_icaltime_from_timet) { dXSARGS ; cv = cv; - if ((items < 2) || (items > 2)) + if ((items < 2) || (items > 2)) croak("Usage: icaltime_from_timet(v,is_date);"); _arg0 = (int )SvIV(ST(0)); _arg1 = (int )SvIV(ST(1)); @@ -1471,7 +1471,7 @@ XS(_wrap_icaltime_as_timet) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icaltime_as_timet(struct icaltimetype *);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) { croak("Type error in argument 1 of icaltime_as_timet. Expected struct icaltimetypePtr."); @@ -1491,7 +1491,7 @@ XS(_wrap_icaltime_as_ical_string) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icaltime_as_ical_string(tt);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) { croak("Type error in argument 1 of icaltime_as_ical_string. Expected struct icaltimetypePtr."); @@ -1511,7 +1511,7 @@ XS(_wrap_icaltime_from_string) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icaltime_from_string(str);"); _arg0 = (char *) SvPV(ST(0),na); _result = (struct icaltimetype *) malloc(sizeof(struct icaltimetype )); @@ -1530,7 +1530,7 @@ XS(_wrap_icaltime_utc_offset) { dXSARGS ; cv = cv; - if ((items < 2) || (items > 2)) + if ((items < 2) || (items > 2)) croak("Usage: icaltime_utc_offset(tt,tzid);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) { croak("Type error in argument 1 of icaltime_utc_offset. Expected struct icaltimetypePtr."); @@ -1552,7 +1552,7 @@ XS(_wrap_icaltime_as_utc) { dXSARGS ; cv = cv; - if ((items < 2) || (items > 2)) + if ((items < 2) || (items > 2)) croak("Usage: icaltime_as_utc(tt,tzid);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) { croak("Type error in argument 1 of icaltime_as_utc. Expected struct icaltimetypePtr."); @@ -1575,7 +1575,7 @@ XS(_wrap_icaltime_as_zone) { dXSARGS ; cv = cv; - if ((items < 2) || (items > 2)) + if ((items < 2) || (items > 2)) croak("Usage: icaltime_as_zone(tt,tzid);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) { croak("Type error in argument 1 of icaltime_as_zone. Expected struct icaltimetypePtr."); @@ -1596,7 +1596,7 @@ XS(_wrap_icaltime_null_time) { dXSARGS ; cv = cv; - if ((items < 0) || (items > 0)) + if ((items < 0) || (items > 0)) croak("Usage: icaltime_null_time();"); _result = (struct icaltimetype *) malloc(sizeof(struct icaltimetype )); *(_result) = icaltime_null_time(); @@ -1613,7 +1613,7 @@ XS(_wrap_icaltime_is_null_time) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icaltime_is_null_time(t);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) { croak("Type error in argument 1 of icaltime_is_null_time. Expected struct icaltimetypePtr."); @@ -1633,7 +1633,7 @@ XS(_wrap_icaltime_is_valid_time) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icaltime_is_valid_time(t);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) { croak("Type error in argument 1 of icaltime_is_valid_time. Expected struct icaltimetypePtr."); @@ -1653,7 +1653,7 @@ XS(_wrap_icaltime_normalize) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icaltime_normalize(t);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) { croak("Type error in argument 1 of icaltime_normalize. Expected struct icaltimetypePtr."); @@ -1674,7 +1674,7 @@ XS(_wrap_icaltime_day_of_year) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icaltime_day_of_year(t);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) { croak("Type error in argument 1 of icaltime_day_of_year. Expected struct icaltimetypePtr."); @@ -1695,7 +1695,7 @@ XS(_wrap_icaltime_from_day_of_year) { dXSARGS ; cv = cv; - if ((items < 2) || (items > 2)) + if ((items < 2) || (items > 2)) croak("Usage: icaltime_from_day_of_year(doy,year);"); _arg0 = (short )SvIV(ST(0)); _arg1 = (short )SvIV(ST(1)); @@ -1714,7 +1714,7 @@ XS(_wrap_icaltime_day_of_week) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icaltime_day_of_week(t);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) { croak("Type error in argument 1 of icaltime_day_of_week. Expected struct icaltimetypePtr."); @@ -1734,7 +1734,7 @@ XS(_wrap_icaltime_start_doy_of_week) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icaltime_start_doy_of_week(t);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) { croak("Type error in argument 1 of icaltime_start_doy_of_week. Expected struct icaltimetypePtr."); @@ -1754,7 +1754,7 @@ XS(_wrap_icaltime_as_ctime) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icaltime_as_ctime(struct icaltimetype *);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) { croak("Type error in argument 1 of icaltime_as_ctime. Expected struct icaltimetypePtr."); @@ -1774,7 +1774,7 @@ XS(_wrap_icaltime_week_number) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icaltime_week_number(t);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) { croak("Type error in argument 1 of icaltime_week_number. Expected struct icaltimetypePtr."); @@ -1795,7 +1795,7 @@ XS(_wrap_icaltime_compare) { dXSARGS ; cv = cv; - if ((items < 2) || (items > 2)) + if ((items < 2) || (items > 2)) croak("Usage: icaltime_compare(a,b);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) { croak("Type error in argument 1 of icaltime_compare. Expected struct icaltimetypePtr."); @@ -1820,7 +1820,7 @@ XS(_wrap_icaltime_compare_date_only) { dXSARGS ; cv = cv; - if ((items < 2) || (items > 2)) + if ((items < 2) || (items > 2)) croak("Usage: icaltime_compare_date_only(a,b);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) { croak("Type error in argument 1 of icaltime_compare_date_only. Expected struct icaltimetypePtr."); @@ -1845,7 +1845,7 @@ XS(_wrap_icaltime_days_in_month) { dXSARGS ; cv = cv; - if ((items < 2) || (items > 2)) + if ((items < 2) || (items > 2)) croak("Usage: icaltime_days_in_month(month,year);"); _arg0 = (short )SvIV(ST(0)); _arg1 = (short )SvIV(ST(1)); @@ -1863,7 +1863,7 @@ XS(_wrap_icaldurationtype_from_int) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icaldurationtype_from_int(t);"); _arg0 = (int )SvIV(ST(0)); _result = (struct icaldurationtype *) malloc(sizeof(struct icaldurationtype )); @@ -1881,7 +1881,7 @@ XS(_wrap_icaldurationtype_from_string) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icaldurationtype_from_string(char *);"); _arg0 = (char *) SvPV(ST(0),na); _result = (struct icaldurationtype *) malloc(sizeof(struct icaldurationtype )); @@ -1899,7 +1899,7 @@ XS(_wrap_icaldurationtype_as_int) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icaldurationtype_as_int(duration);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaldurationtypePtr")) { croak("Type error in argument 1 of icaldurationtype_as_int. Expected struct icaldurationtypePtr."); @@ -1919,7 +1919,7 @@ XS(_wrap_icaldurationtype_as_ical_string) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icaldurationtype_as_ical_string(d);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaldurationtypePtr")) { croak("Type error in argument 1 of icaldurationtype_as_ical_string. Expected struct icaldurationtypePtr."); @@ -1938,7 +1938,7 @@ XS(_wrap_icaldurationtype_null_duration) { dXSARGS ; cv = cv; - if ((items < 0) || (items > 0)) + if ((items < 0) || (items > 0)) croak("Usage: icaldurationtype_null_duration();"); _result = (struct icaldurationtype *) malloc(sizeof(struct icaldurationtype )); *(_result) = icaldurationtype_null_duration(); @@ -1955,7 +1955,7 @@ XS(_wrap_icaldurationtype_is_null_duration) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icaldurationtype_is_null_duration(d);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaldurationtypePtr")) { croak("Type error in argument 1 of icaldurationtype_is_null_duration. Expected struct icaldurationtypePtr."); @@ -1976,7 +1976,7 @@ XS(_wrap_icaltime_add) { dXSARGS ; cv = cv; - if ((items < 2) || (items > 2)) + if ((items < 2) || (items > 2)) croak("Usage: icaltime_add(t,d);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) { croak("Type error in argument 1 of icaltime_add. Expected struct icaltimetypePtr."); @@ -2002,7 +2002,7 @@ XS(_wrap_icaltime_subtract) { dXSARGS ; cv = cv; - if ((items < 2) || (items > 2)) + if ((items < 2) || (items > 2)) croak("Usage: icaltime_subtract(t1,t2);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) { croak("Type error in argument 1 of icaltime_subtract. Expected struct icaltimetypePtr."); @@ -2027,7 +2027,7 @@ XS(_wrap_icalperiodtype_from_string) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icalperiodtype_from_string(str);"); _arg0 = (char *) SvPV(ST(0),na); _result = (struct icalperiodtype *) malloc(sizeof(struct icalperiodtype )); @@ -2045,7 +2045,7 @@ XS(_wrap_icalperiodtype_as_ical_string) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icalperiodtype_as_ical_string(p);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icalperiodtypePtr")) { croak("Type error in argument 1 of icalperiodtype_as_ical_string. Expected struct icalperiodtypePtr."); @@ -2064,7 +2064,7 @@ XS(_wrap_icalperiodtype_null_period) { dXSARGS ; cv = cv; - if ((items < 0) || (items > 0)) + if ((items < 0) || (items > 0)) croak("Usage: icalperiodtype_null_period();"); _result = (struct icalperiodtype *) malloc(sizeof(struct icalperiodtype )); *(_result) = icalperiodtype_null_period(); @@ -2081,7 +2081,7 @@ XS(_wrap_icalperiodtype_is_null_period) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icalperiodtype_is_null_period(p);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icalperiodtypePtr")) { croak("Type error in argument 1 of icalperiodtype_is_null_period. Expected struct icalperiodtypePtr."); @@ -2101,7 +2101,7 @@ XS(_wrap_icalperiodtype_is_valid_period) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icalperiodtype_is_valid_period(p);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icalperiodtypePtr")) { croak("Type error in argument 1 of icalperiodtype_is_valid_period. Expected struct icalperiodtypePtr."); @@ -2123,7 +2123,7 @@ XS(_wrap_icaltimetype_year_set) { dXSARGS ; cv = cv; - if ((items < 2) || (items > 2)) + if ((items < 2) || (items > 2)) croak("Usage: icaltimetype_year_set(struct icaltimetype *,int );"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) { croak("Type error in argument 1 of icaltimetype_year_set. Expected struct icaltimetypePtr."); @@ -2145,7 +2145,7 @@ XS(_wrap_icaltimetype_year_get) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icaltimetype_year_get(struct icaltimetype *);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) { croak("Type error in argument 1 of icaltimetype_year_get. Expected struct icaltimetypePtr."); @@ -2167,7 +2167,7 @@ XS(_wrap_icaltimetype_month_set) { dXSARGS ; cv = cv; - if ((items < 2) || (items > 2)) + if ((items < 2) || (items > 2)) croak("Usage: icaltimetype_month_set(struct icaltimetype *,int );"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) { croak("Type error in argument 1 of icaltimetype_month_set. Expected struct icaltimetypePtr."); @@ -2189,7 +2189,7 @@ XS(_wrap_icaltimetype_month_get) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icaltimetype_month_get(struct icaltimetype *);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) { croak("Type error in argument 1 of icaltimetype_month_get. Expected struct icaltimetypePtr."); @@ -2211,7 +2211,7 @@ XS(_wrap_icaltimetype_day_set) { dXSARGS ; cv = cv; - if ((items < 2) || (items > 2)) + if ((items < 2) || (items > 2)) croak("Usage: icaltimetype_day_set(struct icaltimetype *,int );"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) { croak("Type error in argument 1 of icaltimetype_day_set. Expected struct icaltimetypePtr."); @@ -2233,7 +2233,7 @@ XS(_wrap_icaltimetype_day_get) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icaltimetype_day_get(struct icaltimetype *);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) { croak("Type error in argument 1 of icaltimetype_day_get. Expected struct icaltimetypePtr."); @@ -2255,7 +2255,7 @@ XS(_wrap_icaltimetype_hour_set) { dXSARGS ; cv = cv; - if ((items < 2) || (items > 2)) + if ((items < 2) || (items > 2)) croak("Usage: icaltimetype_hour_set(struct icaltimetype *,int );"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) { croak("Type error in argument 1 of icaltimetype_hour_set. Expected struct icaltimetypePtr."); @@ -2277,7 +2277,7 @@ XS(_wrap_icaltimetype_hour_get) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icaltimetype_hour_get(struct icaltimetype *);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) { croak("Type error in argument 1 of icaltimetype_hour_get. Expected struct icaltimetypePtr."); @@ -2299,7 +2299,7 @@ XS(_wrap_icaltimetype_minute_set) { dXSARGS ; cv = cv; - if ((items < 2) || (items > 2)) + if ((items < 2) || (items > 2)) croak("Usage: icaltimetype_minute_set(struct icaltimetype *,int );"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) { croak("Type error in argument 1 of icaltimetype_minute_set. Expected struct icaltimetypePtr."); @@ -2321,7 +2321,7 @@ XS(_wrap_icaltimetype_minute_get) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icaltimetype_minute_get(struct icaltimetype *);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) { croak("Type error in argument 1 of icaltimetype_minute_get. Expected struct icaltimetypePtr."); @@ -2343,7 +2343,7 @@ XS(_wrap_icaltimetype_second_set) { dXSARGS ; cv = cv; - if ((items < 2) || (items > 2)) + if ((items < 2) || (items > 2)) croak("Usage: icaltimetype_second_set(struct icaltimetype *,int );"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) { croak("Type error in argument 1 of icaltimetype_second_set. Expected struct icaltimetypePtr."); @@ -2365,7 +2365,7 @@ XS(_wrap_icaltimetype_second_get) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icaltimetype_second_get(struct icaltimetype *);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) { croak("Type error in argument 1 of icaltimetype_second_get. Expected struct icaltimetypePtr."); @@ -2387,7 +2387,7 @@ XS(_wrap_icaltimetype_is_utc_set) { dXSARGS ; cv = cv; - if ((items < 2) || (items > 2)) + if ((items < 2) || (items > 2)) croak("Usage: icaltimetype_is_utc_set(struct icaltimetype *,int );"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) { croak("Type error in argument 1 of icaltimetype_is_utc_set. Expected struct icaltimetypePtr."); @@ -2409,7 +2409,7 @@ XS(_wrap_icaltimetype_is_utc_get) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icaltimetype_is_utc_get(struct icaltimetype *);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) { croak("Type error in argument 1 of icaltimetype_is_utc_get. Expected struct icaltimetypePtr."); @@ -2431,7 +2431,7 @@ XS(_wrap_icaltimetype_is_date_set) { dXSARGS ; cv = cv; - if ((items < 2) || (items > 2)) + if ((items < 2) || (items > 2)) croak("Usage: icaltimetype_is_date_set(struct icaltimetype *,int );"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) { croak("Type error in argument 1 of icaltimetype_is_date_set. Expected struct icaltimetypePtr."); @@ -2453,7 +2453,7 @@ XS(_wrap_icaltimetype_is_date_get) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icaltimetype_is_date_get(struct icaltimetype *);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaltimetypePtr")) { croak("Type error in argument 1 of icaltimetype_is_date_get. Expected struct icaltimetypePtr."); @@ -2475,7 +2475,7 @@ XS(_wrap_icaldurationtype_is_neg_set) { dXSARGS ; cv = cv; - if ((items < 2) || (items > 2)) + if ((items < 2) || (items > 2)) croak("Usage: icaldurationtype_is_neg_set(struct icaldurationtype *,int );"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaldurationtypePtr")) { croak("Type error in argument 1 of icaldurationtype_is_neg_set. Expected struct icaldurationtypePtr."); @@ -2497,7 +2497,7 @@ XS(_wrap_icaldurationtype_is_neg_get) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icaldurationtype_is_neg_get(struct icaldurationtype *);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaldurationtypePtr")) { croak("Type error in argument 1 of icaldurationtype_is_neg_get. Expected struct icaldurationtypePtr."); @@ -2519,7 +2519,7 @@ XS(_wrap_icaldurationtype_days_set) { dXSARGS ; cv = cv; - if ((items < 2) || (items > 2)) + if ((items < 2) || (items > 2)) croak("Usage: icaldurationtype_days_set(struct icaldurationtype *,unsigned int );"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaldurationtypePtr")) { croak("Type error in argument 1 of icaldurationtype_days_set. Expected struct icaldurationtypePtr."); @@ -2541,7 +2541,7 @@ XS(_wrap_icaldurationtype_days_get) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icaldurationtype_days_get(struct icaldurationtype *);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaldurationtypePtr")) { croak("Type error in argument 1 of icaldurationtype_days_get. Expected struct icaldurationtypePtr."); @@ -2563,7 +2563,7 @@ XS(_wrap_icaldurationtype_weeks_set) { dXSARGS ; cv = cv; - if ((items < 2) || (items > 2)) + if ((items < 2) || (items > 2)) croak("Usage: icaldurationtype_weeks_set(struct icaldurationtype *,unsigned int );"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaldurationtypePtr")) { croak("Type error in argument 1 of icaldurationtype_weeks_set. Expected struct icaldurationtypePtr."); @@ -2585,7 +2585,7 @@ XS(_wrap_icaldurationtype_weeks_get) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icaldurationtype_weeks_get(struct icaldurationtype *);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaldurationtypePtr")) { croak("Type error in argument 1 of icaldurationtype_weeks_get. Expected struct icaldurationtypePtr."); @@ -2607,7 +2607,7 @@ XS(_wrap_icaldurationtype_hours_set) { dXSARGS ; cv = cv; - if ((items < 2) || (items > 2)) + if ((items < 2) || (items > 2)) croak("Usage: icaldurationtype_hours_set(struct icaldurationtype *,unsigned int );"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaldurationtypePtr")) { croak("Type error in argument 1 of icaldurationtype_hours_set. Expected struct icaldurationtypePtr."); @@ -2629,7 +2629,7 @@ XS(_wrap_icaldurationtype_hours_get) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icaldurationtype_hours_get(struct icaldurationtype *);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaldurationtypePtr")) { croak("Type error in argument 1 of icaldurationtype_hours_get. Expected struct icaldurationtypePtr."); @@ -2651,7 +2651,7 @@ XS(_wrap_icaldurationtype_minutes_set) { dXSARGS ; cv = cv; - if ((items < 2) || (items > 2)) + if ((items < 2) || (items > 2)) croak("Usage: icaldurationtype_minutes_set(struct icaldurationtype *,unsigned int );"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaldurationtypePtr")) { croak("Type error in argument 1 of icaldurationtype_minutes_set. Expected struct icaldurationtypePtr."); @@ -2673,7 +2673,7 @@ XS(_wrap_icaldurationtype_minutes_get) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icaldurationtype_minutes_get(struct icaldurationtype *);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaldurationtypePtr")) { croak("Type error in argument 1 of icaldurationtype_minutes_get. Expected struct icaldurationtypePtr."); @@ -2695,7 +2695,7 @@ XS(_wrap_icaldurationtype_seconds_set) { dXSARGS ; cv = cv; - if ((items < 2) || (items > 2)) + if ((items < 2) || (items > 2)) croak("Usage: icaldurationtype_seconds_set(struct icaldurationtype *,unsigned int );"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaldurationtypePtr")) { croak("Type error in argument 1 of icaldurationtype_seconds_set. Expected struct icaldurationtypePtr."); @@ -2717,7 +2717,7 @@ XS(_wrap_icaldurationtype_seconds_get) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icaldurationtype_seconds_get(struct icaldurationtype *);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icaldurationtypePtr")) { croak("Type error in argument 1 of icaldurationtype_seconds_get. Expected struct icaldurationtypePtr."); @@ -2739,7 +2739,7 @@ XS(_wrap_icalperiodtype_start_set) { dXSARGS ; cv = cv; - if ((items < 2) || (items > 2)) + if ((items < 2) || (items > 2)) croak("Usage: icalperiodtype_start_set(struct icalperiodtype *,struct icaltimetype *);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icalperiodtypePtr")) { croak("Type error in argument 1 of icalperiodtype_start_set. Expected struct icalperiodtypePtr."); @@ -2764,7 +2764,7 @@ XS(_wrap_icalperiodtype_start_get) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icalperiodtype_start_get(struct icalperiodtype *);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icalperiodtypePtr")) { croak("Type error in argument 1 of icalperiodtype_start_get. Expected struct icalperiodtypePtr."); @@ -2786,7 +2786,7 @@ XS(_wrap_icalperiodtype_end_set) { dXSARGS ; cv = cv; - if ((items < 2) || (items > 2)) + if ((items < 2) || (items > 2)) croak("Usage: icalperiodtype_end_set(struct icalperiodtype *,struct icaltimetype *);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icalperiodtypePtr")) { croak("Type error in argument 1 of icalperiodtype_end_set. Expected struct icalperiodtypePtr."); @@ -2811,7 +2811,7 @@ XS(_wrap_icalperiodtype_end_get) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icalperiodtype_end_get(struct icalperiodtype *);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icalperiodtypePtr")) { croak("Type error in argument 1 of icalperiodtype_end_get. Expected struct icalperiodtypePtr."); @@ -2833,7 +2833,7 @@ XS(_wrap_icalperiodtype_duration_set) { dXSARGS ; cv = cv; - if ((items < 2) || (items > 2)) + if ((items < 2) || (items > 2)) croak("Usage: icalperiodtype_duration_set(struct icalperiodtype *,struct icaldurationtype *);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icalperiodtypePtr")) { croak("Type error in argument 1 of icalperiodtype_duration_set. Expected struct icalperiodtypePtr."); @@ -2858,7 +2858,7 @@ XS(_wrap_icalperiodtype_duration_get) { dXSARGS ; cv = cv; - if ((items < 1) || (items > 1)) + if ((items < 1) || (items > 1)) croak("Usage: icalperiodtype_duration_get(struct icalperiodtype *);"); if (SWIG_GetPtr(ST(0),(void **) &_arg0,"struct icalperiodtypePtr")) { croak("Type error in argument 1 of icalperiodtype_duration_get. Expected struct icalperiodtypePtr."); @@ -3016,7 +3016,7 @@ XS(boot_Net__ICal__Libical) { newXS("Net::ICal::Libical::icalperiodtype_duration_set", _wrap_icalperiodtype_duration_set, file); newXS("Net::ICal::Libical::icalperiodtype_duration_get", _wrap_icalperiodtype_duration_get, file); /* - * These are the pointer type-equivalency mappings. + * These are the pointer type-equivalency mappings. * (Used by the SWIG pointer type-checker). */ SWIG_RegisterMapping("unsigned short","short",0); diff --git a/src/Net-ICal-Libical/netical_wrap.doc b/src/Net-ICal-Libical/netical_wrap.doc index d74e59ca..cdab4aa1 100644 --- a/src/Net-ICal-Libical/netical_wrap.doc +++ b/src/Net-ICal-Libical/netical_wrap.doc @@ -104,7 +104,7 @@ $ICAL_PARSE_ERROR = ICAL_PARSE_ERROR $ICAL_INTERNAL_ERROR = ICAL_INTERNAL_ERROR [ Constant: int ] - Like assert --internal consist. prob + Like assert --internal consist. prob $ICAL_FILE_ERROR = ICAL_FILE_ERROR [ Constant: int ] @@ -117,23 +117,23 @@ $ICAL_USAGE_ERROR = ICAL_USAGE_ERROR $ICAL_NO_ERROR = ICAL_NO_ERROR [ Constant: int ] - Used for problems in input to icalerror_strerror() + Used for problems in input to icalerror_strerror() $ICAL_UNKNOWN_ERROR = ICAL_UNKNOWN_ERROR [ Constant: int ] $ICAL_ERROR_FATAL = ICAL_ERROR_FATAL [ Constant: int ] - Not fata + Not fata $ICAL_ERROR_NONFATAL = ICAL_ERROR_NONFATAL [ Constant: int ] - Fatal + Fatal $ICAL_ERROR_DEFAULT = ICAL_ERROR_DEFAULT [ Constant: int ] Use the value of icalerror_errors_are_fatal Asked state for an unknown - error type + error type $ICAL_ERROR_UNKNOWN = ICAL_ERROR_UNKNOWN [ Constant: int ] @@ -153,7 +153,7 @@ icalenum_string_to_property_kind(string); icalenum_value_kind_to_string(kind); [ returns char * ] icalvalue_kind icalenum_value_kind_by_prop(icalproperty_kind kind); - + icalenum_parameter_kind_to_string(kind); [ returns char * ] @@ -229,16 +229,16 @@ icaltimetype_second_get(struct icaltimetype *); icaltimetype_is_utc_set(struct icaltimetype *,int ); icaltimetype_is_utc_get(struct icaltimetype *); [ Member data: returns int ] - 1-> time is in UTC timezone + 1-> time is in UTC timezone icaltimetype_is_date_set(struct icaltimetype *,int ); icaltimetype_is_date_get(struct icaltimetype *); [ Member data: returns int ] - 1 -> interpret this as date. + 1 -> interpret this as date. $icaltimetype_zone = icaltimetype::zone [ Constant: char * ] - Ptr to Olsen placename. Libical does not own mem + Ptr to Olsen placename. Libical does not own mem ---------- diff --git a/src/Net-ICal-Libical/test-data/mail-examples b/src/Net-ICal-Libical/test-data/mail-examples index 5fb7c55c..522f1586 100644 --- a/src/Net-ICal-Libical/test-data/mail-examples +++ b/src/Net-ICal-Libical/test-data/mail-examples @@ -23,7 +23,7 @@ UID:calsvr.example.com-873970198738777 ATTACH:ftp://ftp.bar.com/pub/docs/foo.doc STATUS:CONFIRMED END:VEVENT -END:VCALENDAR +END:VCALENDAR From foo2@example.com Sun Jan 16 17:34:23 2000 From: foo2@example.com @@ -33,7 +33,7 @@ Mime-Version: 1.0 Content-Type: multipart/alternative;boundary="01BD3665.3AF0D360" --01BD3665.3AF0D360 -Content-Type: text/plain;charset=us-ascii +Content-Type: text/plain;charset=us-ascii Content-Transfer-Encoding: 7bit This is an alternative representation of a TEXT/CALENDAR MIME Object diff --git a/src/Net-ICal-Libical/test-data/no-error b/src/Net-ICal-Libical/test-data/no-error index f5b5ce99..6effc988 100644 --- a/src/Net-ICal-Libical/test-data/no-error +++ b/src/Net-ICal-Libical/test-data/no-error @@ -23,4 +23,4 @@ UID:calsvr.example.com-873970198738777 ATTACH:ftp://ftp.bar.com/pub/docs/foo.doc STATUS:CONFIRMED END:VEVENT -END:VCALENDAR +END:VCALENDAR diff --git a/src/Net-ICal-Libical/test-data/single-with-error b/src/Net-ICal-Libical/test-data/single-with-error index 6a368d99..8417eaba 100644 --- a/src/Net-ICal-Libical/test-data/single-with-error +++ b/src/Net-ICal-Libical/test-data/single-with-error @@ -32,7 +32,7 @@ CREATED:19980309T130000Z SUMMARY:XYZ Project Review DTSTAR;TZID=US-Eastern:19980312T083000 DTEND;TZID=US-Eastern:19980312T093000 -LOCATION:1CP Conference +LOCATION:1CP Conference Room 4350 END:VEVENT END:VCALENDAR |