Fix linkage of init_lldb SWIG method in Python 3.

llvm-svn: 250531
This commit is contained in:
Zachary Turner committed 2015-10-16 17:52:03 +00:00
1 parent 7d6d218e12
commit c5b41d67af
2 files changed
+16 -2

No files matched your search

@@ -32,7 +32,11 @@ class ScriptInterpreterPython :
public IOHandlerDelegateMultiline
{
public:
typedef void (*SWIGInitCallback) (void);
#if PY_MAJOR_VERSION >= 3
typedef PyObject*(*SWIGInitCallback) (void);
#else
typedef void(*SWIGInitCallback) (void);
#endif
typedef bool (*SWIGBreakpointCallbackFunction) (const char *python_function_name,
const char *session_dictionary_name,