message: make it easier to create heap-allocated messages

We need this for guile to coöperate with its garbage collector.
This commit is contained in:
Dirk-Jan C. Binnema
2022-05-21 17:41:21 +03:00
parent 4305f47b86
commit a3ad04f12f
5 changed files with 20 additions and 29 deletions

View File

@ -97,10 +97,9 @@ public:
void add(Field::Id id, const Contacts& contacts);
/**
* Addd some extra contacts with the given propname;
* this is useful for ":reply-to" and ":list-post" which don't
* have a Field::Id and are only present in the sexp,
* not in the terms/values
* Add some extra contacts with the given propname; this is useful for
* ":reply-to" and ":list-post" which don't have a Field::Id and are
* only present in the sexp, not in the terms/values
*
* @param propname property name (e.g.,. ":reply-to")
* @param contacts contacts for this property.