[Lldb-commits] [lldb] r135105 - /lldb/trunk/include/lldb/API/SBModule.h

Johnny Chen johnny.chen at apple.com
Wed Jul 13 16:17:13 PDT 2011


Author: johnny
Date: Wed Jul 13 18:17:13 2011
New Revision: 135105

URL: http://llvm.org/viewvc/llvm-project?rev=135105&view=rev
Log:
Use %feature("docstring") for methods of SBModule class so that the methods signature also gets generated in the Python docstring.

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

Modified: lldb/trunk/include/lldb/API/SBModule.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/API/SBModule.h?rev=135105&r1=135104&r2=135105&view=diff
==============================================================================
--- lldb/trunk/include/lldb/API/SBModule.h (original)
+++ lldb/trunk/include/lldb/API/SBModule.h Wed Jul 13 18:17:13 2011
@@ -49,7 +49,7 @@
     IsValid () const;
 
 #ifdef SWIG
-    %feature("autodoc", "
+    %feature("docstring", "
 #endif
     //------------------------------------------------------------------
     /// Get const accessor for the module file specification.
@@ -68,7 +68,7 @@
     GetFileSpec () const;
 
 #ifdef SWIG
-    %feature("autodoc", "
+    %feature("docstring", "
 #endif
     //------------------------------------------------------------------
     /// Get accessor for the module platform file specification.
@@ -100,7 +100,7 @@
 #endif
 
 #ifdef SWIG
-    %feature("autodoc",
+    %feature("docstring",
              "Returns the UUID of the module as a Python string."
              ) GetUUIDString;
 #endif
@@ -134,7 +134,7 @@
     GetSymbolAtIndex (size_t idx);
 
 #ifdef SWIG
-    %feature("autodoc", "
+    %feature("docstring", "
 #endif
     //------------------------------------------------------------------
     /// Find functions by name.
@@ -170,7 +170,7 @@
                    lldb::SBSymbolContextList& sc_list);
 
 #ifdef SWIG
-    %feature("autodoc", "
+    %feature("docstring", "
 #endif
     //------------------------------------------------------------------
     /// Find global and static variables by name.





More information about the lldb-commits mailing list