KiCad PCB EDA Suite
Loading...
Searching...
No Matches
wx_python_helpers.h File Reference
#include <Python.h>
#include <wx/intl.h>
#include <wx/string.h>
#include <wx/arrstr.h>

Go to the source code of this file.

Functions

PyObject * wxArrayString2PyList (const wxArrayString &lst)
 
wxString Py2wxString (PyObject *source)
 
PyObject * wx2PyString (const wxString &src)
 
void wxSetDefaultPyEncoding (const char *encoding)
 
const char * wxGetDefaultPyEncoding ()
 

Function Documentation

◆ Py2wxString()

wxString Py2wxString ( PyObject *  source)

Definition at line 57 of file wx_python_helpers.cpp.

References From_UTF8(), and wxPythonEncoding.

◆ wx2PyString()

PyObject * wx2PyString ( const wxString &  src)

Definition at line 107 of file wx_python_helpers.cpp.

◆ wxArrayString2PyList()

PyObject * wxArrayString2PyList ( const wxArrayString &  lst)

Definition at line 42 of file wx_python_helpers.cpp.

◆ wxGetDefaultPyEncoding()

const char * wxGetDefaultPyEncoding ( )

Definition at line 120 of file wx_python_helpers.cpp.

References wxPythonEncoding.

◆ wxSetDefaultPyEncoding()

void wxSetDefaultPyEncoding ( const char *  encoding)

Definition at line 113 of file wx_python_helpers.cpp.

References WX_DEFAULTENCODING_SIZE, and wxPythonEncoding.