mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
gwinhttpfile: Document constructor as potentially returning NULL
It can return NULL if the URI was badly encoded or couldn’t be handled by Windows’ API. Signed-off-by: Philip Withnall <withnall@endlessm.com> Helps: #1819
This commit is contained in:
parent
e24503a8e9
commit
4b0421a730
@ -80,7 +80,7 @@ g_winhttp_file_init (GWinHttpFile *winhttp)
|
||||
* @vfs: GWinHttpVfs to use
|
||||
* @uri: URI of the GWinHttpFile to create.
|
||||
*
|
||||
* Returns: new winhttp #GFile.
|
||||
* Returns: (nullable): new winhttp #GFile, or %NULL if there was an error constructing it.
|
||||
*/
|
||||
GFile *
|
||||
_g_winhttp_file_new (GWinHttpVfs *vfs,
|
||||
|
Loading…
Reference in New Issue
Block a user