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

@ -181,10 +181,8 @@ contact_type_from_field_id(Field::Id id) noexcept {
}
}
using Contacts = std::vector<Contact>;
/**
* Get contacts as a comma-separated list.
*