[Lldb-commits] [lldb] r135019 - in /lldb/trunk/include/lldb/API: SBModule.h SBTarget.h

Johnny Chen johnny.chen at apple.com
Tue Jul 12 17:46:49 PDT 2011


Author: johnny
Date: Tue Jul 12 19:46:49 2011
New Revision: 135019

URL: http://llvm.org/viewvc/llvm-project?rev=135019&view=rev
Log:
Update docstrings for SBModeule/SBTarget::FindGlobalVariables().

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

Modified: lldb/trunk/include/lldb/API/SBModule.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/API/SBModule.h?rev=135019&r1=135018&r2=135019&view=diff
==============================================================================
--- lldb/trunk/include/lldb/API/SBModule.h (original)
+++ lldb/trunk/include/lldb/API/SBModule.h Tue Jul 12 19:46:49 2011
@@ -175,12 +175,15 @@
     //------------------------------------------------------------------
     /// Find global and static variables by name.
     ///
+    /// @param[in] target
+    ///     A valid SBTarget instance representing the debuggee.
+    ///
     /// @param[in] name
     ///     The name of the global or static variable we are looking
     ///     for.
     ///
-    /// @param[in] target
-    ///     The target program where the variables reside.
+    /// @param[in] max_matches
+    ///     Allow the number of matches to be limited to \a max_matches.
     ///
     /// @return
     ///     A list of matched variables in an SBValueList.

Modified: lldb/trunk/include/lldb/API/SBTarget.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/API/SBTarget.h?rev=135019&r1=135018&r2=135019&view=diff
==============================================================================
--- lldb/trunk/include/lldb/API/SBTarget.h (original)
+++ lldb/trunk/include/lldb/API/SBTarget.h Tue Jul 12 19:46:49 2011
@@ -290,6 +290,25 @@
                    bool append, 
                    lldb::SBSymbolContextList& sc_list);
 
+#ifdef SWIG
+    %feature("autodoc", "
+#endif
+    //------------------------------------------------------------------
+    /// Find global and static variables by name.
+    ///
+    /// @param[in] name
+    ///     The name of the global or static variable we are looking
+    ///     for.
+    ///
+    /// @param[in] max_matches
+    ///     Allow the number of matches to be limited to \a max_matches.
+    ///
+    /// @return
+    ///     A list of matched variables in an SBValueList.
+    //------------------------------------------------------------------
+#ifdef SWIG
+    ") FindGlobalVariables;
+#endif
     lldb::SBValueList
     FindGlobalVariables (const char *name, 
                          uint32_t max_matches);





More information about the lldb-commits mailing list