[Lldb-commits] [lldb] r135357 - in /lldb/trunk/scripts: Python/interface/SBTarget.i lldb.swig
Johnny Chen
johnny.chen at apple.com
Sat Jul 16 14:27:36 PDT 2011
Author: johnny
Date: Sat Jul 16 16:27:36 2011
New Revision: 135357
URL: http://llvm.org/viewvc/llvm-project?rev=135357&view=rev
Log:
Have SWIG generate autodoc strings with parameter types for all SB API objects by default.
Modified:
lldb/trunk/scripts/Python/interface/SBTarget.i
lldb/trunk/scripts/lldb.swig
Modified: lldb/trunk/scripts/Python/interface/SBTarget.i
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/scripts/Python/interface/SBTarget.i?rev=135357&r1=135356&r2=135357&view=diff
==============================================================================
--- lldb/trunk/scripts/Python/interface/SBTarget.i (original)
+++ lldb/trunk/scripts/Python/interface/SBTarget.i Sat Jul 16 16:27:36 2011
@@ -39,7 +39,6 @@
) SBTarget;
class SBTarget
{
- %feature("autodoc", "1");
public:
//------------------------------------------------------------------
// Broadcaster bits.
Modified: lldb/trunk/scripts/lldb.swig
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/scripts/lldb.swig?rev=135357&r1=135356&r2=135357&view=diff
==============================================================================
--- lldb/trunk/scripts/lldb.swig (original)
+++ lldb/trunk/scripts/lldb.swig Sat Jul 16 16:27:36 2011
@@ -31,9 +31,11 @@
and a source file location. SBCompileUnit contains SBLineEntry(s)."
%enddef
-/* The name of the module to be created. */
+// The name of the module to be created.
%module(docstring=DOCSTRING) lldb
+// Parameter types will be used in the autodoc string.
+%feature("autodoc", "1");
/* Typemap definitions, to allow SWIG to properly handle 'char**' data types. */
More information about the lldb-commits
mailing list