reSWIGged

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-02-12 01:39:33 +00:00
parent 927d7cfa70
commit db91459553
22 changed files with 1037 additions and 147 deletions

View File

@@ -11665,6 +11665,7 @@ static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *self, PyObject *args,
PyObject *resultobj;
wxArrayString *arg1 = 0 ;
wxFileTypeInfo *result;
bool temp1 = False ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "sArray", NULL
@@ -11677,6 +11678,7 @@ static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *self, PyObject *args,
SWIG_fail;
}
arg1 = new wxArrayString;
temp1 = True;
int i, len=PySequence_Length(obj0);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj0, i);
@@ -11699,12 +11701,12 @@ static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *self, PyObject *args,
}
resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
{
if (arg1) delete arg1;
if (temp1) delete arg1;
}
return resultobj;
fail:
{
if (arg1) delete arg1;
if (temp1) delete arg1;
}
return NULL;
}
@@ -23453,12 +23455,12 @@ static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *self, PyObject *args)
if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
{
arg2 = (int) SWIG_PyObj_AsInt(obj1);
arg2 = (wxDataFormatId) SWIG_PyObj_AsInt(obj1);
if (PyErr_Occurred()) SWIG_fail;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (bool)((wxDataFormat const *)arg1)->operator ==(arg2);
result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormatId )arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
@@ -23481,12 +23483,12 @@ static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *self, PyObject *args)
if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
{
arg2 = (int) SWIG_PyObj_AsInt(obj1);
arg2 = (wxDataFormatId) SWIG_PyObj_AsInt(obj1);
if (PyErr_Occurred()) SWIG_fail;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (bool)((wxDataFormat const *)arg1)->operator !=(arg2);
result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormatId )arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;