Blame libvirt-gobject/libvirt-gobject-compat.h
|
Packit Service |
ea0369 |
/*
|
|
Packit Service |
ea0369 |
* libvirt-gobject-compat.h: libvirt gobject integration
|
|
Packit Service |
ea0369 |
*
|
|
Packit Service |
ea0369 |
* Copyright (C) 2011 Red Hat, Inc.
|
|
Packit Service |
ea0369 |
*
|
|
Packit Service |
ea0369 |
* This library is free software; you can redistribute it and/or
|
|
Packit Service |
ea0369 |
* modify it under the terms of the GNU Lesser General Public
|
|
Packit Service |
ea0369 |
* License as published by the Free Software Foundation; either
|
|
Packit Service |
ea0369 |
* version 2.1 of the License, or (at your option) any later version.
|
|
Packit Service |
ea0369 |
*
|
|
Packit Service |
ea0369 |
* This library is distributed in the hope that it will be useful,
|
|
Packit Service |
ea0369 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
ea0369 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit Service |
ea0369 |
* Lesser General Public License for more details.
|
|
Packit Service |
ea0369 |
*
|
|
Packit Service |
ea0369 |
* You should have received a copy of the GNU Lesser General Public
|
|
Packit Service |
ea0369 |
* License along with this library. If not, see
|
|
Packit Service |
ea0369 |
* <http://www.gnu.org/licenses/>.
|
|
Packit Service |
ea0369 |
*
|
|
Packit Service |
ea0369 |
* Author: Marc-André Lureau <marcandre.lureau@redhat.com>
|
|
Packit Service |
ea0369 |
*/
|
|
Packit Service |
ea0369 |
|
|
Packit Service |
ea0369 |
#ifndef __LIBVIRT_GOBJECT_COMPAT_H__
|
|
Packit Service |
ea0369 |
#define __LIBVIRT_GOBJECT_COMPAT_H__
|
|
Packit Service |
ea0369 |
|
|
Packit Service |
ea0369 |
#include <glib-object.h>
|
|
Packit Service |
ea0369 |
#include <gio/gio.h>
|
|
Packit Service |
ea0369 |
|
|
Packit Service |
ea0369 |
#if GLIB_CHECK_VERSION(2, 31, 0)
|
|
Packit Service |
ea0369 |
|
|
Packit Service |
ea0369 |
void gvir_mutex_free(GMutex *mutex);
|
|
Packit Service |
ea0369 |
GMutex *gvir_mutex_new(void);
|
|
Packit Service |
ea0369 |
#define g_mutex_new gvir_mutex_new
|
|
Packit Service |
ea0369 |
#define g_mutex_free gvir_mutex_free
|
|
Packit Service |
ea0369 |
|
|
Packit Service |
ea0369 |
#endif
|
|
Packit Service |
ea0369 |
|
|
Packit Service |
ea0369 |
#endif /* __LIBVIRT_GOBJECT_COMPAT_H__ */
|