[Lldb-commits] [lldb] r135526 - /lldb/trunk/scripts/lldb.swig

Johnny Chen johnny.chen at apple.com
Tue Jul 19 14:49:34 PDT 2011


Author: johnny
Date: Tue Jul 19 16:49:34 2011
New Revision: 135526

URL: http://llvm.org/viewvc/llvm-project?rev=135526&view=rev
Log:
Rearrange the %include SWIG directives into two groups.  One is the pure .h headers and the other is the .i interface files.
The objective is to move the .h header into .i interface file eventually.

Modified:
    lldb/trunk/scripts/lldb.swig

Modified: lldb/trunk/scripts/lldb.swig
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/scripts/lldb.swig?rev=135526&r1=135525&r2=135526&view=diff
==============================================================================
--- lldb/trunk/scripts/lldb.swig (original)
+++ lldb/trunk/scripts/lldb.swig Tue Jul 19 16:49:34 2011
@@ -197,38 +197,42 @@
 %include "lldb/lldb-forward-rtti.h"
 %include "lldb/lldb-types.h"
 
-%include "./Python/interface/SBAddress.i"
-%include "./Python/interface/SBBlock.i"
-%include "./Python/interface/SBBreakpoint.i"
-%include "./Python/interface/SBBreakpointLocation.i"
+/* Headers that are swigged directly. */
+%include "lldb/API/SBDefines.h"
 %include "lldb/API/SBBroadcaster.h"
 %include "lldb/API/SBCommandInterpreter.h"
 %include "lldb/API/SBCommandReturnObject.h"
 %include "lldb/API/SBCommunication.h"
-%include "./Python/interface/SBCompileUnit.i"
-%include "./Python/interface/SBDebugger.i"
 %include "lldb/API/SBError.h"
-%include "./Python/interface/SBEvent.i"
 %include "lldb/API/SBFileSpec.h"
-%include "./Python/interface/SBFrame.i"
-%include "./Python/interface/SBFunction.i"
 %include "lldb/API/SBHostOS.h"
 %include "lldb/API/SBInputReader.h"
 %include "lldb/API/SBInstruction.h"
 %include "lldb/API/SBInstructionList.h"
+%include "lldb/API/SBSourceManager.h"
+%include "lldb/API/SBStream.h"
+%include "lldb/API/SBStringList.h"
+%include "lldb/API/SBType.h"
+
+/* Python interface files with docstrings. */
+%include "./Python/interface/SBAddress.i"
+%include "./Python/interface/SBBlock.i"
+%include "./Python/interface/SBBreakpoint.i"
+%include "./Python/interface/SBBreakpointLocation.i"
+%include "./Python/interface/SBCompileUnit.i"
+%include "./Python/interface/SBDebugger.i"
+%include "./Python/interface/SBEvent.i"
+%include "./Python/interface/SBFrame.i"
+%include "./Python/interface/SBFunction.i"
 %include "./Python/interface/SBLineEntry.i"
 %include "./Python/interface/SBListener.i"
 %include "./Python/interface/SBModule.i"
 %include "./Python/interface/SBProcess.i"
-%include "lldb/API/SBSourceManager.h"
-%include "lldb/API/SBStream.h"
-%include "lldb/API/SBStringList.h"
 %include "./Python/interface/SBSymbol.i"
 %include "./Python/interface/SBSymbolContext.i"
 %include "./Python/interface/SBSymbolContextList.i"
 %include "./Python/interface/SBTarget.i"
 %include "./Python/interface/SBThread.i"
-%include "lldb/API/SBType.h"
 %include "./Python/interface/SBValue.i"
 %include "./Python/interface/SBValueList.i"
 





More information about the lldb-commits mailing list