Port _g_enum_value_to_nick() to C

This commit is contained in:
2017-11-03 06:49:07 +01:00
parent a3dee44bb8
commit 3418c22250
5 changed files with 96 additions and 21 deletions

View File

@@ -204,6 +204,10 @@ namespace Matrix {
ANSWER;
}
/* Utilities */
[CCode (cheader_filename = "utils.h", cname = "_matrix_g_enum_to_string")]
public string? _g_enum_value_to_nick(GLib.Type enum_type, int value, bool convert_dashes = true);
/**
* The major version number of the Matrix.org GLib SDK.
*/