Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gitypelib.h
Go to the documentation of this file.
1/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
2 * GObject introspection: Public typelib API
3 *
4 * Copyright (C) 2005 Matthias Clasen
5 * Copyright (C) 2008,2009 Red Hat, Inc.
6 *
7 * SPDX-License-Identifier: LGPL-2.1-or-later
8 *
9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Lesser General Public
11 * License as published by the Free Software Foundation; either
12 * version 2 of the License, or (at your option) any later version.
13 *
14 * This library is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * Lesser General Public License for more details.
18 *
19 * You should have received a copy of the GNU Lesser General Public
20 * License along with this library; if not, write to the
21 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
22 * Boston, MA 02111-1307, USA.
23 */
24
25#pragma once
26
27#if !defined (__GIREPOSITORY_H_INSIDE__) && !defined (GI_COMPILATION)
28#error "Only <girepository.h> can be included directly."
29#endif
30
31#include <glib.h>
32
34
36
37typedef struct _GITypelib GITypelib;
38
39#define GI_TYPE_TYPELIB (gi_typelib_get_type ())
42
45 GError **error);
46
51
54 const char *symbol_name,
55 void **symbol);
56
58const char * gi_typelib_get_namespace (GITypelib *typelib);
59
60
typedefG_BEGIN_DECLS struct _GBytes GBytes
Definition garray.h:38
#define GI_AVAILABLE_IN_ALL
typedefG_BEGIN_DECLS struct _GITypelib GITypelib
Definition gitypelib.h:37
GI_AVAILABLE_IN_ALL GITypelib * gi_typelib_ref(GITypelib *typelib)
GI_AVAILABLE_IN_ALL GITypelib * gi_typelib_new_from_bytes(GBytes *bytes, GError **error)
GI_AVAILABLE_IN_ALL GType gi_typelib_get_type(void) G_GNUC_CONST
GI_AVAILABLE_IN_ALL void gi_typelib_unref(GITypelib *typelib)
GI_AVAILABLE_IN_ALL const char * gi_typelib_get_namespace(GITypelib *typelib)
GI_AVAILABLE_IN_ALL gboolean gi_typelib_symbol(GITypelib *typelib, const char *symbol_name, void **symbol)
#define G_END_DECLS
Definition gmacros.h:910
#define G_BEGIN_DECLS
Definition gmacros.h:909
#define G_GNUC_CONST
Definition gmacros.h:637
gsize GType
Definition gtype.h:427
gint gboolean
Definition gtypes.h:56
static void error(LoadState *S, const char *why)