Hi,
I’ve committed new convenience GEnum/GFlags notation support
into HEAD.
Now, we can use :nick_name instead of
ClassName::NICK_NAME. For example:
GLib::UTF8.normalize(utf8, GLib::NormalizeMode::NFD)
→
GLib::UTF8.normalize(utf8, :nfd)
And we can use an array instead of ‘|’ for GFlags. For
example:
key_file.load_from_data(data,
GLib::KeyFile::KEEP_COMMENTS |
GLib::KeyFile::KEEP_TRANSLATIONS)
→
key_file.load_from_data(data, [:keep_contents, :keep_translations])
Thanks,
kou
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/