diff options
Diffstat (limited to 'lldb/scripts/Python/python-swigsafecast.swig')
-rw-r--r-- | lldb/scripts/Python/python-swigsafecast.swig | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lldb/scripts/Python/python-swigsafecast.swig b/lldb/scripts/Python/python-swigsafecast.swig index 0150854d2c6..4813c4f8c4d 100644 --- a/lldb/scripts/Python/python-swigsafecast.swig +++ b/lldb/scripts/Python/python-swigsafecast.swig @@ -45,6 +45,13 @@ SBTypeToSWIGWrapper (unsigned int* c_int) template <> PyObject* +SBTypeToSWIGWrapper (lldb::SBEvent* event_sb) +{ + return SWIG_NewPointerObj((void *) event_sb, SWIGTYPE_p_lldb__SBEvent, 0); +} + +template <> +PyObject* SBTypeToSWIGWrapper (lldb::SBProcess* process_sb) { return SWIG_NewPointerObj((void *) process_sb, SWIGTYPE_p_lldb__SBProcess, 0); @@ -59,6 +66,13 @@ SBTypeToSWIGWrapper (lldb::SBThread* thread_sb) template <> PyObject* +SBTypeToSWIGWrapper (lldb::SBThreadPlan* thread_plan_sb) +{ + return SWIG_NewPointerObj((void *) thread_plan_sb, SWIGTYPE_p_lldb__SBThreadPlan, 0); +} + +template <> +PyObject* SBTypeToSWIGWrapper (lldb::SBTarget* target_sb) { return SWIG_NewPointerObj((void *) target_sb, SWIGTYPE_p_lldb__SBTarget, 0); |