KiCad PCB EDA Suite
wx_python_helpers.h
Go to the documentation of this file.
1 #ifndef WX_HELPERS_H_
2 #define WX_HELPERS_H_
3 
4 #include <Python.h>
5 #include <wx/intl.h>
6 #include <wx/string.h>
7 #include <wx/arrstr.h>
8 
9 
10 PyObject* wxArrayString2PyList( const wxArrayString& lst );
11 wxString* newWxStringFromPy( PyObject* source );
12 wxString Py2wxString( PyObject* source );
13 PyObject* wx2PyString( const wxString& src );
14 
15 void wxSetDefaultPyEncoding( const char* encoding );
16 const char* wxGetDefaultPyEncoding();
17 
18 #endif // WX_HELPERS_H_
wxString * newWxStringFromPy(PyObject *source)
PyObject * wxArrayString2PyList(const wxArrayString &lst)
PyObject * wx2PyString(const wxString &src)
const char * wxGetDefaultPyEncoding()
wxString Py2wxString(PyObject *source)
void wxSetDefaultPyEncoding(const char *encoding)