mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-04 10:16:17 +01:00
Merge branch 'gerror-docs-omission' into 'master'
gerror: Add a missing precondition assertion in documentation See merge request GNOME/glib!677
This commit is contained in:
commit
aa6aa8b5e4
@ -126,6 +126,8 @@
|
||||
* gint fd;
|
||||
* int saved_errno;
|
||||
*
|
||||
* g_return_val_if_fail (error == NULL || *error == NULL, -1);
|
||||
*
|
||||
* fd = open ("file.txt", O_RDONLY);
|
||||
* saved_errno = errno;
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user