[Lldb-commits] [lldb] r135108 - /lldb/trunk/include/lldb/API/SBTarget.h

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


Author: johnny
Date: Wed Jul 13 18:35:33 2011
New Revision: 135108

URL: http://llvm.org/viewvc/llvm-project?rev=135108&view=rev
Log:
Add some more docstrings for SBTarget.

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

Modified: lldb/trunk/include/lldb/API/SBTarget.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/API/SBTarget.h?rev=135108&r1=135107&r2=135108&view=diff
==============================================================================
--- lldb/trunk/include/lldb/API/SBTarget.h (original)
+++ lldb/trunk/include/lldb/API/SBTarget.h Wed Jul 13 18:35:33 2011
@@ -175,7 +175,7 @@
                   const char *working_directory);
     
 #ifdef SWIG
-    %feature("autodoc", "
+    %feature("docstring", "
 #endif
     //------------------------------------------------------------------
     /// Attach to process with pid.
@@ -204,7 +204,7 @@
                            lldb::SBError& error);
 
 #ifdef SWIG
-    %feature("autodoc", "
+    %feature("docstring", "
 #endif
     //------------------------------------------------------------------
     /// Attach to process with name.
@@ -237,7 +237,7 @@
                              lldb::SBError& error);
 
 #ifdef SWIG
-    %feature("autodoc", "
+    %feature("docstring", "
 #endif
     //------------------------------------------------------------------
     /// Attach to process with name.
@@ -284,6 +284,36 @@
     lldb::SBModule
     FindModule (const lldb::SBFileSpec &file_spec);
 
+#ifdef SWIG
+    %feature("docstring", "
+#endif
+    //------------------------------------------------------------------
+    /// Find functions by name.
+    ///
+    /// @param[in] name
+    ///     The name of the function we are looking for.
+    ///
+    /// @param[in] name_type_mask
+    ///     A logical OR of one or more FunctionNameType enum bits that
+    ///     indicate what kind of names should be used when doing the
+    ///     lookup. Bits include fully qualified names, base names,
+    ///     C++ methods, or ObjC selectors. 
+    ///     See FunctionNameType for more details.
+    ///
+    /// @param[in] append
+    ///     If true, any matches will be appended to \a sc_list, else
+    ///     matches replace the contents of \a sc_list.
+    ///
+    /// @param[out] sc_list
+    ///     A symbol context list that gets filled in with all of the
+    ///     matches.
+    ///
+    /// @return
+    ///     The number of matches added to \a sc_list.
+    //------------------------------------------------------------------
+#ifdef SWIG
+    ") FindFunctions;
+#endif
     uint32_t
     FindFunctions (const char *name, 
                    uint32_t name_type_mask, // Logical OR one or more FunctionNameType enum bits
@@ -291,7 +321,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