Port MatrixProfile to C

This commit is contained in:
2017-11-03 14:57:19 +01:00
parent 8fe499e967
commit b804d2d1c9
6 changed files with 371 additions and 67 deletions

View File

@@ -292,6 +292,15 @@ namespace Matrix {
public int _g_enum_nick_to_value(GLib.Type enum_type, string nick)
throws Matrix.Error;
[CCode (cheader_filename = "matrix-profile.h")]
public class Profile : GLib.Object {
public GLib.TimeSpan age {get;}
public string? avatar_url {get; set;}
public string? display_name {get; set;}
public Profile();
}
/**
* The major version number of the Matrix.org GLib SDK.
*/