summaryrefslogtreecommitdiff
path: root/scripting/wx_python_helpers.h
diff options
context:
space:
mode:
authorsaurabhb172020-02-26 16:37:17 +0530
committerGitHub2020-02-26 16:37:17 +0530
commit07a8c86216b6b1f694b136ec64c281d62941952e (patch)
treead18839d8b4eb1f13419d07878cc4ec4c9b70032 /scripting/wx_python_helpers.h
parente255d0622297488c1c52755be670733418c994cf (diff)
parent1fa449fed953fa11f6bd0ea82cc2d3b115ee0781 (diff)
downloadKiCad-eSim-07a8c86216b6b1f694b136ec64c281d62941952e.tar.gz
KiCad-eSim-07a8c86216b6b1f694b136ec64c281d62941952e.tar.bz2
KiCad-eSim-07a8c86216b6b1f694b136ec64c281d62941952e.zip
Merge pull request #2 from saurabhb17/develop
Remaining files transfered
Diffstat (limited to 'scripting/wx_python_helpers.h')
-rw-r--r--scripting/wx_python_helpers.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/scripting/wx_python_helpers.h b/scripting/wx_python_helpers.h
new file mode 100644
index 0000000..2da11d6
--- /dev/null
+++ b/scripting/wx_python_helpers.h
@@ -0,0 +1,18 @@
+#ifndef __wx_helpers_h
+#define __wx_helpers_h
+
+#include <Python.h>
+#include <wx/intl.h>
+#include <wx/string.h>
+#include <wx/arrstr.h>
+
+
+PyObject* wxArrayString2PyList( const wxArrayString& lst );
+wxString* newWxStringFromPy( PyObject* source );
+wxString Py2wxString( PyObject* source );
+PyObject* wx2PyString( const wxString& src );
+
+void wxSetDefaultPyEncoding( const char* encoding );
+const char* wxGetDefaultPyEncoding();
+
+#endif