[Lldb-commits] [lldb] r134553 - /lldb/trunk/include/lldb/API/SBEvent.h

Johnny Chen johnny.chen at apple.com
Wed Jul 6 15:23:24 PDT 2011


Author: johnny
Date: Wed Jul  6 17:23:24 2011
New Revision: 134553

URL: http://llvm.org/viewvc/llvm-project?rev=134553&view=rev
Log:
SWIG doesn't need two methods of the same name 'GetDescription' but differ in
the presence of 'const'.  Ifndef the non-const one out.

Modified:
    lldb/trunk/include/lldb/API/SBEvent.h

Modified: lldb/trunk/include/lldb/API/SBEvent.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/API/SBEvent.h?rev=134553&r1=134552&r2=134553&view=diff
==============================================================================
--- lldb/trunk/include/lldb/API/SBEvent.h (original)
+++ lldb/trunk/include/lldb/API/SBEvent.h Wed Jul  6 17:23:24 2011
@@ -61,8 +61,10 @@
     static const char *
     GetCStringFromEvent (const lldb::SBEvent &event);
 
+#ifndef SWIG
     bool
     GetDescription (lldb::SBStream &description);
+#endif
 
     bool
     GetDescription (lldb::SBStream &description) const;





More information about the lldb-commits mailing list