reSWIGged

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-02-02 02:02:04 +00:00
parent 9037d43c67
commit 7e08d4efc7
69 changed files with 8387 additions and 2969 deletions
+5 -4
View File
@@ -9,6 +9,7 @@
* ----------------------------------------------------------------------------- */
#define SWIGPYTHON
#define SWIG_VERSION 0x010327
#ifdef __cplusplus
template<class T> class SwigValueWrapper {
@@ -1634,20 +1635,20 @@ static wxString CLSID_GetProgIDString(CLSID *self){
return str;
}
/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
/*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
#define SWIG_From_unsigned_SS_short PyInt_FromLong
/*@@*/
static wxString wxParamX_vt_type_get(wxParamX *self){ return _VARTYPEname(self->vt); }
/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
/*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
#define SWIG_From_long PyInt_FromLong
/*@@*/
static bool wxParamXArray___nonzero__(wxParamXArray *self){ return self->size() > 0; }
static int wxParamXArray___len__(wxParamXArray *self){ return self->size(); }
/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
/*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
#define SWIG_From_int PyInt_FromLong
/*@@*/
@@ -1686,7 +1687,7 @@ SWIG_AsVal_long(PyObject* obj, long* val)
return 1;
}
else {
SWIG_type_error("number", obj);
SWIG_Python_TypeError("number", obj);
}
return 0;
}
@@ -9,6 +9,7 @@
* ----------------------------------------------------------------------------- */
#define SWIGPYTHON
#define SWIG_VERSION 0x010327
#ifdef __cplusplus
template<class T> class SwigValueWrapper {
@@ -1590,7 +1591,7 @@ SWIG_AsVal_long(PyObject* obj, long* val)
return 1;
}
else {
SWIG_type_error("number", obj);
SWIG_Python_TypeError("number", obj);
}
return 0;
}
@@ -9,6 +9,7 @@
* ----------------------------------------------------------------------------- */
#define SWIGPYTHON
#define SWIG_VERSION 0x010327
#ifdef __cplusplus
template<class T> class SwigValueWrapper {
@@ -1590,7 +1591,7 @@ SWIG_AsVal_long(PyObject* obj, long* val)
return 1;
}
else {
SWIG_type_error("number", obj);
SWIG_Python_TypeError("number", obj);
}
return 0;
}
@@ -9,6 +9,7 @@
* ----------------------------------------------------------------------------- */
#define SWIGPYTHON
#define SWIG_VERSION 0x010327
#ifdef __cplusplus
template<class T> class SwigValueWrapper {
@@ -1551,7 +1552,7 @@ static swig_module_info swig_module = {swig_types, 98, 0, 0, 0, 0};
static const wxString wxPyAnimationControlNameStr(wxT("animationControl"));
static const wxString wxPyEmptyString(wxEmptyString);
/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
/*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
#define SWIG_From_int PyInt_FromLong
/*@@*/
@@ -1590,7 +1591,7 @@ SWIG_AsVal_long(PyObject* obj, long* val)
return 1;
}
else {
SWIG_type_error("number", obj);
SWIG_Python_TypeError("number", obj);
}
return 0;
}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -9,6 +9,7 @@
* ----------------------------------------------------------------------------- */
#define SWIGPYTHON
#define SWIG_VERSION 0x010327
#ifdef __cplusplus
template<class T> class SwigValueWrapper {
@@ -1580,7 +1581,7 @@ SWIG_AsVal_long(PyObject* obj, long* val)
return 1;
}
else {
SWIG_type_error("number", obj);
SWIG_Python_TypeError("number", obj);
}
return 0;
}
@@ -9,6 +9,7 @@
* ----------------------------------------------------------------------------- */
#define SWIGPYTHON
#define SWIG_VERSION 0x010327
#ifdef __cplusplus
template<class T> class SwigValueWrapper {
@@ -1580,7 +1581,7 @@ SWIG_AsVal_long(PyObject* obj, long* val)
return 1;
}
else {
SWIG_type_error("number", obj);
SWIG_Python_TypeError("number", obj);
}
return 0;
}
@@ -9,6 +9,7 @@
* ----------------------------------------------------------------------------- */
#define SWIGPYTHON
#define SWIG_VERSION 0x010327
#ifdef __cplusplus
template<class T> class SwigValueWrapper {
@@ -1580,7 +1581,7 @@ SWIG_AsVal_long(PyObject* obj, long* val)
return 1;
}
else {
SWIG_type_error("number", obj);
SWIG_Python_TypeError("number", obj);
}
return 0;
}
@@ -1662,7 +1663,7 @@ SWIG_Check_bool(PyObject* obj)
}
/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
/*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
#define SWIG_From_int PyInt_FromLong
/*@@*/
+25 -25
View File
@@ -9,6 +9,7 @@
* ----------------------------------------------------------------------------- */
#define SWIGPYTHON
#define SWIG_VERSION 0x010327
#ifdef __cplusplus
template<class T> class SwigValueWrapper {
@@ -1601,7 +1602,7 @@ SWIG_AsVal_long(PyObject* obj, long* val)
return 1;
}
else {
SWIG_type_error("number", obj);
SWIG_Python_TypeError("number", obj);
}
return 0;
}
@@ -1725,31 +1726,30 @@ SWIG_Check_bool(PyObject* obj)
}
static PyObject* t_output_helper(PyObject* target, PyObject* o) {
PyObject* o2;
PyObject* o3;
if (!target) {
target = o;
} else if (target == Py_None) {
Py_DECREF(Py_None);
target = o;
} else {
if (!PyTuple_Check(target)) {
o2 = target;
target = PyTuple_New(1);
PyTuple_SetItem(target, 0, o2);
}
o3 = PyTuple_New(1);
PyTuple_SetItem(o3, 0, o);
o2 = target;
target = PySequence_Concat(o2, o3);
Py_DECREF(o2);
Py_DECREF(o3);
static PyObject* t_output_helper(PyObject* result, PyObject* obj)
{
PyObject* o2;
PyObject* o3;
if (!result) {
result = obj;
} else if (result == Py_None) {
Py_DECREF(result);
result = obj;
} else {
if (!PyTuple_Check(result)) {
o2 = result;
result = PyTuple_New(1);
PyTuple_SET_ITEM(result, 0, o2);
}
o3 = PyTuple_New(1);
PyTuple_SetItem(o3, 0, obj);
o2 = result;
result = PySequence_Concat(o2, o3);
Py_DECREF(o2);
Py_DECREF(o3);
}
return result;
}
return target;
}
+25 -25
View File
@@ -9,6 +9,7 @@
* ----------------------------------------------------------------------------- */
#define SWIGPYTHON
#define SWIG_VERSION 0x010327
#ifdef __cplusplus
template<class T> class SwigValueWrapper {
@@ -1601,7 +1602,7 @@ SWIG_AsVal_long(PyObject* obj, long* val)
return 1;
}
else {
SWIG_type_error("number", obj);
SWIG_Python_TypeError("number", obj);
}
return 0;
}
@@ -1725,31 +1726,30 @@ SWIG_Check_bool(PyObject* obj)
}
static PyObject* t_output_helper(PyObject* target, PyObject* o) {
PyObject* o2;
PyObject* o3;
if (!target) {
target = o;
} else if (target == Py_None) {
Py_DECREF(Py_None);
target = o;
} else {
if (!PyTuple_Check(target)) {
o2 = target;
target = PyTuple_New(1);
PyTuple_SetItem(target, 0, o2);
}
o3 = PyTuple_New(1);
PyTuple_SetItem(o3, 0, o);
o2 = target;
target = PySequence_Concat(o2, o3);
Py_DECREF(o2);
Py_DECREF(o3);
static PyObject* t_output_helper(PyObject* result, PyObject* obj)
{
PyObject* o2;
PyObject* o3;
if (!result) {
result = obj;
} else if (result == Py_None) {
Py_DECREF(result);
result = obj;
} else {
if (!PyTuple_Check(result)) {
o2 = result;
result = PyTuple_New(1);
PyTuple_SET_ITEM(result, 0, o2);
}
o3 = PyTuple_New(1);
PyTuple_SetItem(o3, 0, obj);
o2 = result;
result = PySequence_Concat(o2, o3);
Py_DECREF(o2);
Py_DECREF(o3);
}
return result;
}
return target;
}
+27 -27
View File
@@ -9,6 +9,7 @@
* ----------------------------------------------------------------------------- */
#define SWIGPYTHON
#define SWIG_VERSION 0x010327
#ifdef __cplusplus
template<class T> class SwigValueWrapper {
@@ -1562,7 +1563,7 @@ static swig_module_info swig_module = {swig_types, 109, 0, 0, 0, 0};
static const wxString wxPySTCNameStr(wxSTCNameStr);
/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
/*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
#define SWIG_From_int PyInt_FromLong
/*@@*/
@@ -1601,7 +1602,7 @@ SWIG_AsVal_long(PyObject* obj, long* val)
return 1;
}
else {
SWIG_type_error("number", obj);
SWIG_Python_TypeError("number", obj);
}
return 0;
}
@@ -1725,31 +1726,30 @@ SWIG_Check_bool(PyObject* obj)
}
static PyObject* t_output_helper(PyObject* target, PyObject* o) {
PyObject* o2;
PyObject* o3;
if (!target) {
target = o;
} else if (target == Py_None) {
Py_DECREF(Py_None);
target = o;
} else {
if (!PyTuple_Check(target)) {
o2 = target;
target = PyTuple_New(1);
PyTuple_SetItem(target, 0, o2);
}
o3 = PyTuple_New(1);
PyTuple_SetItem(o3, 0, o);
o2 = target;
target = PySequence_Concat(o2, o3);
Py_DECREF(o2);
Py_DECREF(o3);
static PyObject* t_output_helper(PyObject* result, PyObject* obj)
{
PyObject* o2;
PyObject* o3;
if (!result) {
result = obj;
} else if (result == Py_None) {
Py_DECREF(result);
result = obj;
} else {
if (!PyTuple_Check(result)) {
o2 = result;
result = PyTuple_New(1);
PyTuple_SET_ITEM(result, 0, o2);
}
o3 = PyTuple_New(1);
PyTuple_SetItem(o3, 0, obj);
o2 = result;
result = PySequence_Concat(o2, o3);
Py_DECREF(o2);
Py_DECREF(o3);
}
return result;
}
return target;
}
@@ -1797,7 +1797,7 @@ SWIG_AsCharPtr(PyObject *obj, char **val)
}
/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
/*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
#define SWIG_From_long PyInt_FromLong
/*@@*/