macros: Rename generate_element_with_only_attributes!() into generate_element!().

This commit is contained in:
Emmanuel Gil Peyrot 2018-05-28 16:42:35 +02:00
commit 9c598fbdf9
16 changed files with 80 additions and 52 deletions

View file

@ -30,7 +30,8 @@ generate_id!(CandidateId);
generate_id!(StreamId);
generate_element_with_only_attributes!(Candidate, "candidate", JINGLE_S5B, [
generate_element!(Candidate, "candidate", JINGLE_S5B,
attributes: [
cid: CandidateId = "cid" => required,
host: IpAddr = "host" => required,
jid: Jid = "jid" => required,