long _arg3 = (long ) 0;
long _arg4 = (long ) 0;
PyObject * _argo0 = 0;
+ int NPOINTS;
PyObject * _obj2 = 0;
char *_kwnames[] = { "self","points","xoffset","yoffset", NULL };
}
if (_obj2)
{
- _arg2 = wxPoint_LIST_helper(_obj2);
- if (_arg2 == NULL) {
- return NULL;
- }
+ _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS);
+ if (_arg2 == NULL) {
+ return NULL;
+ }
}
{
- if (_obj2) {
- _arg1 = PyList_Size(_obj2);
- }
- else {
- _arg1 = 0;
- }
+ _arg1 = NPOINTS;
}
{
wxPy_BEGIN_ALLOW_THREADS;
long _arg4 = (long ) 0;
int _arg5 = (int ) wxODDEVEN_RULE;
PyObject * _argo0 = 0;
+ int NPOINTS;
PyObject * _obj2 = 0;
char *_kwnames[] = { "self","points","xoffset","yoffset","fill_style", NULL };
}
if (_obj2)
{
- _arg2 = wxPoint_LIST_helper(_obj2);
- if (_arg2 == NULL) {
- return NULL;
- }
+ _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS);
+ if (_arg2 == NULL) {
+ return NULL;
+ }
}
{
- if (_obj2) {
- _arg1 = PyList_Size(_obj2);
- }
- else {
- _arg1 = 0;
- }
+ _arg1 = NPOINTS;
}
{
wxPy_BEGIN_ALLOW_THREADS;
int _arg1;
wxPoint * _arg2;
PyObject * _argo0 = 0;
+ int NPOINTS;
PyObject * _obj2 = 0;
char *_kwnames[] = { "self","points", NULL };
}
if (_obj2)
{
- _arg2 = wxPoint_LIST_helper(_obj2);
- if (_arg2 == NULL) {
- return NULL;
- }
+ _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS);
+ if (_arg2 == NULL) {
+ return NULL;
+ }
}
{
- if (_obj2) {
- _arg1 = PyList_Size(_obj2);
- }
- else {
- _arg1 = 0;
- }
+ _arg1 = NPOINTS;
}
{
wxPy_BEGIN_ALLOW_THREADS;