mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
gstdio: Ignore POSIX stdio wrappers under g-ir-scanner
Just as they were ignored under gtk-doc, ignore them when scanning the sources using `g-ir-scanner`, and make it look at the full function declarations instead. This fixes inclusion of functions like `g_creat()` in the documentation. Signed-off-by: Philip Withnall <pwithnall@gnome.org> Helps: #3037
This commit is contained in:
parent
3c42b9c3ee
commit
40e6a09d37
@ -57,7 +57,7 @@ typedef struct stat GStatBuf;
|
||||
|
||||
#endif
|
||||
|
||||
#if defined(G_OS_UNIX) && !defined(G_STDIO_WRAP_ON_UNIX)
|
||||
#if defined(G_OS_UNIX) && !defined(G_STDIO_WRAP_ON_UNIX) && !defined(__GI_SCANNER__)
|
||||
|
||||
/* Just pass on to the system functions, so there's no potential for data
|
||||
* format mismatches, especially with large file interfaces.
|
||||
|
Loading…
Reference in New Issue
Block a user