Port MatrixSearchKey to C

This commit is contained in:
2017-11-02 10:18:46 +01:00
parent 5c3911e6fb
commit 80e61b8f93
4 changed files with 22 additions and 20 deletions

View File

@@ -162,6 +162,13 @@ namespace Matrix {
RANK;
}
[CCode (cheader_filename = "matrix-enumtypes.h", cprefix = "MATRIX_SEARCH_KEY_")]
public enum SearchKey {
CONTENT_BODY,
CONTENT_NAME,
CONTENT_TOPIC;
}
/**
* The major version number of the Matrix.org GLib SDK.
*/