]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
libctf: document parameters to ctf_import
authorNick Alcock <nick.alcock@oracle.com>
Sun, 16 Feb 2025 19:37:54 +0000 (19:37 +0000)
committerNick Alcock <nick.alcock@oracle.com>
Fri, 28 Feb 2025 15:13:24 +0000 (15:13 +0000)
One is a parent dict, one is a child: you shouldn't have to look at the
source to tell which is which.

include/
* ctf-api.h (ctf_import): Name parameters.

include/ctf-api.h

index fd77953e1936c2d4de59317fec916d8a9116418d..fa55a71ae2d52eaf79aeda8b8c7ca0c08f7c3ad4 100644 (file)
@@ -475,7 +475,7 @@ extern ctf_dict_t *ctf_parent_dict (ctf_dict_t *);
 extern const char *ctf_parent_name (ctf_dict_t *);
 extern int ctf_type_isparent (const ctf_dict_t *, ctf_id_t);
 extern int ctf_type_ischild (const ctf_dict_t *, ctf_id_t);
-extern int ctf_import (ctf_dict_t *, ctf_dict_t *);
+extern int ctf_import (ctf_dict_t *child, ctf_dict_t *parent);
 
 /* Set these names (used when creating dicts).  */