mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-27 15:14:31 +00:00
Fix linkage of init_lldb SWIG method in Python 3.
llvm-svn: 250531
This commit is contained in:
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,
|
||||
|
||||
Reference in new issue
Block a user