gkeyfile: add g_key_file_load_from_bytes() API

This makes it easier to use GKeyFile from language bindings, and makes
the API more consistent and modern with the new data type available in
GLib.

https://bugzilla.gnome.org/show_bug.cgi?id=767880
This commit is contained in:
Cosimo Cecchi
2016-06-20 10:01:01 -07:00
parent 7563ab4734
commit d07e166432
4 changed files with 74 additions and 0 deletions

View File

@@ -1925,6 +1925,7 @@ g_key_file_unref
g_key_file_set_list_separator
g_key_file_load_from_file
g_key_file_load_from_data
g_key_file_load_from_bytes
g_key_file_load_from_data_dirs
g_key_file_load_from_dirs
g_key_file_to_data