unescape_object_path


Description:

[ CCode ( array_length = false , array_null_terminated = true ) ]
[ Version ( since = "2.68" ) ]
public unowned uint8[]? unescape_object_path (string s)

Unescapes an string that was previously escaped with escape_object_path .

If the string is in a format that could not have been returned by escape_object_path, this function returns null.

Encoding alphanumeric characters which do not need to be encoded is not allowed (e.g `_63` is not valid, the string should contain `c` instead) .

Parameters:

s

the string to unescape

Returns:

an unescaped version of s, or null if s is not a string returned from escape_object_path. Free with g_free.


Namespace: GLib.DBus
Package: gio-2.0