diff options
author | Petr Machata <pmachata@redhat.com> | 2014-11-07 20:15:31 +0100 |
---|---|---|
committer | Petr Machata <pmachata@redhat.com> | 2014-11-07 20:15:31 +0100 |
commit | 4ded1ea6029dfd736f9197d119163705df85fcac (patch) | |
tree | 25edf44d85075387cee5ab7aee4f3f39929d9f2f | |
parent | cdc234f7c490a3f665e74577730aaed4caa927b6 (diff) |
Make it explicit in comments that dwarf_macro_paramN fetche (N-1)th paramupstream/pmachata/macro
-rw-r--r-- | libdw/libdw.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libdw/libdw.h b/libdw/libdw.h index 9ac8ea49..ca15cc26 100644 --- a/libdw/libdw.h +++ b/libdw/libdw.h @@ -896,13 +896,13 @@ extern int dwarf_macro_getparamcnt (Dwarf_Macro *macro, size_t *paramcntp); extern int dwarf_macro_param (Dwarf_Macro *macro, size_t idx, Dwarf_Attribute *attribute); -/* Return first macro parameter. This will return -1 if the parameter - is not an integral value. Use dwarf_macro_param for more general - access. */ +/* Return macro parameter with index 0. This will return -1 if the + parameter is not an integral value. Use dwarf_macro_param for more + general access. */ extern int dwarf_macro_param1 (Dwarf_Macro *macro, Dwarf_Word *paramp) __nonnull_attribute__ (2); -/* Return second macro parameter. This will return -1 if the +/* Return macro parameter with index 1. This will return -1 if the parameter is not an integral or string value. Use dwarf_macro_param for more general access. */ extern int dwarf_macro_param2 (Dwarf_Macro *macro, Dwarf_Word *paramp, |