Imported Upstream version 0.27.1
[platform/upstream/pkg-config.git] / glib / glib / glib-init.h
1 /*
2  * Copyright © 2011 Canonical Limited
3  *
4  * This library is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU Lesser General Public License as
6  * published by the Free Software Foundation; either version 2 of the
7  * licence, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful, but
10  * WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
17  * USA.
18  *
19  * Author: Ryan Lortie <desrt@desrt.ca>
20  */
21
22 #ifndef __GLIB_INIT_H__
23 #define __GLIB_INIT_H__
24
25 #include "gmessages.h"
26
27 G_GNUC_INTERNAL extern GLogLevelFlags g_log_always_fatal;
28 G_GNUC_INTERNAL extern GLogLevelFlags g_log_msg_prefix;
29 GLIB_VAR gboolean g_mem_gc_friendly;
30
31 #ifdef G_OS_WIN32
32 #include <windows.h>
33
34 G_GNUC_INTERNAL void g_thread_win32_thread_detach (void);
35 G_GNUC_INTERNAL void g_thread_win32_init (void);
36 G_GNUC_INTERNAL void g_clock_win32_init (void);
37 G_GNUC_INTERNAL extern HMODULE glib_dll;
38 #endif
39
40 #endif /* __GLIB_INIT_H__ */