diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2013-01-14 16:27:42 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2013-01-14 16:27:42 +0000 |
commit | aaca0e9822ba8bd2e59847f774cd4db619c5089b (patch) | |
tree | 47c718d18d63b513fd6727e3725535a3a8d6bfec /glib/glib/glib-init.h | |
parent | 775bcb66bb7304e6ca0f0956af2ad9e46ce54041 (diff) | |
download | pkg-config-aaca0e9822ba8bd2e59847f774cd4db619c5089b.tar.gz |
Add files from pkg-config 0.27.1 tarball
Building from git requires glib, which is a circular dependency.
As pkg-config releases happen roughly once a year, this isn't a big loss.
Diffstat (limited to 'glib/glib/glib-init.h')
-rw-r--r-- | glib/glib/glib-init.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/glib/glib/glib-init.h b/glib/glib/glib-init.h new file mode 100644 index 0000000..bf1ecd0 --- /dev/null +++ b/glib/glib/glib-init.h @@ -0,0 +1,40 @@ +/* + * Copyright © 2011 Canonical Limited + * + * This library is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2 of the + * licence, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + * USA. + * + * Author: Ryan Lortie <desrt@desrt.ca> + */ + +#ifndef __GLIB_INIT_H__ +#define __GLIB_INIT_H__ + +#include "gmessages.h" + +G_GNUC_INTERNAL extern GLogLevelFlags g_log_always_fatal; +G_GNUC_INTERNAL extern GLogLevelFlags g_log_msg_prefix; +GLIB_VAR gboolean g_mem_gc_friendly; + +#ifdef G_OS_WIN32 +#include <windows.h> + +G_GNUC_INTERNAL void g_thread_win32_thread_detach (void); +G_GNUC_INTERNAL void g_thread_win32_init (void); +G_GNUC_INTERNAL void g_clock_win32_init (void); +G_GNUC_INTERNAL extern HMODULE glib_dll; +#endif + +#endif /* __GLIB_INIT_H__ */ |