reSWIGged

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-08-29 19:26:06 +00:00
parent 8989034ec9
commit eec1c382d0
12 changed files with 168 additions and 237 deletions

View File

@@ -6722,13 +6722,11 @@ SWIGINTERN PyObject *_wrap__BitmapFromBufferAlpha(PyObject *SWIGUNUSEDPARM(self)
}
arg2 = static_cast< int >(val2);
{
if (obj2 != Py_None) {
if (!PyArg_Parse(obj2, "t#", &arg3, &arg4)) SWIG_fail;
}
if (PyObject_AsReadBuffer(obj2, (const void**)(&arg3), &arg4) == -1) SWIG_fail;
}
{
if (obj3 != Py_None) {
if (!PyArg_Parse(obj3, "t#", &arg5, &arg6)) SWIG_fail;
if (PyObject_AsReadBuffer(obj3, (const void**)(&arg5), &arg6) == -1) SWIG_fail;
}
}
{
@@ -6772,9 +6770,7 @@ SWIGINTERN PyObject *_wrap__BitmapFromBuffer(PyObject *SWIGUNUSEDPARM(self), PyO
}
arg2 = static_cast< int >(val2);
{
if (obj2 != Py_None) {
if (!PyArg_Parse(obj2, "t#", &arg3, &arg4)) SWIG_fail;
}
if (PyObject_AsReadBuffer(obj2, (const void**)(&arg3), &arg4) == -1) SWIG_fail;
}
{
result = (wxBitmap *)_BitmapFromBuffer(arg1,arg2,arg3,arg4);
@@ -6817,9 +6813,7 @@ SWIGINTERN PyObject *_wrap__BitmapFromBufferRGBA(PyObject *SWIGUNUSEDPARM(self),
}
arg2 = static_cast< int >(val2);
{
if (obj2 != Py_None) {
if (!PyArg_Parse(obj2, "t#", &arg3, &arg4)) SWIG_fail;
}
if (PyObject_AsReadBuffer(obj2, (const void**)(&arg3), &arg4) == -1) SWIG_fail;
}
{
result = (wxBitmap *)_BitmapFromBufferRGBA(arg1,arg2,arg3,arg4);