From: <cry...@us...> - 2008-05-04 02:51:34
|
Revision: 29538 http://crystal.svn.sourceforge.net/crystal/?rev=29538&view=rev Author: crystal-manage Date: 2008-05-03 19:51:28 -0700 (Sat, 03 May 2008) Log Message: ----------- master header files: Automated master header file repair. Visual-C++ project files: Automated Visual-C++ project file repair. Texinfo files: Automated Texinfo @node and @menu repair. Swig Python files: Automated Swig Python file repair. Swig Perl5 files: Automated Swig Perl5 file repair. User's Manual: Automated Texinfo to HTML conversion. Modified Paths: -------------- CS/trunk/plugins/cscript/pycore/cs_core.cpp CS/trunk/plugins/cscript/pycsgeom/cs_csgeom.cpp CS/trunk/plugins/cscript/pycstool/cs_cstool.cpp CS/trunk/plugins/cscript/pyiengine/cs_iengine.cpp CS/trunk/plugins/cscript/pyimesh/cs_imesh.cpp CS/trunk/scripts/perl5/cspace.pm CS/trunk/scripts/perl5/cswigpl5.inc CS/trunk/scripts/python/frozen/cspace/core.py CS/trunk/scripts/python/frozen/cspace/csgeom.py CS/trunk/scripts/python/frozen/cspace/iengine.py CS/trunk/scripts/python/frozen/cspace/imesh.py Modified: CS/trunk/plugins/cscript/pycore/cs_core.cpp =================================================================== --- CS/trunk/plugins/cscript/pycore/cs_core.cpp 2008-05-04 01:08:35 UTC (rev 29537) +++ CS/trunk/plugins/cscript/pycore/cs_core.cpp 2008-05-04 02:51:28 UTC (rev 29538) @@ -2504,214 +2504,221 @@ #define SWIGTYPE_p_csArrayCapacityLinearTcsArrayThresholdVariable_t swig_types[26] #define SWIGTYPE_p_csArrayTcsImageIOFileFormatDescription_const_p_csArrayElementHandlerTcsImageIOFileFormatDescription_const_p_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t swig_types[27] #define SWIGTYPE_p_csArrayTcsPluginRequest_csArrayElementHandlerTcsPluginRequest_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t swig_types[28] -#define SWIGTYPE_p_csArrayThresholdVariable swig_types[29] -#define SWIGTYPE_p_csBox2 swig_types[30] -#define SWIGTYPE_p_csBox3 swig_types[31] -#define SWIGTYPE_p_csColor swig_types[32] -#define SWIGTYPE_p_csColor4 swig_types[33] -#define SWIGTYPE_p_csCommandEventData swig_types[34] -#define SWIGTYPE_p_csCommandEventHelper swig_types[35] -#define SWIGTYPE_p_csCommandLineHelper swig_types[36] -#define SWIGTYPE_p_csConfigFile swig_types[37] -#define SWIGTYPE_p_csDirtyAccessArrayTcsTriangle_t swig_types[38] -#define SWIGTYPE_p_csDirtyAccessArrayTcsVector2_t swig_types[39] -#define SWIGTYPE_p_csDirtyAccessArrayTcsVector3_t swig_types[40] -#define SWIGTYPE_p_csEllipsoid swig_types[41] -#define SWIGTYPE_p_csEvent swig_types[42] -#define SWIGTYPE_p_csEventNameRegistry swig_types[43] -#define SWIGTYPE_p_csFileTime swig_types[44] -#define SWIGTYPE_p_csFlags swig_types[45] -#define SWIGTYPE_p_csHandlerID swig_types[46] -#define SWIGTYPE_p_csImageIOFileFormatDescription swig_types[47] -#define SWIGTYPE_p_csInitializer swig_types[48] -#define SWIGTYPE_p_csInputEventHelper swig_types[49] -#define SWIGTYPE_p_csJoystickEventData swig_types[50] -#define SWIGTYPE_p_csJoystickEventHelper swig_types[51] -#define SWIGTYPE_p_csKeyEventData swig_types[52] -#define SWIGTYPE_p_csKeyEventHelper swig_types[53] -#define SWIGTYPE_p_csMouseEventData swig_types[54] -#define SWIGTYPE_p_csMouseEventHelper swig_types[55] -#define SWIGTYPE_p_csObject swig_types[56] -#define SWIGTYPE_p_csPluginRequest swig_types[57] -#define SWIGTYPE_p_csPrimitives swig_types[58] -#define SWIGTYPE_p_csPtrTiBase_t swig_types[59] -#define SWIGTYPE_p_csPtrTiKeyComposer_t swig_types[60] -#define SWIGTYPE_p_csPtrTiObjectRegistryIterator_t swig_types[61] -#define SWIGTYPE_p_csPyEventPlug swig_types[62] -#define SWIGTYPE_p_csRGBpixel swig_types[63] -#define SWIGTYPE_p_csRadixSorter swig_types[64] -#define SWIGTYPE_p_csRect swig_types[65] -#define SWIGTYPE_p_csRefArrayTiObject_t swig_types[66] -#define SWIGTYPE_p_csRefCount swig_types[67] -#define SWIGTYPE_p_csRefTiBase_t swig_types[68] -#define SWIGTYPE_p_csRefTiDocumentAttribute_t swig_types[69] -#define SWIGTYPE_p_csRefTiDocumentNodeIterator_t swig_types[70] -#define SWIGTYPE_p_csRefTiDocumentNode_t swig_types[71] -#define SWIGTYPE_p_csRefTiEventAttributeIterator_t swig_types[72] -#define SWIGTYPE_p_csRefTiEventHandlerRegistry_t swig_types[73] -#define SWIGTYPE_p_csRefTiEventHandler_t swig_types[74] -#define SWIGTYPE_p_csRefTiEventNameRegistry_t swig_types[75] -#define SWIGTYPE_p_csRefTiEvent_t swig_types[76] -#define SWIGTYPE_p_csReporterHelper swig_types[77] -#define SWIGTYPE_p_csSetTunsigned_long_CS__Memory__AllocatorMalloc_t swig_types[78] -#define SWIGTYPE_p_csString swig_types[79] -#define SWIGTYPE_p_csStringArray swig_types[80] -#define SWIGTYPE_p_csStringBase swig_types[81] -#define SWIGTYPE_p_csStringFastT36_t swig_types[82] -#define SWIGTYPE_p_csStringSet swig_types[83] -#define SWIGTYPE_p_csTinyDocumentSystem swig_types[84] -#define SWIGTYPE_p_csTriangle swig_types[85] -#define SWIGTYPE_p_csVector2 swig_types[86] -#define SWIGTYPE_p_csVector3 swig_types[87] -#define SWIGTYPE_p_csVertexStatus swig_types[88] -#define SWIGTYPE_p_csWrapPtr swig_types[89] -#define SWIGTYPE_p_double swig_types[90] -#define SWIGTYPE_p_f_p_iBase__p__csPyEventHandler swig_types[91] -#define SWIGTYPE_p_f_p_iBase__p_csConfigFile swig_types[92] -#define SWIGTYPE_p_f_p_iBase__p_csObject swig_types[93] -#define SWIGTYPE_p_f_p_iBase__p_csPyEventPlug swig_types[94] -#define SWIGTYPE_p_f_p_iBase__p_iAnimatedImage swig_types[95] -#define SWIGTYPE_p_f_p_iBase__p_iBase swig_types[96] -#define SWIGTYPE_p_f_p_iBase__p_iCacheManager swig_types[97] -#define SWIGTYPE_p_f_p_iBase__p_iClipper2D swig_types[98] -#define SWIGTYPE_p_f_p_iBase__p_iCommandLineParser swig_types[99] -#define SWIGTYPE_p_f_p_iBase__p_iComponent swig_types[100] -#define SWIGTYPE_p_f_p_iBase__p_iConfigFile swig_types[101] -#define SWIGTYPE_p_f_p_iBase__p_iConfigIterator swig_types[102] -#define SWIGTYPE_p_f_p_iBase__p_iConfigManager swig_types[103] -#define SWIGTYPE_p_f_p_iBase__p_iDataBuffer swig_types[104] -#define SWIGTYPE_p_f_p_iBase__p_iDebugHelper swig_types[105] -#define SWIGTYPE_p_f_p_iBase__p_iDocument swig_types[106] -#define SWIGTYPE_p_f_p_iBase__p_iDocumentAttribute swig_types[107] -#define SWIGTYPE_p_f_p_iBase__p_iDocumentAttributeIterator swig_types[108] -#define SWIGTYPE_p_f_p_iBase__p_iDocumentNode swig_types[109] -#define SWIGTYPE_p_f_p_iBase__p_iDocumentNodeIterator swig_types[110] -#define SWIGTYPE_p_f_p_iBase__p_iDocumentSystem swig_types[111] -#define SWIGTYPE_p_f_p_iBase__p_iEvent swig_types[112] -#define SWIGTYPE_p_f_p_iBase__p_iEventAttributeIterator swig_types[113] -#define SWIGTYPE_p_f_p_iBase__p_iEventCord swig_types[114] -#define SWIGTYPE_p_f_p_iBase__p_iEventHandler swig_types[115] -#define SWIGTYPE_p_f_p_iBase__p_iEventNameRegistry swig_types[116] -#define SWIGTYPE_p_f_p_iBase__p_iEventOutlet swig_types[117] -#define SWIGTYPE_p_f_p_iBase__p_iEventPlug swig_types[118] -#define SWIGTYPE_p_f_p_iBase__p_iEventQueue swig_types[119] -#define SWIGTYPE_p_f_p_iBase__p_iFactory swig_types[120] -#define SWIGTYPE_p_f_p_iBase__p_iFile swig_types[121] -#define SWIGTYPE_p_f_p_iBase__p_iImage swig_types[122] -#define SWIGTYPE_p_f_p_iBase__p_iImageIO swig_types[123] -#define SWIGTYPE_p_f_p_iBase__p_iJoystickDriver swig_types[124] -#define SWIGTYPE_p_f_p_iBase__p_iKeyComposer swig_types[125] -#define SWIGTYPE_p_f_p_iBase__p_iKeyboardDriver swig_types[126] -#define SWIGTYPE_p_f_p_iBase__p_iMouseDriver swig_types[127] -#define SWIGTYPE_p_f_p_iBase__p_iObject swig_types[128] -#define SWIGTYPE_p_f_p_iBase__p_iObjectIterator swig_types[129] -#define SWIGTYPE_p_f_p_iBase__p_iObjectNameChangeListener swig_types[130] -#define SWIGTYPE_p_f_p_iBase__p_iObjectRegistry swig_types[131] -#define SWIGTYPE_p_f_p_iBase__p_iObjectRegistryIterator swig_types[132] -#define SWIGTYPE_p_f_p_iBase__p_iPath swig_types[133] -#define SWIGTYPE_p_f_p_iBase__p_iPluginIterator swig_types[134] -#define SWIGTYPE_p_f_p_iBase__p_iPluginManager swig_types[135] -#define SWIGTYPE_p_f_p_iBase__p_iProcTexture swig_types[136] -#define SWIGTYPE_p_f_p_iBase__p_iReporter swig_types[137] -#define SWIGTYPE_p_f_p_iBase__p_iReporterIterator swig_types[138] -#define SWIGTYPE_p_f_p_iBase__p_iReporterListener swig_types[139] -#define SWIGTYPE_p_f_p_iBase__p_iSCF swig_types[140] -#define SWIGTYPE_p_f_p_iBase__p_iString swig_types[141] -#define SWIGTYPE_p_f_p_iBase__p_iStringArray swig_types[142] -#define SWIGTYPE_p_f_p_iBase__p_iStringSet swig_types[143] -#define SWIGTYPE_p_f_p_iBase__p_iTriangleMesh swig_types[144] -#define SWIGTYPE_p_f_p_iBase__p_iVFS swig_types[145] -#define SWIGTYPE_p_f_p_iBase__p_iVirtualClock swig_types[146] -#define SWIGTYPE_p_f_p_iBase__p_scfImplementation1T_csPyEventHandler_iEventHandler_t swig_types[147] -#define SWIGTYPE_p_f_p_iBase__p_scfImplementation1TcsConfigFile_iConfigFile_t swig_types[148] -#define SWIGTYPE_p_f_p_iBase__p_scfImplementation1TcsObject_iObject_t swig_types[149] -#define SWIGTYPE_p_f_p_iBase__p_scfImplementation1TcsPath_iPath_t swig_types[150] -#define SWIGTYPE_p_f_p_iBase__p_scfImplementation1TcsPyEventPlug_iEventPlug_t swig_types[151] -#define SWIGTYPE_p_float swig_types[152] -#define SWIGTYPE_p_iAnimatedImage swig_types[153] -#define SWIGTYPE_p_iBase swig_types[154] -#define SWIGTYPE_p_iCacheManager swig_types[155] -#define SWIGTYPE_p_iClipper2D swig_types[156] -#define SWIGTYPE_p_iCommandLineParser swig_types[157] -#define SWIGTYPE_p_iComponent swig_types[158] -#define SWIGTYPE_p_iConfigFile swig_types[159] -#define SWIGTYPE_p_iConfigIterator swig_types[160] -#define SWIGTYPE_p_iConfigManager swig_types[161] -#define SWIGTYPE_p_iDataBuffer swig_types[162] -#define SWIGTYPE_p_iDebugHelper swig_types[163] -#define SWIGTYPE_p_iDocument swig_types[164] -#define SWIGTYPE_p_iDocumentAttribute swig_types[165] -#define SWIGTYPE_p_iDocumentAttributeIterator swig_types[166] -#define SWIGTYPE_p_iDocumentNode swig_types[167] -#define SWIGTYPE_p_iDocumentNodeIterator swig_types[168] -#define SWIGTYPE_p_iDocumentSystem swig_types[169] -#define SWIGTYPE_p_iEvent swig_types[170] -#define SWIGTYPE_p_iEventAttributeIterator swig_types[171] -#define SWIGTYPE_p_iEventCord swig_types[172] -#define SWIGTYPE_p_iEventHandler swig_types[173] -#define SWIGTYPE_p_iEventNameRegistry swig_types[174] -#define SWIGTYPE_p_iEventOutlet swig_types[175] -#define SWIGTYPE_p_iEventPlug swig_types[176] -#define SWIGTYPE_p_iEventQueue swig_types[177] -#define SWIGTYPE_p_iFactory swig_types[178] -#define SWIGTYPE_p_iFile swig_types[179] -#define SWIGTYPE_p_iGraphics2D swig_types[180] -#define SWIGTYPE_p_iGraphics3D swig_types[181] -#define SWIGTYPE_p_iImage swig_types[182] -#define SWIGTYPE_p_iImageIO swig_types[183] -#define SWIGTYPE_p_iJoystickDriver swig_types[184] -#define SWIGTYPE_p_iKeyComposer swig_types[185] -#define SWIGTYPE_p_iKeyboardDriver swig_types[186] -#define SWIGTYPE_p_iMouseDriver swig_types[187] -#define SWIGTYPE_p_iObject swig_types[188] -#define SWIGTYPE_p_iObjectIterator swig_types[189] -#define SWIGTYPE_p_iObjectNameChangeListener swig_types[190] -#define SWIGTYPE_p_iObjectRegistry swig_types[191] -#define SWIGTYPE_p_iObjectRegistryIterator swig_types[192] -#define SWIGTYPE_p_iPath swig_types[193] -#define SWIGTYPE_p_iPluginIterator swig_types[194] -#define SWIGTYPE_p_iPluginManager swig_types[195] -#define SWIGTYPE_p_iProcTexture swig_types[196] -#define SWIGTYPE_p_iReporter swig_types[197] -#define SWIGTYPE_p_iReporterIterator swig_types[198] -#define SWIGTYPE_p_iReporterListener swig_types[199] -#define SWIGTYPE_p_iSCF swig_types[200] -#define SWIGTYPE_p_iString swig_types[201] -#define SWIGTYPE_p_iStringArray swig_types[202] -#define SWIGTYPE_p_iStringSet swig_types[203] -#define SWIGTYPE_p_iTextureFactory swig_types[204] -#define SWIGTYPE_p_iTriangleMesh swig_types[205] -#define SWIGTYPE_p_iVFS swig_types[206] -#define SWIGTYPE_p_iVerbosityManager swig_types[207] -#define SWIGTYPE_p_iVirtualClock swig_types[208] -#define SWIGTYPE_p_int swig_types[209] -#define SWIGTYPE_p_int16_t swig_types[210] -#define SWIGTYPE_p_int64_t swig_types[211] -#define SWIGTYPE_p_int8_t swig_types[212] -#define SWIGTYPE_p_intptr_t swig_types[213] -#define SWIGTYPE_p_long_long swig_types[214] -#define SWIGTYPE_p_p_char swig_types[215] -#define SWIGTYPE_p_p_csImageIOFileFormatDescription swig_types[216] -#define SWIGTYPE_p_p_void swig_types[217] -#define SWIGTYPE_p_scfImplementation1T_csPyEventHandler_iEventHandler_t swig_types[218] -#define SWIGTYPE_p_scfImplementation1TcsConfigFile_iConfigFile_t swig_types[219] -#define SWIGTYPE_p_scfImplementation1TcsObject_iObject_t swig_types[220] -#define SWIGTYPE_p_scfImplementation1TcsPath_iPath_t swig_types[221] -#define SWIGTYPE_p_scfImplementation1TcsPyEventPlug_iEventPlug_t swig_types[222] -#define SWIGTYPE_p_scfInterfaceMetadata swig_types[223] -#define SWIGTYPE_p_scfInterfaceMetadataList swig_types[224] -#define SWIGTYPE_p_size_t swig_types[225] -#define SWIGTYPE_p_uint16_t swig_types[226] -#define SWIGTYPE_p_uint32_t swig_types[227] -#define SWIGTYPE_p_uint64_t swig_types[228] -#define SWIGTYPE_p_unsigned_char swig_types[229] -#define SWIGTYPE_p_unsigned_int swig_types[230] -#define SWIGTYPE_p_unsigned_long swig_types[231] -#define SWIGTYPE_p_unsigned_long_long swig_types[232] -#define SWIGTYPE_p_utf32_char swig_types[233] -#define SWIGTYPE_p_void swig_types[234] -static swig_type_info *swig_types[236]; -static swig_module_info swig_module = {swig_types, 235, 0, 0, 0, 0}; +#define SWIGTYPE_p_csArrayTcsVector2_csArrayElementHandlerTcsVector2_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t swig_types[29] +#define SWIGTYPE_p_csArrayTcsVector3_csArrayElementHandlerTcsVector3_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t swig_types[30] +#define SWIGTYPE_p_csArrayTcsVector4_csArrayElementHandlerTcsVector4_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t swig_types[31] +#define SWIGTYPE_p_csArrayThresholdVariable swig_types[32] +#define SWIGTYPE_p_csArrayTunsigned_int_csArrayElementHandlerTunsigned_int_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t swig_types[33] +#define SWIGTYPE_p_csBox2 swig_types[34] +#define SWIGTYPE_p_csBox3 swig_types[35] +#define SWIGTYPE_p_csColor swig_types[36] +#define SWIGTYPE_p_csColor4 swig_types[37] +#define SWIGTYPE_p_csCommandEventData swig_types[38] +#define SWIGTYPE_p_csCommandEventHelper swig_types[39] +#define SWIGTYPE_p_csCommandLineHelper swig_types[40] +#define SWIGTYPE_p_csConfigFile swig_types[41] +#define SWIGTYPE_p_csDirtyAccessArrayTcsTriangle_csArrayElementHandlerTcsTriangle_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t swig_types[42] +#define SWIGTYPE_p_csDirtyAccessArrayTcsVector2_csArrayElementHandlerTcsVector2_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t swig_types[43] +#define SWIGTYPE_p_csDirtyAccessArrayTcsVector3_csArrayElementHandlerTcsVector3_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t swig_types[44] +#define SWIGTYPE_p_csDirtyAccessArrayTcsVector4_csArrayElementHandlerTcsVector4_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t swig_types[45] +#define SWIGTYPE_p_csDirtyAccessArrayTunsigned_int_csArrayElementHandlerTunsigned_int_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t swig_types[46] +#define SWIGTYPE_p_csEllipsoid swig_types[47] +#define SWIGTYPE_p_csEvent swig_types[48] +#define SWIGTYPE_p_csEventNameRegistry swig_types[49] +#define SWIGTYPE_p_csFileTime swig_types[50] +#define SWIGTYPE_p_csFlags swig_types[51] +#define SWIGTYPE_p_csHandlerID swig_types[52] +#define SWIGTYPE_p_csImageIOFileFormatDescription swig_types[53] +#define SWIGTYPE_p_csInitializer swig_types[54] +#define SWIGTYPE_p_csInputEventHelper swig_types[55] +#define SWIGTYPE_p_csJoystickEventData swig_types[56] +#define SWIGTYPE_p_csJoystickEventHelper swig_types[57] +#define SWIGTYPE_p_csKeyEventData swig_types[58] +#define SWIGTYPE_p_csKeyEventHelper swig_types[59] +#define SWIGTYPE_p_csMouseEventData swig_types[60] +#define SWIGTYPE_p_csMouseEventHelper swig_types[61] +#define SWIGTYPE_p_csObject swig_types[62] +#define SWIGTYPE_p_csPluginRequest swig_types[63] +#define SWIGTYPE_p_csPrimitives swig_types[64] +#define SWIGTYPE_p_csPtrTiBase_t swig_types[65] +#define SWIGTYPE_p_csPtrTiKeyComposer_t swig_types[66] +#define SWIGTYPE_p_csPtrTiObjectRegistryIterator_t swig_types[67] +#define SWIGTYPE_p_csPyEventPlug swig_types[68] +#define SWIGTYPE_p_csRGBpixel swig_types[69] +#define SWIGTYPE_p_csRadixSorter swig_types[70] +#define SWIGTYPE_p_csRect swig_types[71] +#define SWIGTYPE_p_csRefArrayTiObject_t swig_types[72] +#define SWIGTYPE_p_csRefCount swig_types[73] +#define SWIGTYPE_p_csRefTiBase_t swig_types[74] +#define SWIGTYPE_p_csRefTiDocumentAttribute_t swig_types[75] +#define SWIGTYPE_p_csRefTiDocumentNodeIterator_t swig_types[76] +#define SWIGTYPE_p_csRefTiDocumentNode_t swig_types[77] +#define SWIGTYPE_p_csRefTiEventAttributeIterator_t swig_types[78] +#define SWIGTYPE_p_csRefTiEventHandlerRegistry_t swig_types[79] +#define SWIGTYPE_p_csRefTiEventHandler_t swig_types[80] +#define SWIGTYPE_p_csRefTiEventNameRegistry_t swig_types[81] +#define SWIGTYPE_p_csRefTiEvent_t swig_types[82] +#define SWIGTYPE_p_csReporterHelper swig_types[83] +#define SWIGTYPE_p_csSetTunsigned_long_CS__Memory__AllocatorMalloc_t swig_types[84] +#define SWIGTYPE_p_csString swig_types[85] +#define SWIGTYPE_p_csStringArray swig_types[86] +#define SWIGTYPE_p_csStringBase swig_types[87] +#define SWIGTYPE_p_csStringFastT36_t swig_types[88] +#define SWIGTYPE_p_csStringSet swig_types[89] +#define SWIGTYPE_p_csTinyDocumentSystem swig_types[90] +#define SWIGTYPE_p_csTriangle swig_types[91] +#define SWIGTYPE_p_csVector2 swig_types[92] +#define SWIGTYPE_p_csVector3 swig_types[93] +#define SWIGTYPE_p_csVector4 swig_types[94] +#define SWIGTYPE_p_csVertexStatus swig_types[95] +#define SWIGTYPE_p_csWrapPtr swig_types[96] +#define SWIGTYPE_p_double swig_types[97] +#define SWIGTYPE_p_f_p_iBase__p__csPyEventHandler swig_types[98] +#define SWIGTYPE_p_f_p_iBase__p_csConfigFile swig_types[99] +#define SWIGTYPE_p_f_p_iBase__p_csObject swig_types[100] +#define SWIGTYPE_p_f_p_iBase__p_csPyEventPlug swig_types[101] +#define SWIGTYPE_p_f_p_iBase__p_iAnimatedImage swig_types[102] +#define SWIGTYPE_p_f_p_iBase__p_iBase swig_types[103] +#define SWIGTYPE_p_f_p_iBase__p_iCacheManager swig_types[104] +#define SWIGTYPE_p_f_p_iBase__p_iClipper2D swig_types[105] +#define SWIGTYPE_p_f_p_iBase__p_iCommandLineParser swig_types[106] +#define SWIGTYPE_p_f_p_iBase__p_iComponent swig_types[107] +#define SWIGTYPE_p_f_p_iBase__p_iConfigFile swig_types[108] +#define SWIGTYPE_p_f_p_iBase__p_iConfigIterator swig_types[109] +#define SWIGTYPE_p_f_p_iBase__p_iConfigManager swig_types[110] +#define SWIGTYPE_p_f_p_iBase__p_iDataBuffer swig_types[111] +#define SWIGTYPE_p_f_p_iBase__p_iDebugHelper swig_types[112] +#define SWIGTYPE_p_f_p_iBase__p_iDocument swig_types[113] +#define SWIGTYPE_p_f_p_iBase__p_iDocumentAttribute swig_types[114] +#define SWIGTYPE_p_f_p_iBase__p_iDocumentAttributeIterator swig_types[115] +#define SWIGTYPE_p_f_p_iBase__p_iDocumentNode swig_types[116] +#define SWIGTYPE_p_f_p_iBase__p_iDocumentNodeIterator swig_types[117] +#define SWIGTYPE_p_f_p_iBase__p_iDocumentSystem swig_types[118] +#define SWIGTYPE_p_f_p_iBase__p_iEvent swig_types[119] +#define SWIGTYPE_p_f_p_iBase__p_iEventAttributeIterator swig_types[120] +#define SWIGTYPE_p_f_p_iBase__p_iEventCord swig_types[121] +#define SWIGTYPE_p_f_p_iBase__p_iEventHandler swig_types[122] +#define SWIGTYPE_p_f_p_iBase__p_iEventNameRegistry swig_types[123] +#define SWIGTYPE_p_f_p_iBase__p_iEventOutlet swig_types[124] +#define SWIGTYPE_p_f_p_iBase__p_iEventPlug swig_types[125] +#define SWIGTYPE_p_f_p_iBase__p_iEventQueue swig_types[126] +#define SWIGTYPE_p_f_p_iBase__p_iFactory swig_types[127] +#define SWIGTYPE_p_f_p_iBase__p_iFile swig_types[128] +#define SWIGTYPE_p_f_p_iBase__p_iImage swig_types[129] +#define SWIGTYPE_p_f_p_iBase__p_iImageIO swig_types[130] +#define SWIGTYPE_p_f_p_iBase__p_iJoystickDriver swig_types[131] +#define SWIGTYPE_p_f_p_iBase__p_iKeyComposer swig_types[132] +#define SWIGTYPE_p_f_p_iBase__p_iKeyboardDriver swig_types[133] +#define SWIGTYPE_p_f_p_iBase__p_iMouseDriver swig_types[134] +#define SWIGTYPE_p_f_p_iBase__p_iObject swig_types[135] +#define SWIGTYPE_p_f_p_iBase__p_iObjectIterator swig_types[136] +#define SWIGTYPE_p_f_p_iBase__p_iObjectNameChangeListener swig_types[137] +#define SWIGTYPE_p_f_p_iBase__p_iObjectRegistry swig_types[138] +#define SWIGTYPE_p_f_p_iBase__p_iObjectRegistryIterator swig_types[139] +#define SWIGTYPE_p_f_p_iBase__p_iPath swig_types[140] +#define SWIGTYPE_p_f_p_iBase__p_iPluginIterator swig_types[141] +#define SWIGTYPE_p_f_p_iBase__p_iPluginManager swig_types[142] +#define SWIGTYPE_p_f_p_iBase__p_iProcTexture swig_types[143] +#define SWIGTYPE_p_f_p_iBase__p_iReporter swig_types[144] +#define SWIGTYPE_p_f_p_iBase__p_iReporterIterator swig_types[145] +#define SWIGTYPE_p_f_p_iBase__p_iReporterListener swig_types[146] +#define SWIGTYPE_p_f_p_iBase__p_iSCF swig_types[147] +#define SWIGTYPE_p_f_p_iBase__p_iString swig_types[148] +#define SWIGTYPE_p_f_p_iBase__p_iStringArray swig_types[149] +#define SWIGTYPE_p_f_p_iBase__p_iStringSet swig_types[150] +#define SWIGTYPE_p_f_p_iBase__p_iTriangleMesh swig_types[151] +#define SWIGTYPE_p_f_p_iBase__p_iVFS swig_types[152] +#define SWIGTYPE_p_f_p_iBase__p_iVirtualClock swig_types[153] +#define SWIGTYPE_p_f_p_iBase__p_scfImplementation1T_csPyEventHandler_iEventHandler_t swig_types[154] +#define SWIGTYPE_p_f_p_iBase__p_scfImplementation1TcsConfigFile_iConfigFile_t swig_types[155] +#define SWIGTYPE_p_f_p_iBase__p_scfImplementation1TcsObject_iObject_t swig_types[156] +#define SWIGTYPE_p_f_p_iBase__p_scfImplementation1TcsPath_iPath_t swig_types[157] +#define SWIGTYPE_p_f_p_iBase__p_scfImplementation1TcsPyEventPlug_iEventPlug_t swig_types[158] +#define SWIGTYPE_p_float swig_types[159] +#define SWIGTYPE_p_iAnimatedImage swig_types[160] +#define SWIGTYPE_p_iBase swig_types[161] +#define SWIGTYPE_p_iCacheManager swig_types[162] +#define SWIGTYPE_p_iClipper2D swig_types[163] +#define SWIGTYPE_p_iCommandLineParser swig_types[164] +#define SWIGTYPE_p_iComponent swig_types[165] +#define SWIGTYPE_p_iConfigFile swig_types[166] +#define SWIGTYPE_p_iConfigIterator swig_types[167] +#define SWIGTYPE_p_iConfigManager swig_types[168] +#define SWIGTYPE_p_iDataBuffer swig_types[169] +#define SWIGTYPE_p_iDebugHelper swig_types[170] +#define SWIGTYPE_p_iDocument swig_types[171] +#define SWIGTYPE_p_iDocumentAttribute swig_types[172] +#define SWIGTYPE_p_iDocumentAttributeIterator swig_types[173] +#define SWIGTYPE_p_iDocumentNode swig_types[174] +#define SWIGTYPE_p_iDocumentNodeIterator swig_types[175] +#define SWIGTYPE_p_iDocumentSystem swig_types[176] +#define SWIGTYPE_p_iEvent swig_types[177] +#define SWIGTYPE_p_iEventAttributeIterator swig_types[178] +#define SWIGTYPE_p_iEventCord swig_types[179] +#define SWIGTYPE_p_iEventHandler swig_types[180] +#define SWIGTYPE_p_iEventNameRegistry swig_types[181] +#define SWIGTYPE_p_iEventOutlet swig_types[182] +#define SWIGTYPE_p_iEventPlug swig_types[183] +#define SWIGTYPE_p_iEventQueue swig_types[184] +#define SWIGTYPE_p_iFactory swig_types[185] +#define SWIGTYPE_p_iFile swig_types[186] +#define SWIGTYPE_p_iGraphics2D swig_types[187] +#define SWIGTYPE_p_iGraphics3D swig_types[188] +#define SWIGTYPE_p_iImage swig_types[189] +#define SWIGTYPE_p_iImageIO swig_types[190] +#define SWIGTYPE_p_iJoystickDriver swig_types[191] +#define SWIGTYPE_p_iKeyComposer swig_types[192] +#define SWIGTYPE_p_iKeyboardDriver swig_types[193] +#define SWIGTYPE_p_iMouseDriver swig_types[194] +#define SWIGTYPE_p_iObject swig_types[195] +#define SWIGTYPE_p_iObjectIterator swig_types[196] +#define SWIGTYPE_p_iObjectNameChangeListener swig_types[197] +#define SWIGTYPE_p_iObjectRegistry swig_types[198] +#define SWIGTYPE_p_iObjectRegistryIterator swig_types[199] +#define SWIGTYPE_p_iPath swig_types[200] +#define SWIGTYPE_p_iPluginIterator swig_types[201] +#define SWIGTYPE_p_iPluginManager swig_types[202] +#define SWIGTYPE_p_iProcTexture swig_types[203] +#define SWIGTYPE_p_iReporter swig_types[204] +#define SWIGTYPE_p_iReporterIterator swig_types[205] +#define SWIGTYPE_p_iReporterListener swig_types[206] +#define SWIGTYPE_p_iSCF swig_types[207] +#define SWIGTYPE_p_iString swig_types[208] +#define SWIGTYPE_p_iStringArray swig_types[209] +#define SWIGTYPE_p_iStringSet swig_types[210] +#define SWIGTYPE_p_iTextureFactory swig_types[211] +#define SWIGTYPE_p_iTriangleMesh swig_types[212] +#define SWIGTYPE_p_iVFS swig_types[213] +#define SWIGTYPE_p_iVerbosityManager swig_types[214] +#define SWIGTYPE_p_iVirtualClock swig_types[215] +#define SWIGTYPE_p_int swig_types[216] +#define SWIGTYPE_p_int16_t swig_types[217] +#define SWIGTYPE_p_int64_t swig_types[218] +#define SWIGTYPE_p_int8_t swig_types[219] +#define SWIGTYPE_p_intptr_t swig_types[220] +#define SWIGTYPE_p_long_long swig_types[221] +#define SWIGTYPE_p_p_char swig_types[222] +#define SWIGTYPE_p_p_csImageIOFileFormatDescription swig_types[223] +#define SWIGTYPE_p_p_void swig_types[224] +#define SWIGTYPE_p_scfImplementation1T_csPyEventHandler_iEventHandler_t swig_types[225] +#define SWIGTYPE_p_scfImplementation1TcsConfigFile_iConfigFile_t swig_types[226] +#define SWIGTYPE_p_scfImplementation1TcsObject_iObject_t swig_types[227] +#define SWIGTYPE_p_scfImplementation1TcsPath_iPath_t swig_types[228] +#define SWIGTYPE_p_scfImplementation1TcsPyEventPlug_iEventPlug_t swig_types[229] +#define SWIGTYPE_p_scfInterfaceMetadata swig_types[230] +#define SWIGTYPE_p_scfInterfaceMetadataList swig_types[231] +#define SWIGTYPE_p_size_t swig_types[232] +#define SWIGTYPE_p_uint16_t swig_types[233] +#define SWIGTYPE_p_uint32_t swig_types[234] +#define SWIGTYPE_p_uint64_t swig_types[235] +#define SWIGTYPE_p_unsigned_char swig_types[236] +#define SWIGTYPE_p_unsigned_int swig_types[237] +#define SWIGTYPE_p_unsigned_long swig_types[238] +#define SWIGTYPE_p_unsigned_long_long swig_types[239] +#define SWIGTYPE_p_utf32_char swig_types[240] +#define SWIGTYPE_p_void swig_types[241] +static swig_type_info *swig_types[243]; +static swig_module_info swig_module = {swig_types, 242, 0, 0, 0, 0}; #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) @@ -3222,6 +3229,29 @@ } +SWIGINTERNINLINE PyObject * +SWIG_From_unsigned_SS_int (unsigned int value) +{ + return SWIG_From_unsigned_SS_long (value); +} + + +SWIGINTERN int +SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val) +{ + unsigned long v; + int res = SWIG_AsVal_unsigned_SS_long (obj, &v); + if (SWIG_IsOK(res)) { + if ((v > UINT_MAX)) { + return SWIG_OverflowError; + } else { + if (val) *val = static_cast< unsigned int >(v); + } + } + return res; +} + + void SetCoreSCFPointer(iSCF *scf_pointer) { iSCF::SCF = scf_pointer; @@ -3258,13 +3288,6 @@ SWIGINTERN void delete_iSCF(iSCF *self){ if (self) self->DecRef (); } SWIGINTERN int iFactory_scfGetVersion(){ return scfInterfaceTraits<iFactory>::GetVersion(); } SWIGINTERN void delete_iFactory(iFactory *self){ if (self) self->DecRef (); } - -SWIGINTERNINLINE PyObject * -SWIG_From_unsigned_SS_int (unsigned int value) -{ - return SWIG_From_unsigned_SS_long (value); -} - SWIGINTERN int iDebugHelper_scfGetVersion(){ return scfInterfaceTraits<iDebugHelper>::GetVersion(); } SWIGINTERN void delete_iDebugHelper(iDebugHelper *self){ if (self) self->DecRef (); } SWIGINTERN int iCommandLineParser_scfGetVersion(){ return scfInterfaceTraits<iCommandLineParser>::GetVersion(); } @@ -3376,22 +3399,6 @@ SWIGINTERN void delete_iObjectRegistry(iObjectRegistry *self){ if (self) self->DecRef (); } SWIGINTERN int iVirtualClock_scfGetVersion(){ return scfInterfaceTraits<iVirtualClock>::GetVersion(); } SWIGINTERN void delete_iVirtualClock(iVirtualClock *self){ if (self) self->DecRef (); } - -SWIGINTERN int -SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val) -{ - unsigned long v; - int res = SWIG_AsVal_unsigned_SS_long (obj, &v); - if (SWIG_IsOK(res)) { - if ((v > UINT_MAX)) { - return SWIG_OverflowError; - } else { - if (val) *val = static_cast< unsigned int >(v); - } - } - return res; -} - SWIGINTERN csEventError iEvent_RetrieveString(iEvent *self,char const *name,char *&v){ return self->Retrieve(name,(const char *&)v); } @@ -4495,6 +4502,4794 @@ } +SWIGINTERN PyObject *_wrap_new_Vector2Array__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + size_t arg1 ; + csArrayCapacityDefault *arg2 = 0 ; + csArray<csVector2 > *result = 0 ; + size_t val1 ; + int ecode1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + + if(!PyArg_UnpackTuple(args,(char *)"new_Vector2Array",2,2,&obj0,&obj1)) SWIG_fail; + ecode1 = SWIG_AsVal_size_t(obj0, &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Vector2Array" "', argument " "1"" of type '" "size_t""'"); + } + arg1 = static_cast< size_t >(val1); + res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csArrayCapacityDefault, 0 | 0); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Vector2Array" "', argument " "2"" of type '" "csArrayCapacityDefault const &""'"); + } + if (!argp2) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Vector2Array" "', argument " "2"" of type '" "csArrayCapacityDefault const &""'"); + } + arg2 = reinterpret_cast< csArrayCapacityDefault * >(argp2); + result = (csArray<csVector2 > *)new csArray<csVector2 >(arg1,(csArrayCapacityDefault const &)*arg2); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csArrayTcsVector2_csArrayElementHandlerTcsVector2_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_Vector2Array__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + size_t arg1 ; + csArray<csVector2 > *result = 0 ; + size_t val1 ; + int ecode1 = 0 ; + PyObject * obj0 = 0 ; + + if(!PyArg_UnpackTuple(args,(char *)"new_Vector2Array",1,1,&obj0)) SWIG_fail; + ecode1 = SWIG_AsVal_size_t(obj0, &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Vector2Array" "', argument " "1"" of type '" "size_t""'"); + } + arg1 = static_cast< size_t >(val1); + result = (csArray<csVector2 > *)new csArray<csVector2 >(arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csArrayTcsVector2_csArrayElementHandlerTcsVector2_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_Vector2Array__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + csArray<csVector2 > *result = 0 ; + + if(!PyArg_UnpackTuple(args,(char *)"new_Vector2Array",0,0)) SWIG_fail; + result = (csArray<csVector2 > *)new csArray<csVector2 >(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csArrayTcsVector2_csArrayElementHandlerTcsVector2_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_Vector2Array__SWIG_3(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + size_t arg1 ; + CS::Memory::AllocatorMalloc *arg2 = 0 ; + csArrayCapacityDefault *arg3 = 0 ; + csArray<csVector2 > *result = 0 ; + size_t val1 ; + int ecode1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + void *argp3 = 0 ; + int res3 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + + if(!PyArg_UnpackTuple(args,(char *)"new_Vector2Array",3,3,&obj0,&obj1,&obj2)) SWIG_fail; + ecode1 = SWIG_AsVal_size_t(obj0, &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Vector2Array" "', argument " "1"" of type '" "size_t""'"); + } + arg1 = static_cast< size_t >(val1); + res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_CS__Memory__AllocatorMalloc, 0 | 0); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Vector2Array" "', argument " "2"" of type '" "CS::Memory::AllocatorMalloc const &""'"); + } + if (!argp2) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Vector2Array" "', argument " "2"" of type '" "CS::Memory::AllocatorMalloc const &""'"); + } + arg2 = reinterpret_cast< CS::Memory::AllocatorMalloc * >(argp2); + res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csArrayCapacityDefault, 0 | 0); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_Vector2Array" "', argument " "3"" of type '" "csArrayCapacityDefault const &""'"); + } + if (!argp3) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Vector2Array" "', argument " "3"" of type '" "csArrayCapacityDefault const &""'"); + } + arg3 = reinterpret_cast< csArrayCapacityDefault * >(argp3); + result = (csArray<csVector2 > *)new csArray<csVector2 >(arg1,(CS::Memory::AllocatorMalloc const &)*arg2,(csArrayCapacityDefault const &)*arg3); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csArrayTcsVector2_csArrayElementHandlerTcsVector2_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_Vector2Array(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + csArray<csVector2 > *arg1 = (csArray<csVector2 > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + + if(!PyArg_UnpackTuple(args,(char *)"delete_Vector2Array",1,1,&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsVector2_csArrayElementHandlerTcsVector2_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Vector2Array" "', argument " "1"" of type '" "csArray<csVector2 > *""'"); + } + arg1 = reinterpret_cast< csArray<csVector2 > * >(argp1); + delete arg1; + + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_Vector2Array__SWIG_4(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + csArray<csVector2 > *arg1 = 0 ; + csArray<csVector2 > *result = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + + if(!PyArg_UnpackTuple(args,(char *)"new_Vector2Array",1,1,&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_csArrayTcsVector2_csArrayElementHandlerTcsVector2_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 | 0); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Vector2Array" "', argument " "1"" of type '" "csArray<csVector2 > const &""'"); + } + if (!argp1) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Vector2Array" "', argument " "1"" of type '" "csArray<csVector2 > const &""'"); + } + arg1 = reinterpret_cast< csArray<csVector2 > * >(argp1); + result = (csArray<csVector2 > *)new csArray<csVector2 >((csArray<csVector2 > const &)*arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csArrayTcsVector2_csArrayElementHandlerTcsVector2_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_Vector2Array(PyObject *self, PyObject *args) { + int argc; + PyObject *argv[4]; + int ii; + + if (!PyTuple_Check(args)) SWIG_fail; + argc = PyObject_Length(args); + for (ii = 0; (ii < argc) && (ii < 3); ii++) { + argv[ii] = PyTuple_GET_ITEM(args,ii); + } + if (argc == 0) { + return _wrap_new_Vector2Array__SWIG_2(self, args); + } + if (argc == 1) { + int _v; + int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_csArrayTcsVector2_csArrayElementHandlerTcsVector2_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0); + _v = SWIG_CheckState(res); + if (_v) { + return _wrap_new_Vector2Array__SWIG_4(self, args); + } + } + if (argc == 1) { + int _v; + { + int res = SWIG_AsVal_size_t(argv[0], NULL); + _v = SWIG_CheckState(res); + } + if (_v) { + return _wrap_new_Vector2Array__SWIG_1(self, args); + } + } + if (argc == 2) { + int _v; + { + int res = SWIG_AsVal_size_t(argv[0], NULL); + _v = SWIG_CheckState(res); + } + if (_v) { + int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_csArrayCapacityDefault, 0); + _v = SWIG_CheckState(res); + if (_v) { + return _wrap_new_Vector2Array__SWIG_0(self, args); + } + } + } + if (argc == 3) { + int _v; + { + int res = SWIG_AsVal_size_t(argv[0], NULL); + _v = SWIG_CheckState(res); + } + if (_v) { + int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_CS__Memory__AllocatorMalloc, 0); + _v = SWIG_CheckState(res); + if (_v) { + int res = SWIG_ConvertPtr(argv[2], 0, SWIGTYPE_p_csArrayCapacityDefault, 0); + _v = SWIG_CheckState(res); + if (_v) { + return _wrap_new_Vector2Array__SWIG_3(self, args); + } + } + } + } + +fail: + SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'new_Vector2Array'.\n Possible C/C++ prototypes are:\n csArray<(csVector2)>(size_t,csArrayCapacityDefault const &)\n csArray<(csVector2)>(size_t)\n csArray<(csVector2)>()\n csArray<(csVector2)>(size_t,CS::Memory::AllocatorMalloc const &,csArrayCapacityDefault const &)\n csArray<(csVector2)>(csArray<csVector2 > const &)\n"); + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Vector2Array_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + csArray<csVector2 > *arg1 = (csArray<csVector2 > *) 0 ; + size_t result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + + if(!PyArg_UnpackTuple(args,(char *)"Vector2Array_GetSize",1,1,&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsVector2_csArrayElementHandlerTcsVector2_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Vector2Array_GetSize" "', argument " "1"" of type '" "csArray<csVector2 > const *""'"); + } + arg1 = reinterpret_cast< csArray<csVector2 > * >(argp1); + result = ((csArray<csVector2 > const *)arg1)->GetSize(); + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Vector2Array_Get__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + csArray<csVector2 > *arg1 = (csArray<csVector2 > *) 0 ; + size_t arg2 ; + csVector2 *result = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + + if(!PyArg_UnpackTuple(args,(char *)"Vector2Array_Get",2,2,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsVector2_csArrayElementHandlerTcsVector2_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Vector2Array_Get" "', argument " "1"" of type '" "csArray<csVector2 > *""'"); + } + arg1 = reinterpret_cast< csArray<csVector2 > * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Vector2Array_Get" "', argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + { + csVector2 &_result_ref = (arg1)->Get(arg2); + result = (csVector2 *) &_result_ref; + } + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector2, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Vector2Array_Get__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + csArray<csVector2 > *arg1 = (csArray<csVector2 > *) 0 ; + size_t arg2 ; + csVector2 *result = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + + if(!PyArg_UnpackTuple(args,(char *)"Vector2Array_Get",2,2,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsVector2_csArrayElementHandlerTcsVector2_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Vector2Array_Get" "', argument " "1"" of type '" "csArray<csVector2 > const *""'"); + } + arg1 = reinterpret_cast< csArray<csVector2 > * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Vector2Array_Get" "', argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + { + csVector2 const &_result_ref = ((csArray<csVector2 > const *)arg1)->Get(arg2); + result = (csVector2 *) &_result_ref; + } + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector2, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Vector2Array_Get(PyObject *self, PyObject *args) { + int argc; + PyObject *argv[3]; + int ii; + + if (!PyTuple_Check(args)) SWIG_fail; + argc = PyObject_Length(args); + for (ii = 0; (ii < argc) && (ii < 2); ii++) { + argv[ii] = PyTuple_GET_ITEM(args,ii); + } + if (argc == 2) { + int _v; + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csArrayTcsVector2_csArrayElementHandlerTcsVector2_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0); + _v = SWIG_CheckState(res); + if (_v) { + { + int res = SWIG_AsVal_size_t(argv[1], NULL); + _v = SWIG_CheckState(res); + } + if (_v) { + return _wrap_Vector2Array_Get__SWIG_0(self, args); + } + } + } + if (argc == 2) { + int _v; + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csArrayTcsVector2_csArrayElementHandlerTcsVector2_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0); + _v = SWIG_CheckState(res); + if (_v) { + { + int res = SWIG_AsVal_size_t(argv[1], NULL); + _v = SWIG_CheckState(res); + } + if (_v) { + return _wrap_Vector2Array_Get__SWIG_1(self, args); + } + } + } + +fail: + SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'Vector2Array_Get'.\n Possible C/C++ prototypes are:\n Get(size_t)\n Get(size_t)\n"); + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Vector2Array_Put(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + csArray<csVector2 > *arg1 = (csArray<csVector2 > *) 0 ; + size_t arg2 ; + csVector2 *arg3 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + void *argp3 = 0 ; + int res3 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + + if(!PyArg_UnpackTuple(args,(char *)"Vector2Array_Put",3,3,&obj0,&obj1,&obj2)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsVector2_csArrayElementHandlerTcsVector2_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Vector2Array_Put" "', argument " "1"" of type '" "csArray<csVector2 > *""'"); + } + arg1 = reinterpret_cast< csArray<csVector2 > * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Vector2Array_Put" "', argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector2, 0 | 0); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Vector2Array_Put" "', argument " "3"" of type '" "csVector2 const &""'"); + } + if (!argp3) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Vector2Array_Put" "', argument " "3"" of type '" "csVector2 const &""'"); + } + arg3 = reinterpret_cast< csVector2 * >(argp3); + (arg1)->Put(arg2,(csVector2 const &)*arg3); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Vector2Array_Push(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + csArray<csVector2 > *arg1 = (csArray<csVector2 > *) 0 ; + csVector2 *arg2 = 0 ; + size_t result; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + + if(!PyArg_UnpackTuple(args,(char *)"Vector2Array_Push",2,2,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsVector2_csArrayElementHandlerTcsVector2_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Vector2Array_Push" "', argument " "1"" of type '" "csArray<csVector2 > *""'"); + } + arg1 = reinterpret_cast< csArray<csVector2 > * >(argp1); + res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector2, 0 | 0); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Vector2Array_Push" "', argument " "2"" of type '" "csVector2 const &""'"); + } + if (!argp2) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Vector2Array_Push" "', argument " "2"" of type '" "csVector2 const &""'"); + } + arg2 = reinterpret_cast< csVector2 * >(argp2); + result = (arg1)->Push((csVector2 const &)*arg2); + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Vector2Array_Pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + csArray<csVector2 > *arg1 = (csArray<csVector2 > *) 0 ; + csVector2 result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + + if(!PyArg_UnpackTuple(args,(char *)"Vector2Array_Pop",1,1,&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsVector2_csArrayElementHandlerTcsVector2_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Vector2Array_Pop" "', argument " "1"" of type '" "csArray<csVector2 > *""'"); + } + arg1 = reinterpret_cast< csArray<csVector2 > * >(argp1); + result = (arg1)->Pop(); + resultobj = SWIG_NewPointerObj((new csVector2(static_cast< const csVector2& >(result))), SWIGTYPE_p_csVector2, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Vector2Array_Top__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + csArray<csVector2 > *arg1 = (csArray<csVector2 > *) 0 ; + csVector2 *result = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + + if(!PyArg_UnpackTuple(args,(char *)"Vector2Array_Top",1,1,&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsVector2_csArrayElementHandlerTcsVector2_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Vector2Array_Top" "', argument " "1"" of type '" "csArray<csVector2 > const *""'"); + } + arg1 = reinterpret_cast< csArray<csVector2 > * >(argp1); + { + csVector2 const &_result_ref = ((csArray<csVector2 > const *)arg1)->Top(); + result = (csVector2 *) &_result_ref; + } + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector2, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Vector2Array_Top__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + csArray<csVector2 > *arg1 = (csArray<csVector2 > *) 0 ; + csVector2 *result = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + + if(!PyArg_UnpackTuple(args,(char *)"Vector2Array_Top",1,1,&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsVector2_csArrayElementHandlerTcsVector2_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Vector2Array_Top" "', argument " "1"" of type '" "csArray<csVector2 > *""'"); + } + arg1 = reinterpret_cast< csArray<csVector2 > * >(argp1); + { + csVector2 &_result_ref = (arg1)->Top(); + result = (csVector2 *) &_result_ref; + } + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_csVector2, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Vector2Array_Top(PyObject *self, PyObject *args) { + int argc; + PyObject *argv[2]; + int ii; + + if (!PyTuple_Check(args)) SWIG_fail; + argc = PyObject_Length(args); + for (ii = 0; (ii < argc) && (ii < 1); ii++) { + argv[ii] = PyTuple_GET_ITEM(args,ii); + } + if (argc == 1) { + int _v; + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csArrayTcsVector2_csArrayElementHandlerTcsVector2_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0); + _v = SWIG_CheckState(res); + if (_v) { + return _wrap_Vector2Array_Top__SWIG_1(self, args); + } + } + if (argc == 1) { + int _v; + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_csArrayTcsVector2_csArrayElementHandlerTcsVector2_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0); + _v = SWIG_CheckState(res); + if (_v) { + return _wrap_Vector2Array_Top__SWIG_0(self, args); + } + } + +fail: + SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number of arguments for overloaded function 'Vector2Array_Top'.\n Possible C/C++ prototypes are:\n Top()\n Top()\n"); + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Vector2Array_Insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + csArray<csVector2 > *arg1 = (csArray<csVector2 > *) 0 ; + size_t arg2 ; + csVector2 *arg3 = 0 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + void *argp3 = 0 ; + int res3 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + + if(!PyArg_UnpackTuple(args,(char *)"Vector2Array_Insert",3,3,&obj0,&obj1,&obj2)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsVector2_csArrayElementHandlerTcsVector2_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Vector2Array_Insert" "', argument " "1"" of type '" "csArray<csVector2 > *""'"); + } + arg1 = reinterpret_cast< csArray<csVector2 > * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Vector2Array_Insert" "', argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_csVector2, 0 | 0); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Vector2Array_Insert" "', argument " "3"" of type '" "csVector2 const &""'"); + } + if (!argp3) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Vector2Array_Insert" "', argument " "3"" of type '" "csVector2 const &""'"); + } + arg3 = reinterpret_cast< csVector2 * >(argp3); + result = (bool)(arg1)->Insert(arg2,(csVector2 const &)*arg3); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Vector2Array_Contains(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + csArray<csVector2 > *arg1 = (csArray<csVector2 > *) 0 ; + csVector2 *arg2 = 0 ; + size_t result; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + + if(!PyArg_UnpackTuple(args,(char *)"Vector2Array_Contains",2,2,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsVector2_csArrayElementHandlerTcsVector2_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Vector2Array_Contains" "', argument " "1"" of type '" "csArray<csVector2 > const *""'"); + } + arg1 = reinterpret_cast< csArray<csVector2 > * >(argp1); + res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_csVector2, 0 | 0); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Vector2Array_Contains" "', argument " "2"" of type '" "csVector2 const &""'"); + } + if (!argp2) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Vector2Array_Contains" "', argument " "2"" of type '" "csVector2 const &""'"); + } + arg2 = reinterpret_cast< csVector2 * >(argp2); + result = ((csArray<csVector2 > const *)arg1)->Contains((csVector2 const &)*arg2); + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Vector2Array_DeleteAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + csArray<csVector2 > *arg1 = (csArray<csVector2 > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + + if(!PyArg_UnpackTuple(args,(char *)"Vector2Array_DeleteAll",1,1,&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsVector2_csArrayElementHandlerTcsVector2_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Vector2Array_DeleteAll" "', argument " "1"" of type '" "csArray<csVector2 > *""'"); + } + arg1 = reinterpret_cast< csArray<csVector2 > * >(argp1); + (arg1)->DeleteAll(); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Vector2Array_Truncate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + csArray<csVector2 > *arg1 = (csArray<csVector2 > *) 0 ; + size_t arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + + if(!PyArg_UnpackTuple(args,(char *)"Vector2Array_Truncate",2,2,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsVector2_csArrayElementHandlerTcsVector2_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Vector2Array_Truncate" "', argument " "1"" of type '" "csArray<csVector2 > *""'"); + } + arg1 = reinterpret_cast< csArray<csVector2 > * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Vector2Array_Truncate" "', argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + (arg1)->Truncate(arg2); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Vector2Array_Empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + csArray<csVector2 > *arg1 = (csArray<csVector2 > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + + if(!PyArg_UnpackTuple(args,(char *)"Vector2Array_Empty",1,1,&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsVector2_csArrayElementHandlerTcsVector2_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Vector2Array_Empty" "', argument " "1"" of type '" "csArray<csVector2 > *""'"); + } + arg1 = reinterpret_cast< csArray<csVector2 > * >(argp1); + (arg1)->Empty(); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Vector2Array_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + csArray<csVector2 > *arg1 = (csArray<csVector2 > *) 0 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + + if(!PyArg_UnpackTuple(args,(char *)"Vector2Array_IsEmpty",1,1,&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsVector2_csArrayElementHandlerTcsVector2_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Vector2Array_IsEmpty" "', argument " "1"" of type '" "csArray<csVector2 > const *""'"); + } + arg1 = reinterpret_cast< csArray<csVector2 > * >(argp1); + result = (bool)((csArray<csVector2 > const *)arg1)->IsEmpty(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Vector2Array_SetMinimalCapacity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + csArray<csVector2 > *arg1 = (csArray<csVector2 > *) 0 ; + size_t arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + + if(!PyArg_UnpackTuple(args,(char *)"Vector2Array_SetMinimalCapacity",2,2,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsVector2_csArrayElementHandlerTcsVector2_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Vector2Array_SetMinimalCapacity" "', argument " "1"" of type '" "csArray<csVector2 > *""'"); + } + arg1 = reinterpret_cast< csArray<csVector2 > * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Vector2Array_SetMinimalCapacity" "', argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + (arg1)->SetMinimalCapacity(arg2); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Vector2Array_DeleteIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + csArray<csVector2 > *arg1 = (csArray<csVector2 > *) 0 ; + size_t arg2 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + + if(!PyArg_UnpackTuple(args,(char *)"Vector2Array_DeleteIndex",2,2,&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_csArrayTcsVector2_csArrayElementHandlerTcsVector2_t_CS__Memory__AllocatorMalloc_csArrayCapacityDefault_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Vector2Array_DeleteIndex" "', argument " "1"" of type '" "csArray<csVector2 > *""'"); + } + arg1 = reinterpret_cast< csArray<csVector2 > * >(argp1); + ecode2 = SWIG_AsVal_size_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Vector2Array_DeleteIndex" "', argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + result = (bool)(arg1)->DeleteIndex(arg2); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Vector2Array_DeleteIndexFast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + csArray<csVector2 > *arg1 = (csArray<csVector2 > *) 0 ; + size_t arg2 ; + bool result; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0... [truncated message content] |