@img/sharp-libvips-dev 0.0.3 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/include/aom/aom_encoder.h +3 -3
- package/include/aom/aomcx.h +17 -8
- package/include/fontconfig/fontconfig.h +5 -3
- package/include/gio-unix-2.0/gio/gfiledescriptorbased.h +0 -5
- package/include/gio-unix-2.0/gio/gunixinputstream.h +0 -5
- package/include/gio-unix-2.0/gio/gunixoutputstream.h +0 -5
- package/include/glib-2.0/gio/gappinfo.h +0 -7
- package/include/glib-2.0/gio/gapplicationcommandline.h +12 -1
- package/include/glib-2.0/gio/gasyncinitable.h +0 -7
- package/include/glib-2.0/gio/gasyncresult.h +0 -6
- package/include/glib-2.0/gio/gbufferedinputstream.h +0 -5
- package/include/glib-2.0/gio/gbufferedoutputstream.h +0 -5
- package/include/glib-2.0/gio/gbytesicon.h +0 -5
- package/include/glib-2.0/gio/gcancellable.h +0 -5
- package/include/glib-2.0/gio/gconverter.h +0 -7
- package/include/glib-2.0/gio/gconverterinputstream.h +0 -6
- package/include/glib-2.0/gio/gconverteroutputstream.h +0 -6
- package/include/glib-2.0/gio/gdatagrambased.h +0 -7
- package/include/glib-2.0/gio/gdatainputstream.h +0 -6
- package/include/glib-2.0/gio/gdataoutputstream.h +0 -6
- package/include/glib-2.0/gio/gdbusinterface.h +0 -8
- package/include/glib-2.0/gio/gdbusinterfaceskeleton.h +0 -8
- package/include/glib-2.0/gio/gdbusmessage.h +2 -1
- package/include/glib-2.0/gio/gdbusobjectmanagerclient.h +0 -8
- package/include/glib-2.0/gio/gdbusobjectmanagerserver.h +0 -8
- package/include/glib-2.0/gio/gdbusobjectproxy.h +0 -8
- package/include/glib-2.0/gio/gdbusobjectskeleton.h +0 -8
- package/include/glib-2.0/gio/gdbusproxy.h +0 -8
- package/include/glib-2.0/gio/gdebugcontroller.h +0 -8
- package/include/glib-2.0/gio/gdebugcontrollerdbus.h +0 -7
- package/include/glib-2.0/gio/gdtlsserverconnection.h +0 -8
- package/include/glib-2.0/gio/gemblem.h +0 -5
- package/include/glib-2.0/gio/gemblemedicon.h +0 -5
- package/include/glib-2.0/gio/gfile.h +0 -10
- package/include/glib-2.0/gio/gfileenumerator.h +0 -5
- package/include/glib-2.0/gio/gfileicon.h +0 -5
- package/include/glib-2.0/gio/gfileinfo.h +0 -5
- package/include/glib-2.0/gio/gfileinputstream.h +0 -8
- package/include/glib-2.0/gio/gfileiostream.h +0 -8
- package/include/glib-2.0/gio/gfilemonitor.h +0 -5
- package/include/glib-2.0/gio/gfilenamecompleter.h +0 -5
- package/include/glib-2.0/gio/gfileoutputstream.h +0 -8
- package/include/glib-2.0/gio/gfilterinputstream.h +0 -5
- package/include/glib-2.0/gio/gfilteroutputstream.h +0 -5
- package/include/glib-2.0/gio/gicon.h +0 -5
- package/include/glib-2.0/gio/ginitable.h +0 -7
- package/include/glib-2.0/gio/ginputstream.h +0 -5
- package/include/glib-2.0/gio/gio-autocleanups.h +4 -0
- package/include/glib-2.0/gio/gio-visibility.h +34 -0
- package/include/glib-2.0/gio/gioenums.h +6 -1
- package/include/glib-2.0/gio/giomodule.h +0 -5
- package/include/glib-2.0/gio/giostream.h +0 -5
- package/include/glib-2.0/gio/giotypes.h +5 -107
- package/include/glib-2.0/gio/gloadableicon.h +0 -6
- package/include/glib-2.0/gio/gmemoryinputstream.h +0 -5
- package/include/glib-2.0/gio/gmemoryoutputstream.h +0 -5
- package/include/glib-2.0/gio/gmountoperation.h +0 -6
- package/include/glib-2.0/gio/gnetworking.h +4 -0
- package/include/glib-2.0/gio/goutputstream.h +0 -9
- package/include/glib-2.0/gio/gpollableinputstream.h +0 -7
- package/include/glib-2.0/gio/gpollableoutputstream.h +0 -7
- package/include/glib-2.0/gio/gproxy.h +0 -7
- package/include/glib-2.0/gio/gproxyaddressenumerator.h +0 -8
- package/include/glib-2.0/gio/gseekable.h +0 -5
- package/include/glib-2.0/gio/gsettingsbackend.h +0 -5
- package/include/glib-2.0/gio/gsimpleactiongroup.h +0 -7
- package/include/glib-2.0/gio/gsimpleasyncresult.h +0 -5
- package/include/glib-2.0/gio/gsimpleproxyresolver.h +0 -5
- package/include/glib-2.0/gio/gsocket.h +13 -0
- package/include/glib-2.0/gio/gsocketaddressenumerator.h +0 -6
- package/include/glib-2.0/gio/gsocketconnectable.h +0 -5
- package/include/glib-2.0/gio/gtask.h +12 -0
- package/include/glib-2.0/gio/gthemedicon.h +0 -5
- package/include/glib-2.0/gio/gtlsserverconnection.h +0 -8
- package/include/glib-2.0/gio/gunixcredentialsmessage.h +0 -8
- package/include/glib-2.0/gio/gvfs.h +0 -5
- package/include/glib-2.0/gio/gvolume.h +2 -2
- package/include/glib-2.0/gio/gvolumemonitor.h +0 -5
- package/include/glib-2.0/girepository/gi-visibility.h +986 -0
- package/include/glib-2.0/girepository/giarginfo.h +83 -0
- package/include/glib-2.0/girepository/gibaseinfo.h +103 -0
- package/include/glib-2.0/girepository/gicallableinfo.h +109 -0
- package/include/glib-2.0/girepository/gicallbackinfo.h +45 -0
- package/include/glib-2.0/girepository/giconstantinfo.h +57 -0
- package/include/glib-2.0/girepository/gienuminfo.h +83 -0
- package/include/glib-2.0/girepository/gifieldinfo.h +69 -0
- package/include/glib-2.0/girepository/gifunctioninfo.h +102 -0
- package/include/glib-2.0/girepository/giinterfaceinfo.h +105 -0
- package/include/glib-2.0/girepository/giobjectinfo.h +215 -0
- package/include/glib-2.0/girepository/gipropertyinfo.h +62 -0
- package/include/glib-2.0/girepository/giregisteredtypeinfo.h +64 -0
- package/include/glib-2.0/girepository/girepository.h +256 -0
- package/include/glib-2.0/girepository/girffi.h +128 -0
- package/include/glib-2.0/girepository/gisignalinfo.h +57 -0
- package/include/glib-2.0/girepository/gistructinfo.h +87 -0
- package/include/glib-2.0/girepository/gitypeinfo.h +131 -0
- package/include/glib-2.0/girepository/gitypelib.h +65 -0
- package/include/glib-2.0/girepository/gitypes.h +473 -0
- package/include/glib-2.0/girepository/giunioninfo.h +89 -0
- package/include/glib-2.0/girepository/giunresolvedinfo.h +45 -0
- package/include/glib-2.0/girepository/givfuncinfo.h +73 -0
- package/include/glib-2.0/glib/deprecated/gcompletion.h +1 -1
- package/include/glib-2.0/glib/deprecated/grel.h +0 -23
- package/include/glib-2.0/glib/deprecated/gthread.h +1 -1
- package/include/glib-2.0/glib/gatomic.h +20 -20
- package/include/glib-2.0/glib/gbookmarkfile.h +39 -1
- package/include/glib-2.0/glib/gchecksum.h +0 -10
- package/include/glib-2.0/glib/gdate.h +0 -9
- package/include/glib-2.0/glib/gdatetime.h +33 -1
- package/include/glib-2.0/glib/gdir.h +5 -0
- package/include/glib-2.0/glib/ghmac.h +0 -9
- package/include/glib-2.0/glib/glib-autocleanups.h +4 -0
- package/include/glib-2.0/glib/glib-visibility.h +34 -0
- package/include/glib-2.0/glib/gmacros.h +1 -0
- package/include/glib-2.0/glib/gmessages.h +3 -0
- package/include/glib-2.0/glib/gpathbuf.h +0 -7
- package/include/glib-2.0/glib/gstdio.h +1 -1
- package/include/glib-2.0/glib/gstrvbuilder.h +4 -8
- package/include/glib-2.0/glib/gtestutils.h +5 -0
- package/include/glib-2.0/glib/gthread.h +25 -0
- package/include/glib-2.0/glib/gunicode.h +12 -2
- package/include/glib-2.0/glib/gvarianttype.h +1 -10
- package/include/glib-2.0/glib/gversionmacros.h +9 -0
- package/include/glib-2.0/glib/gwin32.h +4 -4
- package/include/glib-2.0/glib-unix.h +208 -0
- package/include/glib-2.0/gmodule/gmodule-visibility.h +34 -0
- package/include/glib-2.0/gobject/gbinding.h +0 -8
- package/include/glib-2.0/gobject/gbindinggroup.h +0 -8
- package/include/glib-2.0/gobject/gclosure.h +1 -9
- package/include/glib-2.0/gobject/glib-types.h +33 -0
- package/include/glib-2.0/gobject/gobject-autocleanups.h +4 -0
- package/include/glib-2.0/gobject/gobject-visibility.h +34 -0
- package/include/glib-2.0/gobject/gobject.h +1 -16
- package/include/glib-2.0/gobject/gparam.h +3 -12
- package/include/glib-2.0/gobject/gsignal.h +1 -1
- package/include/glib-2.0/gobject/gsignalgroup.h +0 -8
- package/include/glib-2.0/gobject/gtype.h +53 -20
- package/include/glib-2.0/gobject/gtypemodule.h +0 -7
- package/include/glib-2.0/gobject/gtypeplugin.h +0 -6
- package/include/glib-2.0/gobject/gvaluearray.h +0 -7
- package/include/glib-2.0/gobject/gvaluecollector.h +1 -11
- package/include/glib-2.0/gobject/gvaluetypes.h +2 -0
- package/include/harfbuzz/hb-aat-layout.h +2 -2
- package/include/harfbuzz/hb-deprecated.h +10 -1
- package/include/harfbuzz/hb-subset.h +6 -0
- package/include/harfbuzz/hb-version.h +3 -3
- package/include/lcms2.h +46 -7
- package/include/lcms2_plugin.h +4 -4
- package/include/libheif/heif_version.h +2 -2
- package/include/librsvg-2.0/librsvg/rsvg-version.h +2 -2
- package/include/libxml2/libxml/HTMLparser.h +23 -0
- package/include/libxml2/libxml/SAX.h +0 -2
- package/include/libxml2/libxml/SAX2.h +0 -2
- package/include/libxml2/libxml/c14n.h +0 -2
- package/include/libxml2/libxml/dict.h +1 -0
- package/include/libxml2/libxml/encoding.h +16 -14
- package/include/libxml2/libxml/entities.h +4 -0
- package/include/libxml2/libxml/globals.h +15 -503
- package/include/libxml2/libxml/hash.h +57 -61
- package/include/libxml2/libxml/nanoftp.h +2 -2
- package/include/libxml2/libxml/parser.h +128 -18
- package/include/libxml2/libxml/parserInternals.h +1 -0
- package/include/libxml2/libxml/relaxng.h +2 -1
- package/include/libxml2/libxml/schemasInternals.h +1 -0
- package/include/libxml2/libxml/schematron.h +1 -0
- package/include/libxml2/libxml/threads.h +4 -11
- package/include/libxml2/libxml/tree.h +68 -20
- package/include/libxml2/libxml/uri.h +2 -1
- package/include/libxml2/libxml/valid.h +2 -0
- package/include/libxml2/libxml/xmlIO.h +65 -12
- package/include/libxml2/libxml/xmlerror.h +37 -8
- package/include/libxml2/libxml/xmlmemory.h +37 -40
- package/include/libxml2/libxml/xmlreader.h +6 -0
- package/include/libxml2/libxml/xmlregexp.h +2 -9
- package/include/libxml2/libxml/xmlsave.h +9 -0
- package/include/libxml2/libxml/xmlschemas.h +3 -0
- package/include/libxml2/libxml/xmlversion.h +28 -43
- package/include/libxml2/libxml/xpath.h +1 -1
- package/include/libxml2/libxml/xpathInternals.h +2 -1
- package/include/libxml2/libxml/xpointer.h +5 -4
- package/include/pixman-1/pixman-version.h +3 -3
- package/include/pixman-1/pixman.h +9 -2
- package/include/vips/version.h +4 -4
- package/include/zconf.h +3 -0
- package/include/zlib.h +3 -3
- package/package.json +1 -1
- package/versions.json +11 -11
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
|
|
2
|
+
* GObject introspection: Helper functions for ffi integration
|
|
3
|
+
*
|
|
4
|
+
* Copyright (C) 2008 Red Hat, Inc
|
|
5
|
+
*
|
|
6
|
+
* SPDX-License-Identifier: LGPL-2.1-or-later
|
|
7
|
+
*
|
|
8
|
+
* This library is free software; you can redistribute it and/or
|
|
9
|
+
* modify it under the terms of the GNU Lesser General Public
|
|
10
|
+
* License as published by the Free Software Foundation; either
|
|
11
|
+
* version 2 of the License, or (at your option) any later version.
|
|
12
|
+
*
|
|
13
|
+
* This library is distributed in the hope that it will be useful,
|
|
14
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
16
|
+
* Lesser General Public License for more details.
|
|
17
|
+
*
|
|
18
|
+
* You should have received a copy of the GNU Lesser General Public
|
|
19
|
+
* License along with this library; if not, write to the
|
|
20
|
+
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
21
|
+
* Boston, MA 02111-1307, USA.
|
|
22
|
+
*/
|
|
23
|
+
|
|
24
|
+
#pragma once
|
|
25
|
+
|
|
26
|
+
#if !defined (__GIREPOSITORY_H_INSIDE__) && !defined (GI_COMPILATION)
|
|
27
|
+
#error "Only <girepository.h> can be included directly."
|
|
28
|
+
#endif
|
|
29
|
+
|
|
30
|
+
#include <ffi.h>
|
|
31
|
+
#include "girepository.h"
|
|
32
|
+
|
|
33
|
+
G_BEGIN_DECLS
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* GIFFIClosureCallback:
|
|
37
|
+
* @cif: the `ffi_cif` passed to
|
|
38
|
+
* [method@GIRepository.CallableInfo.create_closure]
|
|
39
|
+
* @ret: (out caller-allocates): a pointer to the memory used for the function’s
|
|
40
|
+
* return value
|
|
41
|
+
* @args: a vector of pointers to memory holding the arguments to the function
|
|
42
|
+
* @user_data: the user data passed to
|
|
43
|
+
* [method@GIRepository.CallableInfo.create_closure]
|
|
44
|
+
*
|
|
45
|
+
* The function which will be called when a closure created with
|
|
46
|
+
* [method@GIRepository.CallableInfo.create_closure] is invoked.
|
|
47
|
+
*
|
|
48
|
+
* The value of @ret is undefined if the function returns `void`.
|
|
49
|
+
*
|
|
50
|
+
* Since: 2.80
|
|
51
|
+
*/
|
|
52
|
+
typedef void (*GIFFIClosureCallback) (ffi_cif *cif,
|
|
53
|
+
void *ret,
|
|
54
|
+
void **args,
|
|
55
|
+
void *user_data);
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* GIFunctionInvoker:
|
|
59
|
+
* @cif: the cif
|
|
60
|
+
* @native_address: the native address
|
|
61
|
+
*
|
|
62
|
+
* Structure containing the data necessary to invoke a callable function.
|
|
63
|
+
*
|
|
64
|
+
* Since: 2.80
|
|
65
|
+
*/
|
|
66
|
+
typedef struct {
|
|
67
|
+
ffi_cif cif;
|
|
68
|
+
gpointer native_address;
|
|
69
|
+
/*< private >*/
|
|
70
|
+
gpointer padding[3];
|
|
71
|
+
} GIFunctionInvoker;
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* GIFFIReturnValue:
|
|
75
|
+
*
|
|
76
|
+
* The type of a return value from a callable invocation closure.
|
|
77
|
+
*
|
|
78
|
+
* Since: 2.80
|
|
79
|
+
*/
|
|
80
|
+
typedef GIArgument GIFFIReturnValue;
|
|
81
|
+
|
|
82
|
+
GI_AVAILABLE_IN_ALL
|
|
83
|
+
ffi_type * gi_type_tag_get_ffi_type (GITypeTag type_tag, gboolean is_pointer);
|
|
84
|
+
|
|
85
|
+
GI_AVAILABLE_IN_ALL
|
|
86
|
+
ffi_type * gi_type_info_get_ffi_type (GITypeInfo *info);
|
|
87
|
+
|
|
88
|
+
GI_AVAILABLE_IN_ALL
|
|
89
|
+
void gi_type_info_extract_ffi_return_value (GITypeInfo *return_info,
|
|
90
|
+
GIFFIReturnValue *ffi_value,
|
|
91
|
+
GIArgument *arg);
|
|
92
|
+
|
|
93
|
+
GI_AVAILABLE_IN_ALL
|
|
94
|
+
void gi_type_tag_extract_ffi_return_value (GITypeTag return_tag,
|
|
95
|
+
GIInfoType interface_type,
|
|
96
|
+
GIFFIReturnValue *ffi_value,
|
|
97
|
+
GIArgument *arg);
|
|
98
|
+
|
|
99
|
+
GI_AVAILABLE_IN_ALL
|
|
100
|
+
gboolean gi_function_info_prep_invoker (GIFunctionInfo *info,
|
|
101
|
+
GIFunctionInvoker *invoker,
|
|
102
|
+
GError **error);
|
|
103
|
+
|
|
104
|
+
GI_AVAILABLE_IN_ALL
|
|
105
|
+
gboolean gi_function_invoker_new_for_address (gpointer addr,
|
|
106
|
+
GICallableInfo *info,
|
|
107
|
+
GIFunctionInvoker *invoker,
|
|
108
|
+
GError **error);
|
|
109
|
+
|
|
110
|
+
GI_AVAILABLE_IN_ALL
|
|
111
|
+
void gi_function_invoker_destroy (GIFunctionInvoker *invoker);
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
GI_AVAILABLE_IN_ALL
|
|
115
|
+
ffi_closure * gi_callable_info_create_closure (GICallableInfo *callable_info,
|
|
116
|
+
ffi_cif *cif,
|
|
117
|
+
GIFFIClosureCallback callback,
|
|
118
|
+
gpointer user_data);
|
|
119
|
+
|
|
120
|
+
GI_AVAILABLE_IN_ALL
|
|
121
|
+
gpointer * gi_callable_info_get_closure_native_address (GICallableInfo *callable_info,
|
|
122
|
+
ffi_closure *closure);
|
|
123
|
+
|
|
124
|
+
GI_AVAILABLE_IN_ALL
|
|
125
|
+
void gi_callable_info_destroy_closure (GICallableInfo *callable_info,
|
|
126
|
+
ffi_closure *closure);
|
|
127
|
+
|
|
128
|
+
G_END_DECLS
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
|
|
2
|
+
* GObject introspection: Signal
|
|
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-object.h>
|
|
32
|
+
#include <girepository/gitypes.h>
|
|
33
|
+
|
|
34
|
+
G_BEGIN_DECLS
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* GI_IS_SIGNAL_INFO:
|
|
38
|
+
* @info: an info structure
|
|
39
|
+
*
|
|
40
|
+
* Checks if @info is a [class@GIRepository.SignalInfo].
|
|
41
|
+
*
|
|
42
|
+
* Since: 2.80
|
|
43
|
+
*/
|
|
44
|
+
#define GI_IS_SIGNAL_INFO(info) \
|
|
45
|
+
(gi_base_info_get_info_type ((GIBaseInfo*) info) == GI_INFO_TYPE_SIGNAL)
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
GI_AVAILABLE_IN_ALL
|
|
49
|
+
GSignalFlags gi_signal_info_get_flags (GISignalInfo *info);
|
|
50
|
+
|
|
51
|
+
GI_AVAILABLE_IN_ALL
|
|
52
|
+
GIVFuncInfo * gi_signal_info_get_class_closure (GISignalInfo *info);
|
|
53
|
+
|
|
54
|
+
GI_AVAILABLE_IN_ALL
|
|
55
|
+
gboolean gi_signal_info_true_stops_emit (GISignalInfo *info);
|
|
56
|
+
|
|
57
|
+
G_END_DECLS
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
|
|
2
|
+
* GObject introspection: Struct
|
|
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 <girepository/gitypes.h>
|
|
32
|
+
|
|
33
|
+
G_BEGIN_DECLS
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* GI_IS_STRUCT_INFO:
|
|
37
|
+
* @info: an info structure
|
|
38
|
+
*
|
|
39
|
+
* Checks if @info is a [class@GIRepository.StructInfo].
|
|
40
|
+
*
|
|
41
|
+
* Since: 2.80
|
|
42
|
+
*/
|
|
43
|
+
#define GI_IS_STRUCT_INFO(info) \
|
|
44
|
+
(gi_base_info_get_info_type ((GIBaseInfo*) info) == GI_INFO_TYPE_STRUCT)
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
GI_AVAILABLE_IN_ALL
|
|
48
|
+
guint gi_struct_info_get_n_fields (GIStructInfo *info);
|
|
49
|
+
|
|
50
|
+
GI_AVAILABLE_IN_ALL
|
|
51
|
+
GIFieldInfo * gi_struct_info_get_field (GIStructInfo *info,
|
|
52
|
+
guint n);
|
|
53
|
+
|
|
54
|
+
GI_AVAILABLE_IN_ALL
|
|
55
|
+
GIFieldInfo * gi_struct_info_find_field (GIStructInfo *info,
|
|
56
|
+
const gchar *name);
|
|
57
|
+
|
|
58
|
+
GI_AVAILABLE_IN_ALL
|
|
59
|
+
guint gi_struct_info_get_n_methods (GIStructInfo *info);
|
|
60
|
+
|
|
61
|
+
GI_AVAILABLE_IN_ALL
|
|
62
|
+
GIFunctionInfo * gi_struct_info_get_method (GIStructInfo *info,
|
|
63
|
+
guint n);
|
|
64
|
+
|
|
65
|
+
GI_AVAILABLE_IN_ALL
|
|
66
|
+
GIFunctionInfo * gi_struct_info_find_method (GIStructInfo *info,
|
|
67
|
+
const gchar *name);
|
|
68
|
+
|
|
69
|
+
GI_AVAILABLE_IN_ALL
|
|
70
|
+
gsize gi_struct_info_get_size (GIStructInfo *info);
|
|
71
|
+
|
|
72
|
+
GI_AVAILABLE_IN_ALL
|
|
73
|
+
gsize gi_struct_info_get_alignment (GIStructInfo *info);
|
|
74
|
+
|
|
75
|
+
GI_AVAILABLE_IN_ALL
|
|
76
|
+
gboolean gi_struct_info_is_gtype_struct (GIStructInfo *info);
|
|
77
|
+
|
|
78
|
+
GI_AVAILABLE_IN_ALL
|
|
79
|
+
gboolean gi_struct_info_is_foreign (GIStructInfo *info);
|
|
80
|
+
|
|
81
|
+
GI_AVAILABLE_IN_ALL
|
|
82
|
+
const char * gi_struct_info_get_copy_function_name (GIStructInfo *info);
|
|
83
|
+
|
|
84
|
+
GI_AVAILABLE_IN_ALL
|
|
85
|
+
const char * gi_struct_info_get_free_function_name (GIStructInfo *info);
|
|
86
|
+
|
|
87
|
+
G_END_DECLS
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
|
|
2
|
+
* GObject introspection: Type
|
|
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 <girepository/gitypes.h>
|
|
32
|
+
|
|
33
|
+
G_BEGIN_DECLS
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* GI_IS_TYPE_INFO:
|
|
37
|
+
* @info: an info structure
|
|
38
|
+
*
|
|
39
|
+
* Checks if @info is a [alias@GIRepository.TypeInfo].
|
|
40
|
+
*
|
|
41
|
+
* Since: 2.80
|
|
42
|
+
*/
|
|
43
|
+
#define GI_IS_TYPE_INFO(info) \
|
|
44
|
+
(gi_base_info_get_info_type ((GIBaseInfo*) info) == GI_INFO_TYPE_TYPE)
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* GI_TYPE_TAG_IS_BASIC:
|
|
48
|
+
* @tag: a type tag
|
|
49
|
+
*
|
|
50
|
+
* Checks if @tag is a basic type.
|
|
51
|
+
*
|
|
52
|
+
* Since: 2.80
|
|
53
|
+
*/
|
|
54
|
+
#define GI_TYPE_TAG_IS_BASIC(tag) ((tag) < GI_TYPE_TAG_ARRAY || (tag) == GI_TYPE_TAG_UNICHAR)
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* GI_TYPE_TAG_IS_NUMERIC:
|
|
58
|
+
* @tag: a type tag
|
|
59
|
+
*
|
|
60
|
+
* Checks if @tag is a numeric type. That is, integer or floating point.
|
|
61
|
+
*
|
|
62
|
+
* Since: 2.80
|
|
63
|
+
*/
|
|
64
|
+
#define GI_TYPE_TAG_IS_NUMERIC(tag) ((tag) >= GI_TYPE_TAG_INT8 && (tag) <= GI_TYPE_TAG_DOUBLE)
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* GI_TYPE_TAG_IS_CONTAINER:
|
|
68
|
+
* @tag: a type tag
|
|
69
|
+
*
|
|
70
|
+
* Checks if @tag is a container type. That is, a type which may have a nonnull
|
|
71
|
+
* return from [method@GIRepository.TypeInfo.get_param_type].
|
|
72
|
+
*
|
|
73
|
+
* Since: 2.80
|
|
74
|
+
*/
|
|
75
|
+
#define GI_TYPE_TAG_IS_CONTAINER(tag) ((tag) == GI_TYPE_TAG_ARRAY || \
|
|
76
|
+
((tag) >= GI_TYPE_TAG_GLIST && (tag) <= GI_TYPE_TAG_GHASH))
|
|
77
|
+
|
|
78
|
+
GI_AVAILABLE_IN_ALL
|
|
79
|
+
const gchar* gi_type_tag_to_string (GITypeTag type);
|
|
80
|
+
|
|
81
|
+
GI_AVAILABLE_IN_ALL
|
|
82
|
+
const gchar* gi_info_type_to_string (GIInfoType type);
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
GI_AVAILABLE_IN_ALL
|
|
86
|
+
gboolean gi_type_info_is_pointer (GITypeInfo *info);
|
|
87
|
+
|
|
88
|
+
GI_AVAILABLE_IN_ALL
|
|
89
|
+
GITypeTag gi_type_info_get_tag (GITypeInfo *info);
|
|
90
|
+
|
|
91
|
+
GI_AVAILABLE_IN_ALL
|
|
92
|
+
GITypeInfo * gi_type_info_get_param_type (GITypeInfo *info,
|
|
93
|
+
guint n);
|
|
94
|
+
|
|
95
|
+
GI_AVAILABLE_IN_ALL
|
|
96
|
+
GIBaseInfo * gi_type_info_get_interface (GITypeInfo *info);
|
|
97
|
+
|
|
98
|
+
GI_AVAILABLE_IN_ALL
|
|
99
|
+
gint gi_type_info_get_array_length_index (GITypeInfo *info);
|
|
100
|
+
|
|
101
|
+
GI_AVAILABLE_IN_ALL
|
|
102
|
+
gssize gi_type_info_get_array_fixed_size (GITypeInfo *info);
|
|
103
|
+
|
|
104
|
+
GI_AVAILABLE_IN_ALL
|
|
105
|
+
gboolean gi_type_info_is_zero_terminated (GITypeInfo *info);
|
|
106
|
+
|
|
107
|
+
GI_AVAILABLE_IN_ALL
|
|
108
|
+
GIArrayType gi_type_info_get_array_type (GITypeInfo *info);
|
|
109
|
+
|
|
110
|
+
GI_AVAILABLE_IN_ALL
|
|
111
|
+
GITypeTag gi_type_info_get_storage_type (GITypeInfo *info);
|
|
112
|
+
|
|
113
|
+
GI_AVAILABLE_IN_ALL
|
|
114
|
+
void gi_type_info_argument_from_hash_pointer (GITypeInfo *info,
|
|
115
|
+
gpointer hash_pointer,
|
|
116
|
+
GIArgument *arg);
|
|
117
|
+
|
|
118
|
+
GI_AVAILABLE_IN_ALL
|
|
119
|
+
gpointer gi_type_info_hash_pointer_from_argument (GITypeInfo *info,
|
|
120
|
+
GIArgument *arg);
|
|
121
|
+
|
|
122
|
+
GI_AVAILABLE_IN_ALL
|
|
123
|
+
void gi_type_tag_argument_from_hash_pointer (GITypeTag storage_type,
|
|
124
|
+
gpointer hash_pointer,
|
|
125
|
+
GIArgument *arg);
|
|
126
|
+
|
|
127
|
+
GI_AVAILABLE_IN_ALL
|
|
128
|
+
gpointer gi_type_tag_hash_pointer_from_argument (GITypeTag storage_type,
|
|
129
|
+
GIArgument *arg);
|
|
130
|
+
|
|
131
|
+
G_END_DECLS
|
|
@@ -0,0 +1,65 @@
|
|
|
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
|
+
|
|
33
|
+
#include <girepository/gi-visibility.h>
|
|
34
|
+
|
|
35
|
+
G_BEGIN_DECLS
|
|
36
|
+
|
|
37
|
+
typedef struct _GITypelib GITypelib;
|
|
38
|
+
|
|
39
|
+
GI_AVAILABLE_IN_ALL
|
|
40
|
+
GITypelib * gi_typelib_new_from_memory (guint8 *memory,
|
|
41
|
+
gsize len,
|
|
42
|
+
GError **error);
|
|
43
|
+
|
|
44
|
+
GI_AVAILABLE_IN_ALL
|
|
45
|
+
GITypelib * gi_typelib_new_from_const_memory (const guint8 *memory,
|
|
46
|
+
gsize len,
|
|
47
|
+
GError **error);
|
|
48
|
+
|
|
49
|
+
GI_AVAILABLE_IN_ALL
|
|
50
|
+
GITypelib * gi_typelib_new_from_mapped_file (GMappedFile *mfile,
|
|
51
|
+
GError **error);
|
|
52
|
+
|
|
53
|
+
GI_AVAILABLE_IN_ALL
|
|
54
|
+
void gi_typelib_free (GITypelib *typelib);
|
|
55
|
+
|
|
56
|
+
GI_AVAILABLE_IN_ALL
|
|
57
|
+
gboolean gi_typelib_symbol (GITypelib *typelib,
|
|
58
|
+
const gchar *symbol_name,
|
|
59
|
+
gpointer *symbol);
|
|
60
|
+
|
|
61
|
+
GI_AVAILABLE_IN_ALL
|
|
62
|
+
const gchar * gi_typelib_get_namespace (GITypelib *typelib);
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
G_END_DECLS
|