summaryrefslogtreecommitdiff
path: root/navit/attr.c
diff options
context:
space:
mode:
Diffstat (limited to 'navit/attr.c')
-rw-r--r--navit/attr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/navit/attr.c b/navit/attr.c
index de2a508f0..b9d54899f 100644
--- a/navit/attr.c
+++ b/navit/attr.c
@@ -680,6 +680,10 @@ attr_generic_prepend_attr(struct attr **attrs, struct attr *attr) {
*
* If `attrs` does not contain `attr`, this function is a no-op.
*
+ * Attributes are matched based on their `type` and `u.data` members, thus `attr` can be a shallow copy
+ * of the attribute, and can match multiple attributes in the list. The `attr` argument itself is not
+ * changed.
+ *
* @param attrs The attribute list
* @param attr The attribute to remove from the list
*