diff options
| author | Johnny Chen <johnny.chen@apple.com> | 2011-07-26 20:57:10 +0000 |
|---|---|---|
| committer | Johnny Chen <johnny.chen@apple.com> | 2011-07-26 20:57:10 +0000 |
| commit | e33b166da1586296b44d609c9edd1d9d89a4e54e (patch) | |
| tree | 20f82a3d10823913253b856431c7ad2f45b583c4 /lldb/scripts/Python/edit-swig-python-wrapper-file.py | |
| parent | 2aedba6c5e18fa3e62a0eca95d50c6ab77abd109 (diff) | |
| download | llvm-e33b166da1586296b44d609c9edd1d9d89a4e54e.zip llvm-e33b166da1586296b44d609c9edd1d9d89a4e54e.tar.gz llvm-e33b166da1586296b44d609c9edd1d9d89a4e54e.tar.bz2 | |
We can do better with the SBValue.linked_list_iter() API by supplying a default
end of list test function as __eol_test__.
The simple example can be reduced to:
for t in task_head.linked_list_iter('next'):
print t
Modify the test program to exercise the API for both cases: supplying or not
supplying an end of list test function.
llvm-svn: 136144
Diffstat (limited to 'lldb/scripts/Python/edit-swig-python-wrapper-file.py')
0 files changed, 0 insertions, 0 deletions
