Port MatrixEventRoomAliases to C

This commit is contained in:
2017-11-15 15:07:31 +01:00
parent 171f76e678
commit 10a27bef17
7 changed files with 353 additions and 89 deletions

View File

@@ -593,5 +593,16 @@ namespace Matrix {
protected override void to_json(Json.Node json_data)
throws Matrix.Error;
}
[CCode (cheader_filename = "matrix-event-room-aliases.h")]
public class RoomAliases : State {
public string[] aliases { get; set; }
protected override void from_json(Json.Node json_data)
throws Matrix.Error;
protected override void to_json(Json.Node json_data)
throws Matrix.Error;
}
}
}