diff options
author | Greg Clayton <gclayton@apple.com> | 2012-02-03 03:22:53 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2012-02-03 03:22:53 +0000 |
commit | b62bb8cedc9452886b8e64e8a39f3d0e34d6975e (patch) | |
tree | d945f5b87c4ff5ce99d9a611b4ede5721cd08407 /lldb/scripts/Python/interface/SBProcess.i | |
parent | 96c755d13c58487ecd1a8d0cbbd017364c1725a0 (diff) | |
download | bcm5719-llvm-b62bb8cedc9452886b8e64e8a39f3d0e34d6975e.tar.gz bcm5719-llvm-b62bb8cedc9452886b8e64e8a39f3d0e34d6975e.zip |
Cleaned up the documentation strings for many helper objects and added
lldb.SBModule.section and lldb.SBModule.sections property access.
llvm-svn: 149665
Diffstat (limited to 'lldb/scripts/Python/interface/SBProcess.i')
-rw-r--r-- | lldb/scripts/Python/interface/SBProcess.i | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lldb/scripts/Python/interface/SBProcess.i b/lldb/scripts/Python/interface/SBProcess.i index 77b65b74394..df58f169aa9 100644 --- a/lldb/scripts/Python/interface/SBProcess.i +++ b/lldb/scripts/Python/interface/SBProcess.i @@ -309,7 +309,7 @@ public: return True return False - class thread_array_access(object): + class threads_access(object): '''A helper object that will lazily hand out thread for a process when supplied an index.''' def __init__(self, sbprocess): self.sbprocess = sbprocess @@ -323,12 +323,12 @@ public: return self.sbprocess.GetThreadAtIndex(key) return None - def get_thread_array_access_object(self): - '''An accessor function that retuns a thread_array_access() object which allows lazy thread array access.''' - return self.thread_array_access (self) + def get_threads_access_object(self): + '''An accessor function that returns a modules_access() object which allows lazy thread access from a lldb.SBProcess object.''' + return self.threads_access (self) def get_process_thread_list(self): - '''An accessor function that retuns an array object that contains all threads in this process object.''' + '''An accessor function that returns a list() that contains all threads in a lldb.SBProcess object.''' threads = [] for idx in range(self.GetNumThreads()): threads.append(GetThreadAtIndex(idx)) @@ -337,8 +337,8 @@ public: __swig_getmethods__["threads"] = get_process_thread_list if _newclass: x = property(get_process_thread_list, None) - __swig_getmethods__["thread"] = get_thread_array_access_object - if _newclass: x = property(get_thread_array_access_object, None) + __swig_getmethods__["thread"] = get_threads_access_object + if _newclass: x = property(get_threads_access_object, None) __swig_getmethods__["is_alive"] = __get_is_alive__ if _newclass: x = property(__get_is_alive__, None) |