mirror of
https://github.com/JakeHillion/drgn.git
synced 2024-12-22 17:23:06 +00:00
38939cce5e
To simplify converting helpers to allow omitting the prog argument, add a couple of decorators that take care all of the messy details. @takes_program_or_default is based on an example from Stephen Brennan, and the rest handle progressively more complex calling conventions. Also update drgndoc to be aware of these decorators and add some boilerplate to the generated documentation. Signed-off-by: Omar Sandoval <osandov@osandov.com> |
||
---|---|---|
.. | ||
common | ||
__init__.py |