[Lldb-commits] [PATCH] D103675: [LLDB/API] Expose args and env from SBProcessInfo.

Raphael Isemann via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Jun 4 02:06:47 PDT 2021


teemperor added inline comments.


================
Comment at: lldb/bindings/interface/SBProcessInfo.i:78
+
+    %feature("docstring",
+    "Return the specified argument given to the described process."
----------------
Can you add this line here?

```
%feature("autodoc", "GetArgumentAtIndex(int index) -> string") GetArgumentAtIndex;
```

Otherwise the Python docs will mention that this returns `const char *` which is always kinda weird for users to see.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D103675/new/

https://reviews.llvm.org/D103675



More information about the lldb-commits mailing list