[Lldb-commits] [lldb] r134659 - in /lldb/trunk: include/lldb/API/SBEvent.h test/python_api/default-constructor/sb_event.py
Johnny Chen
johnny.chen at apple.com
Thu Jul 7 16:45:49 PDT 2011
Author: johnny
Date: Thu Jul 7 18:45:49 2011
New Revision: 134659
URL: http://llvm.org/viewvc/llvm-project?rev=134659&view=rev
Log:
The Python API does not need SBEvent::BroadcasterMatchesPtr() when SBEvent::BroadcasterMatchesRef() suffices.
Modified:
lldb/trunk/include/lldb/API/SBEvent.h
lldb/trunk/test/python_api/default-constructor/sb_event.py
Modified: lldb/trunk/include/lldb/API/SBEvent.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/API/SBEvent.h?rev=134659&r1=134658&r2=134659&view=diff
==============================================================================
--- lldb/trunk/include/lldb/API/SBEvent.h (original)
+++ lldb/trunk/include/lldb/API/SBEvent.h Thu Jul 7 18:45:49 2011
@@ -49,8 +49,10 @@
lldb::SBBroadcaster
GetBroadcaster () const;
+#ifndef SWIG
bool
BroadcasterMatchesPtr (const lldb::SBBroadcaster *broadcaster);
+#endif
bool
BroadcasterMatchesRef (const lldb::SBBroadcaster &broadcaster);
Modified: lldb/trunk/test/python_api/default-constructor/sb_event.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/default-constructor/sb_event.py?rev=134659&r1=134658&r2=134659&view=diff
==============================================================================
--- lldb/trunk/test/python_api/default-constructor/sb_event.py (original)
+++ lldb/trunk/test/python_api/default-constructor/sb_event.py Thu Jul 7 18:45:49 2011
@@ -12,7 +12,6 @@
# Do fuzz testing on the broadcaster obj, it should not crash lldb.
import sb_broadcaster
sb_broadcaster.fuzz_obj(broadcaster)
- obj.BroadcasterMatchesPtr(None)
obj.BroadcasterMatchesRef(broadcaster)
obj.GetDescription(lldb.SBStream())
obj.Clear()
More information about the lldb-commits
mailing list