mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02: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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user