X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f786a3b23d3f0a77c2039ed539623b1e0cfd2efb..a9c3ed030e26e572cd39fae70e9075540017baef:/utils/wxPython/modules/lseditor/gtk/lseditor.cpp diff --git a/utils/wxPython/modules/lseditor/gtk/lseditor.cpp b/utils/wxPython/modules/lseditor/gtk/lseditor.cpp index 7a7c858da0..a567818168 100644 --- a/utils/wxPython/modules/lseditor/gtk/lseditor.cpp +++ b/utils/wxPython/modules/lseditor/gtk/lseditor.cpp @@ -3,7 +3,7 @@ * * This file was automatically generated by : * Simplified Wrapper and Interface Generator (SWIG) - * Version 1.1 (Build 798) + * Version 1.1 (Patch 6) * * Portions Copyright (c) 1995-1998 * The University of Utah and The Regents of the University of California. @@ -123,13 +123,14 @@ static char* wxStringErrorMsg = "string type is required for parameter"; extern "C" { #endif #define new_wxsLSEditorPlugin() (new wxsLSEditorPlugin()) -static PyObject *_wrap_new_wxsLSEditorPlugin(PyObject *self, PyObject *args) { +static PyObject *_wrap_new_wxsLSEditorPlugin(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject * _resultobj; wxsLSEditorPlugin * _result; + char *_kwnames[] = { NULL }; char _ptemp[128]; self = self; - if(!PyArg_ParseTuple(args,":new_wxsLSEditorPlugin")) + if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxsLSEditorPlugin",_kwnames)) return NULL; { wxPy_BEGIN_ALLOW_THREADS; @@ -147,13 +148,14 @@ static PyObject *_wrap_new_wxsLSEditorPlugin(PyObject *self, PyObject *args) { } #define delete_wxsLSEditorPlugin(_swigobj) (delete _swigobj) -static PyObject *_wrap_delete_wxsLSEditorPlugin(PyObject *self, PyObject *args) { +static PyObject *_wrap_delete_wxsLSEditorPlugin(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject * _resultobj; wxsLSEditorPlugin * _arg0; PyObject * _argo0 = 0; + char *_kwnames[] = { "self", NULL }; self = self; - if(!PyArg_ParseTuple(args,"O:delete_wxsLSEditorPlugin",&_argo0)) + if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxsLSEditorPlugin",_kwnames,&_argo0)) return NULL; if (_argo0) { if (_argo0 == Py_None) { _arg0 = NULL; } @@ -173,16 +175,17 @@ static PyObject *_wrap_delete_wxsLSEditorPlugin(PyObject *self, PyObject *args) } #define wxsLSEditorPlugin_Create(_swigobj,_swigarg0,_swigarg1) (_swigobj->Create(_swigarg0,_swigarg1)) -static PyObject *_wrap_wxsLSEditorPlugin_Create(PyObject *self, PyObject *args) { +static PyObject *_wrap_wxsLSEditorPlugin_Create(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject * _resultobj; wxsLSEditorPlugin * _arg0; wxWindow * _arg1; wxWindowID _arg2; PyObject * _argo0 = 0; PyObject * _argo1 = 0; + char *_kwnames[] = { "self","parent","id", NULL }; self = self; - if(!PyArg_ParseTuple(args,"OOi:wxsLSEditorPlugin_Create",&_argo0,&_argo1,&_arg2)) + if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxsLSEditorPlugin_Create",_kwnames,&_argo0,&_argo1,&_arg2)) return NULL; if (_argo0) { if (_argo0 == Py_None) { _arg0 = NULL; } @@ -209,14 +212,15 @@ static PyObject *_wrap_wxsLSEditorPlugin_Create(PyObject *self, PyObject *args) } #define wxsLSEditorPlugin_OnOpen(_swigobj,_swigarg0) (_swigobj->OnOpen(_swigarg0)) -static PyObject *_wrap_wxsLSEditorPlugin_OnOpen(PyObject *self, PyObject *args) { +static PyObject *_wrap_wxsLSEditorPlugin_OnOpen(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject * _resultobj; wxsLSEditorPlugin * _arg0; char * _arg1; PyObject * _argo0 = 0; + char *_kwnames[] = { "self","fname", NULL }; self = self; - if(!PyArg_ParseTuple(args,"Os:wxsLSEditorPlugin_OnOpen",&_argo0,&_arg1)) + if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxsLSEditorPlugin_OnOpen",_kwnames,&_argo0,&_arg1)) return NULL; if (_argo0) { if (_argo0 == Py_None) { _arg0 = NULL; } @@ -236,14 +240,15 @@ static PyObject *_wrap_wxsLSEditorPlugin_OnOpen(PyObject *self, PyObject *args) } #define wxsLSEditorPlugin_OnSave(_swigobj,_swigarg0) (_swigobj->OnSave(_swigarg0)) -static PyObject *_wrap_wxsLSEditorPlugin_OnSave(PyObject *self, PyObject *args) { +static PyObject *_wrap_wxsLSEditorPlugin_OnSave(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject * _resultobj; wxsLSEditorPlugin * _arg0; char * _arg1; PyObject * _argo0 = 0; + char *_kwnames[] = { "self","fname", NULL }; self = self; - if(!PyArg_ParseTuple(args,"Os:wxsLSEditorPlugin_OnSave",&_argo0,&_arg1)) + if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxsLSEditorPlugin_OnSave",_kwnames,&_argo0,&_arg1)) return NULL; if (_argo0) { if (_argo0 == Py_None) { _arg0 = NULL; } @@ -263,13 +268,14 @@ static PyObject *_wrap_wxsLSEditorPlugin_OnSave(PyObject *self, PyObject *args) } #define wxsLSEditorPlugin_OnCopy(_swigobj) (_swigobj->OnCopy()) -static PyObject *_wrap_wxsLSEditorPlugin_OnCopy(PyObject *self, PyObject *args) { +static PyObject *_wrap_wxsLSEditorPlugin_OnCopy(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject * _resultobj; wxsLSEditorPlugin * _arg0; PyObject * _argo0 = 0; + char *_kwnames[] = { "self", NULL }; self = self; - if(!PyArg_ParseTuple(args,"O:wxsLSEditorPlugin_OnCopy",&_argo0)) + if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_OnCopy",_kwnames,&_argo0)) return NULL; if (_argo0) { if (_argo0 == Py_None) { _arg0 = NULL; } @@ -289,13 +295,14 @@ static PyObject *_wrap_wxsLSEditorPlugin_OnCopy(PyObject *self, PyObject *args) } #define wxsLSEditorPlugin_OnCut(_swigobj) (_swigobj->OnCut()) -static PyObject *_wrap_wxsLSEditorPlugin_OnCut(PyObject *self, PyObject *args) { +static PyObject *_wrap_wxsLSEditorPlugin_OnCut(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject * _resultobj; wxsLSEditorPlugin * _arg0; PyObject * _argo0 = 0; + char *_kwnames[] = { "self", NULL }; self = self; - if(!PyArg_ParseTuple(args,"O:wxsLSEditorPlugin_OnCut",&_argo0)) + if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_OnCut",_kwnames,&_argo0)) return NULL; if (_argo0) { if (_argo0 == Py_None) { _arg0 = NULL; } @@ -315,13 +322,14 @@ static PyObject *_wrap_wxsLSEditorPlugin_OnCut(PyObject *self, PyObject *args) { } #define wxsLSEditorPlugin_OnPaste(_swigobj) (_swigobj->OnPaste()) -static PyObject *_wrap_wxsLSEditorPlugin_OnPaste(PyObject *self, PyObject *args) { +static PyObject *_wrap_wxsLSEditorPlugin_OnPaste(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject * _resultobj; wxsLSEditorPlugin * _arg0; PyObject * _argo0 = 0; + char *_kwnames[] = { "self", NULL }; self = self; - if(!PyArg_ParseTuple(args,"O:wxsLSEditorPlugin_OnPaste",&_argo0)) + if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_OnPaste",_kwnames,&_argo0)) return NULL; if (_argo0) { if (_argo0 == Py_None) { _arg0 = NULL; } @@ -341,13 +349,14 @@ static PyObject *_wrap_wxsLSEditorPlugin_OnPaste(PyObject *self, PyObject *args) } #define wxsLSEditorPlugin_OnDelete(_swigobj) (_swigobj->OnDelete()) -static PyObject *_wrap_wxsLSEditorPlugin_OnDelete(PyObject *self, PyObject *args) { +static PyObject *_wrap_wxsLSEditorPlugin_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject * _resultobj; wxsLSEditorPlugin * _arg0; PyObject * _argo0 = 0; + char *_kwnames[] = { "self", NULL }; self = self; - if(!PyArg_ParseTuple(args,"O:wxsLSEditorPlugin_OnDelete",&_argo0)) + if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_OnDelete",_kwnames,&_argo0)) return NULL; if (_argo0) { if (_argo0 == Py_None) { _arg0 = NULL; } @@ -367,13 +376,14 @@ static PyObject *_wrap_wxsLSEditorPlugin_OnDelete(PyObject *self, PyObject *args } #define wxsLSEditorPlugin_OnUndo(_swigobj) (_swigobj->OnUndo()) -static PyObject *_wrap_wxsLSEditorPlugin_OnUndo(PyObject *self, PyObject *args) { +static PyObject *_wrap_wxsLSEditorPlugin_OnUndo(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject * _resultobj; wxsLSEditorPlugin * _arg0; PyObject * _argo0 = 0; + char *_kwnames[] = { "self", NULL }; self = self; - if(!PyArg_ParseTuple(args,"O:wxsLSEditorPlugin_OnUndo",&_argo0)) + if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_OnUndo",_kwnames,&_argo0)) return NULL; if (_argo0) { if (_argo0 == Py_None) { _arg0 = NULL; } @@ -393,13 +403,14 @@ static PyObject *_wrap_wxsLSEditorPlugin_OnUndo(PyObject *self, PyObject *args) } #define wxsLSEditorPlugin_OnRedo(_swigobj) (_swigobj->OnRedo()) -static PyObject *_wrap_wxsLSEditorPlugin_OnRedo(PyObject *self, PyObject *args) { +static PyObject *_wrap_wxsLSEditorPlugin_OnRedo(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject * _resultobj; wxsLSEditorPlugin * _arg0; PyObject * _argo0 = 0; + char *_kwnames[] = { "self", NULL }; self = self; - if(!PyArg_ParseTuple(args,"O:wxsLSEditorPlugin_OnRedo",&_argo0)) + if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_OnRedo",_kwnames,&_argo0)) return NULL; if (_argo0) { if (_argo0 == Py_None) { _arg0 = NULL; } @@ -419,13 +430,14 @@ static PyObject *_wrap_wxsLSEditorPlugin_OnRedo(PyObject *self, PyObject *args) } #define wxsLSEditorPlugin_SelectAll(_swigobj) (_swigobj->SelectAll()) -static PyObject *_wrap_wxsLSEditorPlugin_SelectAll(PyObject *self, PyObject *args) { +static PyObject *_wrap_wxsLSEditorPlugin_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject * _resultobj; wxsLSEditorPlugin * _arg0; PyObject * _argo0 = 0; + char *_kwnames[] = { "self", NULL }; self = self; - if(!PyArg_ParseTuple(args,"O:wxsLSEditorPlugin_SelectAll",&_argo0)) + if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_SelectAll",_kwnames,&_argo0)) return NULL; if (_argo0) { if (_argo0 == Py_None) { _arg0 = NULL; } @@ -445,15 +457,16 @@ static PyObject *_wrap_wxsLSEditorPlugin_SelectAll(PyObject *self, PyObject *arg } #define wxsLSEditorPlugin_OnGotoLine(_swigobj,_swigarg0,_swigarg1) (_swigobj->OnGotoLine(_swigarg0,_swigarg1)) -static PyObject *_wrap_wxsLSEditorPlugin_OnGotoLine(PyObject *self, PyObject *args) { +static PyObject *_wrap_wxsLSEditorPlugin_OnGotoLine(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject * _resultobj; wxsLSEditorPlugin * _arg0; int _arg1; int _arg2 = (int ) 0; PyObject * _argo0 = 0; + char *_kwnames[] = { "self","lineNo","column", NULL }; self = self; - if(!PyArg_ParseTuple(args,"Oi|i:wxsLSEditorPlugin_OnGotoLine",&_argo0,&_arg1,&_arg2)) + if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxsLSEditorPlugin_OnGotoLine",_kwnames,&_argo0,&_arg1,&_arg2)) return NULL; if (_argo0) { if (_argo0 == Py_None) { _arg0 = NULL; } @@ -473,13 +486,14 @@ static PyObject *_wrap_wxsLSEditorPlugin_OnGotoLine(PyObject *self, PyObject *ar } #define wxsLSEditorPlugin_OnProperties(_swigobj) (_swigobj->OnProperties()) -static PyObject *_wrap_wxsLSEditorPlugin_OnProperties(PyObject *self, PyObject *args) { +static PyObject *_wrap_wxsLSEditorPlugin_OnProperties(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject * _resultobj; wxsLSEditorPlugin * _arg0; PyObject * _argo0 = 0; + char *_kwnames[] = { "self", NULL }; self = self; - if(!PyArg_ParseTuple(args,"O:wxsLSEditorPlugin_OnProperties",&_argo0)) + if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_OnProperties",_kwnames,&_argo0)) return NULL; if (_argo0) { if (_argo0 == Py_None) { _arg0 = NULL; } @@ -499,13 +513,14 @@ static PyObject *_wrap_wxsLSEditorPlugin_OnProperties(PyObject *self, PyObject * } #define wxsLSEditorPlugin_OnFind(_swigobj) (_swigobj->OnFind()) -static PyObject *_wrap_wxsLSEditorPlugin_OnFind(PyObject *self, PyObject *args) { +static PyObject *_wrap_wxsLSEditorPlugin_OnFind(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject * _resultobj; wxsLSEditorPlugin * _arg0; PyObject * _argo0 = 0; + char *_kwnames[] = { "self", NULL }; self = self; - if(!PyArg_ParseTuple(args,"O:wxsLSEditorPlugin_OnFind",&_argo0)) + if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_OnFind",_kwnames,&_argo0)) return NULL; if (_argo0) { if (_argo0 == Py_None) { _arg0 = NULL; } @@ -525,13 +540,14 @@ static PyObject *_wrap_wxsLSEditorPlugin_OnFind(PyObject *self, PyObject *args) } #define wxsLSEditorPlugin_OnFindNext(_swigobj) (_swigobj->OnFindNext()) -static PyObject *_wrap_wxsLSEditorPlugin_OnFindNext(PyObject *self, PyObject *args) { +static PyObject *_wrap_wxsLSEditorPlugin_OnFindNext(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject * _resultobj; wxsLSEditorPlugin * _arg0; PyObject * _argo0 = 0; + char *_kwnames[] = { "self", NULL }; self = self; - if(!PyArg_ParseTuple(args,"O:wxsLSEditorPlugin_OnFindNext",&_argo0)) + if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_OnFindNext",_kwnames,&_argo0)) return NULL; if (_argo0) { if (_argo0 == Py_None) { _arg0 = NULL; } @@ -551,13 +567,14 @@ static PyObject *_wrap_wxsLSEditorPlugin_OnFindNext(PyObject *self, PyObject *ar } #define wxsLSEditorPlugin_OnFindPrevious(_swigobj) (_swigobj->OnFindPrevious()) -static PyObject *_wrap_wxsLSEditorPlugin_OnFindPrevious(PyObject *self, PyObject *args) { +static PyObject *_wrap_wxsLSEditorPlugin_OnFindPrevious(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject * _resultobj; wxsLSEditorPlugin * _arg0; PyObject * _argo0 = 0; + char *_kwnames[] = { "self", NULL }; self = self; - if(!PyArg_ParseTuple(args,"O:wxsLSEditorPlugin_OnFindPrevious",&_argo0)) + if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_OnFindPrevious",_kwnames,&_argo0)) return NULL; if (_argo0) { if (_argo0 == Py_None) { _arg0 = NULL; } @@ -577,13 +594,14 @@ static PyObject *_wrap_wxsLSEditorPlugin_OnFindPrevious(PyObject *self, PyObject } #define wxsLSEditorPlugin_OnReplace(_swigobj) (_swigobj->OnReplace()) -static PyObject *_wrap_wxsLSEditorPlugin_OnReplace(PyObject *self, PyObject *args) { +static PyObject *_wrap_wxsLSEditorPlugin_OnReplace(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject * _resultobj; wxsLSEditorPlugin * _arg0; PyObject * _argo0 = 0; + char *_kwnames[] = { "self", NULL }; self = self; - if(!PyArg_ParseTuple(args,"O:wxsLSEditorPlugin_OnReplace",&_argo0)) + if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_OnReplace",_kwnames,&_argo0)) return NULL; if (_argo0) { if (_argo0 == Py_None) { _arg0 = NULL; } @@ -603,13 +621,14 @@ static PyObject *_wrap_wxsLSEditorPlugin_OnReplace(PyObject *self, PyObject *arg } #define wxsLSEditorPlugin_OnToggleBookmark(_swigobj) (_swigobj->OnToggleBookmark()) -static PyObject *_wrap_wxsLSEditorPlugin_OnToggleBookmark(PyObject *self, PyObject *args) { +static PyObject *_wrap_wxsLSEditorPlugin_OnToggleBookmark(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject * _resultobj; wxsLSEditorPlugin * _arg0; PyObject * _argo0 = 0; + char *_kwnames[] = { "self", NULL }; self = self; - if(!PyArg_ParseTuple(args,"O:wxsLSEditorPlugin_OnToggleBookmark",&_argo0)) + if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_OnToggleBookmark",_kwnames,&_argo0)) return NULL; if (_argo0) { if (_argo0 == Py_None) { _arg0 = NULL; } @@ -629,13 +648,14 @@ static PyObject *_wrap_wxsLSEditorPlugin_OnToggleBookmark(PyObject *self, PyObje } #define wxsLSEditorPlugin_OnNextBookmark(_swigobj) (_swigobj->OnNextBookmark()) -static PyObject *_wrap_wxsLSEditorPlugin_OnNextBookmark(PyObject *self, PyObject *args) { +static PyObject *_wrap_wxsLSEditorPlugin_OnNextBookmark(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject * _resultobj; wxsLSEditorPlugin * _arg0; PyObject * _argo0 = 0; + char *_kwnames[] = { "self", NULL }; self = self; - if(!PyArg_ParseTuple(args,"O:wxsLSEditorPlugin_OnNextBookmark",&_argo0)) + if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_OnNextBookmark",_kwnames,&_argo0)) return NULL; if (_argo0) { if (_argo0 == Py_None) { _arg0 = NULL; } @@ -655,13 +675,14 @@ static PyObject *_wrap_wxsLSEditorPlugin_OnNextBookmark(PyObject *self, PyObject } #define wxsLSEditorPlugin_OnPreviousBookmark(_swigobj) (_swigobj->OnPreviousBookmark()) -static PyObject *_wrap_wxsLSEditorPlugin_OnPreviousBookmark(PyObject *self, PyObject *args) { +static PyObject *_wrap_wxsLSEditorPlugin_OnPreviousBookmark(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject * _resultobj; wxsLSEditorPlugin * _arg0; PyObject * _argo0 = 0; + char *_kwnames[] = { "self", NULL }; self = self; - if(!PyArg_ParseTuple(args,"O:wxsLSEditorPlugin_OnPreviousBookmark",&_argo0)) + if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_OnPreviousBookmark",_kwnames,&_argo0)) return NULL; if (_argo0) { if (_argo0 == Py_None) { _arg0 = NULL; } @@ -681,13 +702,14 @@ static PyObject *_wrap_wxsLSEditorPlugin_OnPreviousBookmark(PyObject *self, PyOb } #define wxsLSEditorPlugin_OnShowBookmarks(_swigobj) (_swigobj->OnShowBookmarks()) -static PyObject *_wrap_wxsLSEditorPlugin_OnShowBookmarks(PyObject *self, PyObject *args) { +static PyObject *_wrap_wxsLSEditorPlugin_OnShowBookmarks(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject * _resultobj; wxsLSEditorPlugin * _arg0; PyObject * _argo0 = 0; + char *_kwnames[] = { "self", NULL }; self = self; - if(!PyArg_ParseTuple(args,"O:wxsLSEditorPlugin_OnShowBookmarks",&_argo0)) + if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_OnShowBookmarks",_kwnames,&_argo0)) return NULL; if (_argo0) { if (_argo0 == Py_None) { _arg0 = NULL; } @@ -707,13 +729,14 @@ static PyObject *_wrap_wxsLSEditorPlugin_OnShowBookmarks(PyObject *self, PyObjec } #define wxsLSEditorPlugin_SetCheckpoint(_swigobj) (_swigobj->SetCheckpoint()) -static PyObject *_wrap_wxsLSEditorPlugin_SetCheckpoint(PyObject *self, PyObject *args) { +static PyObject *_wrap_wxsLSEditorPlugin_SetCheckpoint(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject * _resultobj; wxsLSEditorPlugin * _arg0; PyObject * _argo0 = 0; + char *_kwnames[] = { "self", NULL }; self = self; - if(!PyArg_ParseTuple(args,"O:wxsLSEditorPlugin_SetCheckpoint",&_argo0)) + if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_SetCheckpoint",_kwnames,&_argo0)) return NULL; if (_argo0) { if (_argo0 == Py_None) { _arg0 = NULL; } @@ -733,14 +756,15 @@ static PyObject *_wrap_wxsLSEditorPlugin_SetCheckpoint(PyObject *self, PyObject } #define wxsLSEditorPlugin_CheckpointModified(_swigobj) (_swigobj->CheckpointModified()) -static PyObject *_wrap_wxsLSEditorPlugin_CheckpointModified(PyObject *self, PyObject *args) { +static PyObject *_wrap_wxsLSEditorPlugin_CheckpointModified(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject * _resultobj; bool _result; wxsLSEditorPlugin * _arg0; PyObject * _argo0 = 0; + char *_kwnames[] = { "self", NULL }; self = self; - if(!PyArg_ParseTuple(args,"O:wxsLSEditorPlugin_CheckpointModified",&_argo0)) + if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_CheckpointModified",_kwnames,&_argo0)) return NULL; if (_argo0) { if (_argo0 == Py_None) { _arg0 = NULL; } @@ -759,14 +783,15 @@ static PyObject *_wrap_wxsLSEditorPlugin_CheckpointModified(PyObject *self, PyOb } #define wxsLSEditorPlugin_CanCopy(_swigobj) (_swigobj->CanCopy()) -static PyObject *_wrap_wxsLSEditorPlugin_CanCopy(PyObject *self, PyObject *args) { +static PyObject *_wrap_wxsLSEditorPlugin_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject * _resultobj; bool _result; wxsLSEditorPlugin * _arg0; PyObject * _argo0 = 0; + char *_kwnames[] = { "self", NULL }; self = self; - if(!PyArg_ParseTuple(args,"O:wxsLSEditorPlugin_CanCopy",&_argo0)) + if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_CanCopy",_kwnames,&_argo0)) return NULL; if (_argo0) { if (_argo0 == Py_None) { _arg0 = NULL; } @@ -785,14 +810,15 @@ static PyObject *_wrap_wxsLSEditorPlugin_CanCopy(PyObject *self, PyObject *args) } #define wxsLSEditorPlugin_CanCut(_swigobj) (_swigobj->CanCut()) -static PyObject *_wrap_wxsLSEditorPlugin_CanCut(PyObject *self, PyObject *args) { +static PyObject *_wrap_wxsLSEditorPlugin_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject * _resultobj; bool _result; wxsLSEditorPlugin * _arg0; PyObject * _argo0 = 0; + char *_kwnames[] = { "self", NULL }; self = self; - if(!PyArg_ParseTuple(args,"O:wxsLSEditorPlugin_CanCut",&_argo0)) + if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_CanCut",_kwnames,&_argo0)) return NULL; if (_argo0) { if (_argo0 == Py_None) { _arg0 = NULL; } @@ -811,14 +837,15 @@ static PyObject *_wrap_wxsLSEditorPlugin_CanCut(PyObject *self, PyObject *args) } #define wxsLSEditorPlugin_CanPaste(_swigobj) (_swigobj->CanPaste()) -static PyObject *_wrap_wxsLSEditorPlugin_CanPaste(PyObject *self, PyObject *args) { +static PyObject *_wrap_wxsLSEditorPlugin_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject * _resultobj; bool _result; wxsLSEditorPlugin * _arg0; PyObject * _argo0 = 0; + char *_kwnames[] = { "self", NULL }; self = self; - if(!PyArg_ParseTuple(args,"O:wxsLSEditorPlugin_CanPaste",&_argo0)) + if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_CanPaste",_kwnames,&_argo0)) return NULL; if (_argo0) { if (_argo0 == Py_None) { _arg0 = NULL; } @@ -837,14 +864,15 @@ static PyObject *_wrap_wxsLSEditorPlugin_CanPaste(PyObject *self, PyObject *args } #define wxsLSEditorPlugin_CanUndo(_swigobj) (_swigobj->CanUndo()) -static PyObject *_wrap_wxsLSEditorPlugin_CanUndo(PyObject *self, PyObject *args) { +static PyObject *_wrap_wxsLSEditorPlugin_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject * _resultobj; bool _result; wxsLSEditorPlugin * _arg0; PyObject * _argo0 = 0; + char *_kwnames[] = { "self", NULL }; self = self; - if(!PyArg_ParseTuple(args,"O:wxsLSEditorPlugin_CanUndo",&_argo0)) + if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_CanUndo",_kwnames,&_argo0)) return NULL; if (_argo0) { if (_argo0 == Py_None) { _arg0 = NULL; } @@ -863,14 +891,15 @@ static PyObject *_wrap_wxsLSEditorPlugin_CanUndo(PyObject *self, PyObject *args) } #define wxsLSEditorPlugin_CanRedo(_swigobj) (_swigobj->CanRedo()) -static PyObject *_wrap_wxsLSEditorPlugin_CanRedo(PyObject *self, PyObject *args) { +static PyObject *_wrap_wxsLSEditorPlugin_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject * _resultobj; bool _result; wxsLSEditorPlugin * _arg0; PyObject * _argo0 = 0; + char *_kwnames[] = { "self", NULL }; self = self; - if(!PyArg_ParseTuple(args,"O:wxsLSEditorPlugin_CanRedo",&_argo0)) + if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_CanRedo",_kwnames,&_argo0)) return NULL; if (_argo0) { if (_argo0 == Py_None) { _arg0 = NULL; } @@ -889,15 +918,16 @@ static PyObject *_wrap_wxsLSEditorPlugin_CanRedo(PyObject *self, PyObject *args) } #define wxsLSEditorPlugin_GetName(_swigobj) (_swigobj->GetName()) -static PyObject *_wrap_wxsLSEditorPlugin_GetName(PyObject *self, PyObject *args) { +static PyObject *_wrap_wxsLSEditorPlugin_GetName(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject * _resultobj; string * _result; wxsLSEditorPlugin * _arg0; PyObject * _argo0 = 0; + char *_kwnames[] = { "self", NULL }; char _ptemp[128]; self = self; - if(!PyArg_ParseTuple(args,"O:wxsLSEditorPlugin_GetName",&_argo0)) + if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_GetName",_kwnames,&_argo0)) return NULL; if (_argo0) { if (_argo0 == Py_None) { _arg0 = NULL; } @@ -917,14 +947,15 @@ static PyObject *_wrap_wxsLSEditorPlugin_GetName(PyObject *self, PyObject *args) } #define wxsLSEditorPlugin_IsModified(_swigobj) (_swigobj->IsModified()) -static PyObject *_wrap_wxsLSEditorPlugin_IsModified(PyObject *self, PyObject *args) { +static PyObject *_wrap_wxsLSEditorPlugin_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject * _resultobj; bool _result; wxsLSEditorPlugin * _arg0; PyObject * _argo0 = 0; + char *_kwnames[] = { "self", NULL }; self = self; - if(!PyArg_ParseTuple(args,"O:wxsLSEditorPlugin_IsModified",&_argo0)) + if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_IsModified",_kwnames,&_argo0)) return NULL; if (_argo0) { if (_argo0 == Py_None) { _arg0 = NULL; } @@ -943,15 +974,16 @@ static PyObject *_wrap_wxsLSEditorPlugin_IsModified(PyObject *self, PyObject *ar } #define wxsLSEditorPlugin_GetWindow(_swigobj) (_swigobj->GetWindow()) -static PyObject *_wrap_wxsLSEditorPlugin_GetWindow(PyObject *self, PyObject *args) { +static PyObject *_wrap_wxsLSEditorPlugin_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject * _resultobj; wxWindow * _result; wxsLSEditorPlugin * _arg0; PyObject * _argo0 = 0; + char *_kwnames[] = { "self", NULL }; char _ptemp[128]; self = self; - if(!PyArg_ParseTuple(args,"O:wxsLSEditorPlugin_GetWindow",&_argo0)) + if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_GetWindow",_kwnames,&_argo0)) return NULL; if (_argo0) { if (_argo0 == Py_None) { _arg0 = NULL; } @@ -976,14 +1008,15 @@ static PyObject *_wrap_wxsLSEditorPlugin_GetWindow(PyObject *self, PyObject *arg } #define wxsLSEditorPlugin_SetFileName(_swigobj,_swigarg0) (_swigobj->SetFileName(_swigarg0)) -static PyObject *_wrap_wxsLSEditorPlugin_SetFileName(PyObject *self, PyObject *args) { +static PyObject *_wrap_wxsLSEditorPlugin_SetFileName(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject * _resultobj; wxsLSEditorPlugin * _arg0; char * _arg1; PyObject * _argo0 = 0; + char *_kwnames[] = { "self","fname", NULL }; self = self; - if(!PyArg_ParseTuple(args,"Os:wxsLSEditorPlugin_SetFileName",&_argo0,&_arg1)) + if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxsLSEditorPlugin_SetFileName",_kwnames,&_argo0,&_arg1)) return NULL; if (_argo0) { if (_argo0 == Py_None) { _arg0 = NULL; } @@ -1003,15 +1036,16 @@ static PyObject *_wrap_wxsLSEditorPlugin_SetFileName(PyObject *self, PyObject *a } #define wxsLSEditorPlugin_HoldCursor(_swigobj,_swigarg0) (_swigobj->HoldCursor(_swigarg0)) -static PyObject *_wrap_wxsLSEditorPlugin_HoldCursor(PyObject *self, PyObject *args) { +static PyObject *_wrap_wxsLSEditorPlugin_HoldCursor(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject * _resultobj; wxsLSEditorPlugin * _arg0; bool _arg1; PyObject * _argo0 = 0; int tempbool1; + char *_kwnames[] = { "self","hold", NULL }; self = self; - if(!PyArg_ParseTuple(args,"Oi:wxsLSEditorPlugin_HoldCursor",&_argo0,&tempbool1)) + if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxsLSEditorPlugin_HoldCursor",_kwnames,&_argo0,&tempbool1)) return NULL; if (_argo0) { if (_argo0 == Py_None) { _arg0 = NULL; } @@ -1032,15 +1066,16 @@ static PyObject *_wrap_wxsLSEditorPlugin_HoldCursor(PyObject *self, PyObject *ar } #define wxsLSEditorPlugin_FindWordAtCursor(_swigobj) (_swigobj->FindWordAtCursor()) -static PyObject *_wrap_wxsLSEditorPlugin_FindWordAtCursor(PyObject *self, PyObject *args) { +static PyObject *_wrap_wxsLSEditorPlugin_FindWordAtCursor(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject * _resultobj; string * _result; wxsLSEditorPlugin * _arg0; PyObject * _argo0 = 0; + char *_kwnames[] = { "self", NULL }; char _ptemp[128]; self = self; - if(!PyArg_ParseTuple(args,"O:wxsLSEditorPlugin_FindWordAtCursor",&_argo0)) + if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_FindWordAtCursor",_kwnames,&_argo0)) return NULL; if (_argo0) { if (_argo0 == Py_None) { _arg0 = NULL; } @@ -1060,7 +1095,7 @@ static PyObject *_wrap_wxsLSEditorPlugin_FindWordAtCursor(PyObject *self, PyObje } #define wxsLSEditorPlugin_GetCursorPos(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetCursorPos(_swigarg0,_swigarg1)) -static PyObject *_wrap_wxsLSEditorPlugin_GetCursorPos(PyObject *self, PyObject *args) { +static PyObject *_wrap_wxsLSEditorPlugin_GetCursorPos(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject * _resultobj; wxsLSEditorPlugin * _arg0; int * _arg1; @@ -1068,9 +1103,10 @@ static PyObject *_wrap_wxsLSEditorPlugin_GetCursorPos(PyObject *self, PyObject * PyObject * _argo0 = 0; PyObject * _argo1 = 0; PyObject * _argo2 = 0; + char *_kwnames[] = { "self","line","column", NULL }; self = self; - if(!PyArg_ParseTuple(args,"OOO:wxsLSEditorPlugin_GetCursorPos",&_argo0,&_argo1,&_argo2)) + if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxsLSEditorPlugin_GetCursorPos",_kwnames,&_argo0,&_argo1,&_argo2)) return NULL; if (_argo0) { if (_argo0 == Py_None) { _arg0 = NULL; } @@ -1104,15 +1140,16 @@ static PyObject *_wrap_wxsLSEditorPlugin_GetCursorPos(PyObject *self, PyObject * } #define wxsLSEditorPlugin_SetCursorPos(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCursorPos(_swigarg0,_swigarg1)) -static PyObject *_wrap_wxsLSEditorPlugin_SetCursorPos(PyObject *self, PyObject *args) { +static PyObject *_wrap_wxsLSEditorPlugin_SetCursorPos(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject * _resultobj; wxsLSEditorPlugin * _arg0; int _arg1; int _arg2; PyObject * _argo0 = 0; + char *_kwnames[] = { "self","line","column", NULL }; self = self; - if(!PyArg_ParseTuple(args,"Oii:wxsLSEditorPlugin_SetCursorPos",&_argo0,&_arg1,&_arg2)) + if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxsLSEditorPlugin_SetCursorPos",_kwnames,&_argo0,&_arg1,&_arg2)) return NULL; if (_argo0) { if (_argo0 == Py_None) { _arg0 = NULL; } @@ -1132,7 +1169,7 @@ static PyObject *_wrap_wxsLSEditorPlugin_SetCursorPos(PyObject *self, PyObject * } #define wxsLSEditorPlugin_GetPagePos(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPagePos(_swigarg0,_swigarg1)) -static PyObject *_wrap_wxsLSEditorPlugin_GetPagePos(PyObject *self, PyObject *args) { +static PyObject *_wrap_wxsLSEditorPlugin_GetPagePos(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject * _resultobj; wxsLSEditorPlugin * _arg0; int * _arg1; @@ -1140,9 +1177,10 @@ static PyObject *_wrap_wxsLSEditorPlugin_GetPagePos(PyObject *self, PyObject *ar PyObject * _argo0 = 0; PyObject * _argo1 = 0; PyObject * _argo2 = 0; + char *_kwnames[] = { "self","line","column", NULL }; self = self; - if(!PyArg_ParseTuple(args,"OOO:wxsLSEditorPlugin_GetPagePos",&_argo0,&_argo1,&_argo2)) + if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxsLSEditorPlugin_GetPagePos",_kwnames,&_argo0,&_argo1,&_argo2)) return NULL; if (_argo0) { if (_argo0 == Py_None) { _arg0 = NULL; } @@ -1176,7 +1214,7 @@ static PyObject *_wrap_wxsLSEditorPlugin_GetPagePos(PyObject *self, PyObject *ar } #define wxsLSEditorPlugin_GetText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) -static PyObject *_wrap_wxsLSEditorPlugin_GetText(PyObject *self, PyObject *args) { +static PyObject *_wrap_wxsLSEditorPlugin_GetText(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject * _resultobj; wxsLSEditorPlugin * _arg0; int _arg1; @@ -1188,9 +1226,10 @@ static PyObject *_wrap_wxsLSEditorPlugin_GetText(PyObject *self, PyObject *args) PyObject * _argo0 = 0; PyObject * _argo5 = 0; PyObject * _argo6 = 0; + char *_kwnames[] = { "self","fromLine","fromColumn","tillLine","tillColumn","ppBuf","length", NULL }; self = self; - if(!PyArg_ParseTuple(args,"OiiiiOO:wxsLSEditorPlugin_GetText",&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_argo5,&_argo6)) + if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiiiOO:wxsLSEditorPlugin_GetText",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_argo5,&_argo6)) return NULL; if (_argo0) { if (_argo0 == Py_None) { _arg0 = NULL; } @@ -1224,7 +1263,7 @@ static PyObject *_wrap_wxsLSEditorPlugin_GetText(PyObject *self, PyObject *args) } #define wxsLSEditorPlugin_InsertText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertText(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) -static PyObject *_wrap_wxsLSEditorPlugin_InsertText(PyObject *self, PyObject *args) { +static PyObject *_wrap_wxsLSEditorPlugin_InsertText(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject * _resultobj; wxsLSEditorPlugin * _arg0; int _arg1; @@ -1232,9 +1271,10 @@ static PyObject *_wrap_wxsLSEditorPlugin_InsertText(PyObject *self, PyObject *ar char * _arg3; size_t _arg4; PyObject * _argo0 = 0; + char *_kwnames[] = { "self","line","column","text","lenght", NULL }; self = self; - if(!PyArg_ParseTuple(args,"Oiisi:wxsLSEditorPlugin_InsertText",&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) + if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiisi:wxsLSEditorPlugin_InsertText",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) return NULL; if (_argo0) { if (_argo0 == Py_None) { _arg0 = NULL; } @@ -1254,7 +1294,7 @@ static PyObject *_wrap_wxsLSEditorPlugin_InsertText(PyObject *self, PyObject *ar } #define wxsLSEditorPlugin_DeleteText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DeleteText(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) -static PyObject *_wrap_wxsLSEditorPlugin_DeleteText(PyObject *self, PyObject *args) { +static PyObject *_wrap_wxsLSEditorPlugin_DeleteText(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject * _resultobj; wxsLSEditorPlugin * _arg0; int _arg1; @@ -1262,9 +1302,10 @@ static PyObject *_wrap_wxsLSEditorPlugin_DeleteText(PyObject *self, PyObject *ar int _arg3; int _arg4; PyObject * _argo0 = 0; + char *_kwnames[] = { "self","fromLine","fromColumn","tillLine","tillColumn", NULL }; self = self; - if(!PyArg_ParseTuple(args,"Oiiii:wxsLSEditorPlugin_DeleteText",&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) + if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxsLSEditorPlugin_DeleteText",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) return NULL; if (_argo0) { if (_argo0 == Py_None) { _arg0 = NULL; } @@ -1284,7 +1325,7 @@ static PyObject *_wrap_wxsLSEditorPlugin_DeleteText(PyObject *self, PyObject *ar } #define wxsLSEditorPlugin_PositionToXY(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->PositionToXY(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) -static PyObject *_wrap_wxsLSEditorPlugin_PositionToXY(PyObject *self, PyObject *args) { +static PyObject *_wrap_wxsLSEditorPlugin_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject * _resultobj; wxsLSEditorPlugin * _arg0; int _arg1; @@ -1292,11 +1333,14 @@ static PyObject *_wrap_wxsLSEditorPlugin_PositionToXY(PyObject *self, PyObject * int * _arg3; int * _arg4; PyObject * _argo0 = 0; - PyObject * _argo3 = 0; - PyObject * _argo4 = 0; + int temp; + PyObject * _obj3 = 0; + int temp0; + PyObject * _obj4 = 0; + char *_kwnames[] = { "self","line","column","x","y", NULL }; self = self; - if(!PyArg_ParseTuple(args,"OiiOO:wxsLSEditorPlugin_PositionToXY",&_argo0,&_arg1,&_arg2,&_argo3,&_argo4)) + if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOO:wxsLSEditorPlugin_PositionToXY",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4)) return NULL; if (_argo0) { if (_argo0 == Py_None) { _arg0 = NULL; } @@ -1305,20 +1349,14 @@ static PyObject *_wrap_wxsLSEditorPlugin_PositionToXY(PyObject *self, PyObject * return NULL; } } - if (_argo3) { - if (_argo3 == Py_None) { _arg3 = NULL; } - else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_int_p")) { - PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxsLSEditorPlugin_PositionToXY. Expected _int_p."); - return NULL; - } - } - if (_argo4) { - if (_argo4 == Py_None) { _arg4 = NULL; } - else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_int_p")) { - PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxsLSEditorPlugin_PositionToXY. Expected _int_p."); - return NULL; - } - } +{ + temp = (int) PyInt_AsLong(_obj3); + _arg3 = &temp; +} +{ + temp0 = (int) PyInt_AsLong(_obj4); + _arg4 = &temp0; +} { wxPy_BEGIN_ALLOW_THREADS; wxsLSEditorPlugin_PositionToXY(_arg0,_arg1,_arg2,_arg3,_arg4); @@ -1326,11 +1364,21 @@ static PyObject *_wrap_wxsLSEditorPlugin_PositionToXY(PyObject *self, PyObject * wxPy_END_ALLOW_THREADS; } Py_INCREF(Py_None); _resultobj = Py_None; +{ + PyObject *o; + o = PyInt_FromLong((long) (*_arg3)); + _resultobj = t_output_helper(_resultobj, o); +} +{ + PyObject *o; + o = PyInt_FromLong((long) (*_arg4)); + _resultobj = t_output_helper(_resultobj, o); +} return _resultobj; } #define wxsLSEditorPlugin_GetSelectionRange(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetSelectionRange(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) -static PyObject *_wrap_wxsLSEditorPlugin_GetSelectionRange(PyObject *self, PyObject *args) { +static PyObject *_wrap_wxsLSEditorPlugin_GetSelectionRange(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject * _resultobj; wxsLSEditorPlugin * _arg0; int * _arg1; @@ -1342,9 +1390,10 @@ static PyObject *_wrap_wxsLSEditorPlugin_GetSelectionRange(PyObject *self, PyObj PyObject * _argo2 = 0; PyObject * _argo3 = 0; PyObject * _argo4 = 0; + char *_kwnames[] = { "self","fromLine","fromColumn","tillLine","tillColumn", NULL }; self = self; - if(!PyArg_ParseTuple(args,"OOOOO:wxsLSEditorPlugin_GetSelectionRange",&_argo0,&_argo1,&_argo2,&_argo3,&_argo4)) + if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOO:wxsLSEditorPlugin_GetSelectionRange",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_argo4)) return NULL; if (_argo0) { if (_argo0 == Py_None) { _arg0 = NULL; } @@ -1392,15 +1441,16 @@ static PyObject *_wrap_wxsLSEditorPlugin_GetSelectionRange(PyObject *self, PyObj } #define wxsLSEditorPlugin_GetCharacterSize(_swigobj) (_swigobj->GetCharacterSize()) -static PyObject *_wrap_wxsLSEditorPlugin_GetCharacterSize(PyObject *self, PyObject *args) { +static PyObject *_wrap_wxsLSEditorPlugin_GetCharacterSize(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject * _resultobj; wxSize * _result; wxsLSEditorPlugin * _arg0; PyObject * _argo0 = 0; + char *_kwnames[] = { "self", NULL }; char _ptemp[128]; self = self; - if(!PyArg_ParseTuple(args,"O:wxsLSEditorPlugin_GetCharacterSize",&_argo0)) + if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_GetCharacterSize",_kwnames,&_argo0)) return NULL; if (_argo0) { if (_argo0 == Py_None) { _arg0 = NULL; } @@ -1420,14 +1470,15 @@ static PyObject *_wrap_wxsLSEditorPlugin_GetCharacterSize(PyObject *self, PyObje } #define wxsLSEditorPlugin_IsUnixText(_swigobj) (_swigobj->IsUnixText()) -static PyObject *_wrap_wxsLSEditorPlugin_IsUnixText(PyObject *self, PyObject *args) { +static PyObject *_wrap_wxsLSEditorPlugin_IsUnixText(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject * _resultobj; bool _result; wxsLSEditorPlugin * _arg0; PyObject * _argo0 = 0; + char *_kwnames[] = { "self", NULL }; self = self; - if(!PyArg_ParseTuple(args,"O:wxsLSEditorPlugin_IsUnixText",&_argo0)) + if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxsLSEditorPlugin_IsUnixText",_kwnames,&_argo0)) return NULL; if (_argo0) { if (_argo0 == Py_None) { _arg0 = NULL; } @@ -1446,51 +1497,51 @@ static PyObject *_wrap_wxsLSEditorPlugin_IsUnixText(PyObject *self, PyObject *ar } static PyMethodDef lseditorcMethods[] = { - { "wxsLSEditorPlugin_IsUnixText", _wrap_wxsLSEditorPlugin_IsUnixText, METH_VARARGS }, - { "wxsLSEditorPlugin_GetCharacterSize", _wrap_wxsLSEditorPlugin_GetCharacterSize, METH_VARARGS }, - { "wxsLSEditorPlugin_GetSelectionRange", _wrap_wxsLSEditorPlugin_GetSelectionRange, METH_VARARGS }, - { "wxsLSEditorPlugin_PositionToXY", _wrap_wxsLSEditorPlugin_PositionToXY, METH_VARARGS }, - { "wxsLSEditorPlugin_DeleteText", _wrap_wxsLSEditorPlugin_DeleteText, METH_VARARGS }, - { "wxsLSEditorPlugin_InsertText", _wrap_wxsLSEditorPlugin_InsertText, METH_VARARGS }, - { "wxsLSEditorPlugin_GetText", _wrap_wxsLSEditorPlugin_GetText, METH_VARARGS }, - { "wxsLSEditorPlugin_GetPagePos", _wrap_wxsLSEditorPlugin_GetPagePos, METH_VARARGS }, - { "wxsLSEditorPlugin_SetCursorPos", _wrap_wxsLSEditorPlugin_SetCursorPos, METH_VARARGS }, - { "wxsLSEditorPlugin_GetCursorPos", _wrap_wxsLSEditorPlugin_GetCursorPos, METH_VARARGS }, - { "wxsLSEditorPlugin_FindWordAtCursor", _wrap_wxsLSEditorPlugin_FindWordAtCursor, METH_VARARGS }, - { "wxsLSEditorPlugin_HoldCursor", _wrap_wxsLSEditorPlugin_HoldCursor, METH_VARARGS }, - { "wxsLSEditorPlugin_SetFileName", _wrap_wxsLSEditorPlugin_SetFileName, METH_VARARGS }, - { "wxsLSEditorPlugin_GetWindow", _wrap_wxsLSEditorPlugin_GetWindow, METH_VARARGS }, - { "wxsLSEditorPlugin_IsModified", _wrap_wxsLSEditorPlugin_IsModified, METH_VARARGS }, - { "wxsLSEditorPlugin_GetName", _wrap_wxsLSEditorPlugin_GetName, METH_VARARGS }, - { "wxsLSEditorPlugin_CanRedo", _wrap_wxsLSEditorPlugin_CanRedo, METH_VARARGS }, - { "wxsLSEditorPlugin_CanUndo", _wrap_wxsLSEditorPlugin_CanUndo, METH_VARARGS }, - { "wxsLSEditorPlugin_CanPaste", _wrap_wxsLSEditorPlugin_CanPaste, METH_VARARGS }, - { "wxsLSEditorPlugin_CanCut", _wrap_wxsLSEditorPlugin_CanCut, METH_VARARGS }, - { "wxsLSEditorPlugin_CanCopy", _wrap_wxsLSEditorPlugin_CanCopy, METH_VARARGS }, - { "wxsLSEditorPlugin_CheckpointModified", _wrap_wxsLSEditorPlugin_CheckpointModified, METH_VARARGS }, - { "wxsLSEditorPlugin_SetCheckpoint", _wrap_wxsLSEditorPlugin_SetCheckpoint, METH_VARARGS }, - { "wxsLSEditorPlugin_OnShowBookmarks", _wrap_wxsLSEditorPlugin_OnShowBookmarks, METH_VARARGS }, - { "wxsLSEditorPlugin_OnPreviousBookmark", _wrap_wxsLSEditorPlugin_OnPreviousBookmark, METH_VARARGS }, - { "wxsLSEditorPlugin_OnNextBookmark", _wrap_wxsLSEditorPlugin_OnNextBookmark, METH_VARARGS }, - { "wxsLSEditorPlugin_OnToggleBookmark", _wrap_wxsLSEditorPlugin_OnToggleBookmark, METH_VARARGS }, - { "wxsLSEditorPlugin_OnReplace", _wrap_wxsLSEditorPlugin_OnReplace, METH_VARARGS }, - { "wxsLSEditorPlugin_OnFindPrevious", _wrap_wxsLSEditorPlugin_OnFindPrevious, METH_VARARGS }, - { "wxsLSEditorPlugin_OnFindNext", _wrap_wxsLSEditorPlugin_OnFindNext, METH_VARARGS }, - { "wxsLSEditorPlugin_OnFind", _wrap_wxsLSEditorPlugin_OnFind, METH_VARARGS }, - { "wxsLSEditorPlugin_OnProperties", _wrap_wxsLSEditorPlugin_OnProperties, METH_VARARGS }, - { "wxsLSEditorPlugin_OnGotoLine", _wrap_wxsLSEditorPlugin_OnGotoLine, METH_VARARGS }, - { "wxsLSEditorPlugin_SelectAll", _wrap_wxsLSEditorPlugin_SelectAll, METH_VARARGS }, - { "wxsLSEditorPlugin_OnRedo", _wrap_wxsLSEditorPlugin_OnRedo, METH_VARARGS }, - { "wxsLSEditorPlugin_OnUndo", _wrap_wxsLSEditorPlugin_OnUndo, METH_VARARGS }, - { "wxsLSEditorPlugin_OnDelete", _wrap_wxsLSEditorPlugin_OnDelete, METH_VARARGS }, - { "wxsLSEditorPlugin_OnPaste", _wrap_wxsLSEditorPlugin_OnPaste, METH_VARARGS }, - { "wxsLSEditorPlugin_OnCut", _wrap_wxsLSEditorPlugin_OnCut, METH_VARARGS }, - { "wxsLSEditorPlugin_OnCopy", _wrap_wxsLSEditorPlugin_OnCopy, METH_VARARGS }, - { "wxsLSEditorPlugin_OnSave", _wrap_wxsLSEditorPlugin_OnSave, METH_VARARGS }, - { "wxsLSEditorPlugin_OnOpen", _wrap_wxsLSEditorPlugin_OnOpen, METH_VARARGS }, - { "wxsLSEditorPlugin_Create", _wrap_wxsLSEditorPlugin_Create, METH_VARARGS }, - { "delete_wxsLSEditorPlugin", _wrap_delete_wxsLSEditorPlugin, METH_VARARGS }, - { "new_wxsLSEditorPlugin", _wrap_new_wxsLSEditorPlugin, METH_VARARGS }, + { "wxsLSEditorPlugin_IsUnixText", (PyCFunction) _wrap_wxsLSEditorPlugin_IsUnixText, METH_VARARGS | METH_KEYWORDS }, + { "wxsLSEditorPlugin_GetCharacterSize", (PyCFunction) _wrap_wxsLSEditorPlugin_GetCharacterSize, METH_VARARGS | METH_KEYWORDS }, + { "wxsLSEditorPlugin_GetSelectionRange", (PyCFunction) _wrap_wxsLSEditorPlugin_GetSelectionRange, METH_VARARGS | METH_KEYWORDS }, + { "wxsLSEditorPlugin_PositionToXY", (PyCFunction) _wrap_wxsLSEditorPlugin_PositionToXY, METH_VARARGS | METH_KEYWORDS }, + { "wxsLSEditorPlugin_DeleteText", (PyCFunction) _wrap_wxsLSEditorPlugin_DeleteText, METH_VARARGS | METH_KEYWORDS }, + { "wxsLSEditorPlugin_InsertText", (PyCFunction) _wrap_wxsLSEditorPlugin_InsertText, METH_VARARGS | METH_KEYWORDS }, + { "wxsLSEditorPlugin_GetText", (PyCFunction) _wrap_wxsLSEditorPlugin_GetText, METH_VARARGS | METH_KEYWORDS }, + { "wxsLSEditorPlugin_GetPagePos", (PyCFunction) _wrap_wxsLSEditorPlugin_GetPagePos, METH_VARARGS | METH_KEYWORDS }, + { "wxsLSEditorPlugin_SetCursorPos", (PyCFunction) _wrap_wxsLSEditorPlugin_SetCursorPos, METH_VARARGS | METH_KEYWORDS }, + { "wxsLSEditorPlugin_GetCursorPos", (PyCFunction) _wrap_wxsLSEditorPlugin_GetCursorPos, METH_VARARGS | METH_KEYWORDS }, + { "wxsLSEditorPlugin_FindWordAtCursor", (PyCFunction) _wrap_wxsLSEditorPlugin_FindWordAtCursor, METH_VARARGS | METH_KEYWORDS }, + { "wxsLSEditorPlugin_HoldCursor", (PyCFunction) _wrap_wxsLSEditorPlugin_HoldCursor, METH_VARARGS | METH_KEYWORDS }, + { "wxsLSEditorPlugin_SetFileName", (PyCFunction) _wrap_wxsLSEditorPlugin_SetFileName, METH_VARARGS | METH_KEYWORDS }, + { "wxsLSEditorPlugin_GetWindow", (PyCFunction) _wrap_wxsLSEditorPlugin_GetWindow, METH_VARARGS | METH_KEYWORDS }, + { "wxsLSEditorPlugin_IsModified", (PyCFunction) _wrap_wxsLSEditorPlugin_IsModified, METH_VARARGS | METH_KEYWORDS }, + { "wxsLSEditorPlugin_GetName", (PyCFunction) _wrap_wxsLSEditorPlugin_GetName, METH_VARARGS | METH_KEYWORDS }, + { "wxsLSEditorPlugin_CanRedo", (PyCFunction) _wrap_wxsLSEditorPlugin_CanRedo, METH_VARARGS | METH_KEYWORDS }, + { "wxsLSEditorPlugin_CanUndo", (PyCFunction) _wrap_wxsLSEditorPlugin_CanUndo, METH_VARARGS | METH_KEYWORDS }, + { "wxsLSEditorPlugin_CanPaste", (PyCFunction) _wrap_wxsLSEditorPlugin_CanPaste, METH_VARARGS | METH_KEYWORDS }, + { "wxsLSEditorPlugin_CanCut", (PyCFunction) _wrap_wxsLSEditorPlugin_CanCut, METH_VARARGS | METH_KEYWORDS }, + { "wxsLSEditorPlugin_CanCopy", (PyCFunction) _wrap_wxsLSEditorPlugin_CanCopy, METH_VARARGS | METH_KEYWORDS }, + { "wxsLSEditorPlugin_CheckpointModified", (PyCFunction) _wrap_wxsLSEditorPlugin_CheckpointModified, METH_VARARGS | METH_KEYWORDS }, + { "wxsLSEditorPlugin_SetCheckpoint", (PyCFunction) _wrap_wxsLSEditorPlugin_SetCheckpoint, METH_VARARGS | METH_KEYWORDS }, + { "wxsLSEditorPlugin_OnShowBookmarks", (PyCFunction) _wrap_wxsLSEditorPlugin_OnShowBookmarks, METH_VARARGS | METH_KEYWORDS }, + { "wxsLSEditorPlugin_OnPreviousBookmark", (PyCFunction) _wrap_wxsLSEditorPlugin_OnPreviousBookmark, METH_VARARGS | METH_KEYWORDS }, + { "wxsLSEditorPlugin_OnNextBookmark", (PyCFunction) _wrap_wxsLSEditorPlugin_OnNextBookmark, METH_VARARGS | METH_KEYWORDS }, + { "wxsLSEditorPlugin_OnToggleBookmark", (PyCFunction) _wrap_wxsLSEditorPlugin_OnToggleBookmark, METH_VARARGS | METH_KEYWORDS }, + { "wxsLSEditorPlugin_OnReplace", (PyCFunction) _wrap_wxsLSEditorPlugin_OnReplace, METH_VARARGS | METH_KEYWORDS }, + { "wxsLSEditorPlugin_OnFindPrevious", (PyCFunction) _wrap_wxsLSEditorPlugin_OnFindPrevious, METH_VARARGS | METH_KEYWORDS }, + { "wxsLSEditorPlugin_OnFindNext", (PyCFunction) _wrap_wxsLSEditorPlugin_OnFindNext, METH_VARARGS | METH_KEYWORDS }, + { "wxsLSEditorPlugin_OnFind", (PyCFunction) _wrap_wxsLSEditorPlugin_OnFind, METH_VARARGS | METH_KEYWORDS }, + { "wxsLSEditorPlugin_OnProperties", (PyCFunction) _wrap_wxsLSEditorPlugin_OnProperties, METH_VARARGS | METH_KEYWORDS }, + { "wxsLSEditorPlugin_OnGotoLine", (PyCFunction) _wrap_wxsLSEditorPlugin_OnGotoLine, METH_VARARGS | METH_KEYWORDS }, + { "wxsLSEditorPlugin_SelectAll", (PyCFunction) _wrap_wxsLSEditorPlugin_SelectAll, METH_VARARGS | METH_KEYWORDS }, + { "wxsLSEditorPlugin_OnRedo", (PyCFunction) _wrap_wxsLSEditorPlugin_OnRedo, METH_VARARGS | METH_KEYWORDS }, + { "wxsLSEditorPlugin_OnUndo", (PyCFunction) _wrap_wxsLSEditorPlugin_OnUndo, METH_VARARGS | METH_KEYWORDS }, + { "wxsLSEditorPlugin_OnDelete", (PyCFunction) _wrap_wxsLSEditorPlugin_OnDelete, METH_VARARGS | METH_KEYWORDS }, + { "wxsLSEditorPlugin_OnPaste", (PyCFunction) _wrap_wxsLSEditorPlugin_OnPaste, METH_VARARGS | METH_KEYWORDS }, + { "wxsLSEditorPlugin_OnCut", (PyCFunction) _wrap_wxsLSEditorPlugin_OnCut, METH_VARARGS | METH_KEYWORDS }, + { "wxsLSEditorPlugin_OnCopy", (PyCFunction) _wrap_wxsLSEditorPlugin_OnCopy, METH_VARARGS | METH_KEYWORDS }, + { "wxsLSEditorPlugin_OnSave", (PyCFunction) _wrap_wxsLSEditorPlugin_OnSave, METH_VARARGS | METH_KEYWORDS }, + { "wxsLSEditorPlugin_OnOpen", (PyCFunction) _wrap_wxsLSEditorPlugin_OnOpen, METH_VARARGS | METH_KEYWORDS }, + { "wxsLSEditorPlugin_Create", (PyCFunction) _wrap_wxsLSEditorPlugin_Create, METH_VARARGS | METH_KEYWORDS }, + { "delete_wxsLSEditorPlugin", (PyCFunction) _wrap_delete_wxsLSEditorPlugin, METH_VARARGS | METH_KEYWORDS }, + { "new_wxsLSEditorPlugin", (PyCFunction) _wrap_new_wxsLSEditorPlugin, METH_VARARGS | METH_KEYWORDS }, { NULL, NULL } }; #ifdef __cplusplus