Have gtk-doc ignore some #defines

We prefer to have gtk-doc pick up the function rather than the macro.
This commit is contained in:
Ryan Lortie 2011-07-22 13:41:13 +02:00
parent 5dbc12e9f1
commit 6492548b6f
2 changed files with 4 additions and 0 deletions

View File

@ -60,6 +60,7 @@ typedef struct stat GStatBuf;
* in a portable system header that we could include here.
*/
#ifndef __GTK_DOC_IGNORE__
#define g_chmod chmod
#define g_open open
#define g_creat creat
@ -71,6 +72,7 @@ typedef struct stat GStatBuf;
#define g_fopen fopen
#define g_freopen freopen
#define g_utime utime
#endif
int g_access (const gchar *filename,
int mode);

View File

@ -85,8 +85,10 @@ gchar* g_win32_error_message (gint error);
#ifndef G_DISABLE_DEPRECATED
#ifndef __GTK_DOC_IGNORE__
#define g_win32_get_package_installation_directory g_win32_get_package_installation_directory_utf8
#define g_win32_get_package_installation_subdirectory g_win32_get_package_installation_subdirectory_utf8
#endif
gchar* g_win32_get_package_installation_directory (const gchar *package,
const gchar *dll_name);