@revizly/sharp-libvips-dev 1.0.1 → 1.0.2
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/expat.h +19 -9
- package/include/expat_config.h +11 -5
- package/include/ffi.h +12 -25
- package/include/freetype2/freetype/config/ftoption.h +1 -1
- package/include/gio-unix-2.0/gio/gfiledescriptorbased.h +3 -2
- package/include/glib-2.0/gio/gapplication.h +6 -0
- package/include/glib-2.0/gio/giotypes.h +0 -1
- package/include/glib-2.0/girepository/giarginfo.h +23 -6
- package/include/glib-2.0/girepository/gibaseinfo.h +44 -18
- package/include/glib-2.0/girepository/gicallableinfo.h +26 -16
- package/include/glib-2.0/girepository/gicallbackinfo.h +17 -2
- package/include/glib-2.0/girepository/giconstantinfo.h +19 -4
- package/include/glib-2.0/girepository/gienuminfo.h +20 -21
- package/include/glib-2.0/girepository/gifieldinfo.h +22 -7
- package/include/glib-2.0/girepository/giflagsinfo.h +60 -0
- package/include/glib-2.0/girepository/gifunctioninfo.h +22 -7
- package/include/glib-2.0/girepository/giinterfaceinfo.h +33 -18
- package/include/glib-2.0/girepository/giobjectinfo.h +41 -26
- package/include/glib-2.0/girepository/gipropertyinfo.h +18 -3
- package/include/glib-2.0/girepository/giregisteredtypeinfo.h +22 -11
- package/include/glib-2.0/girepository/girepository.h +49 -62
- package/include/glib-2.0/girepository/girffi.h +7 -7
- package/include/glib-2.0/girepository/gisignalinfo.h +18 -3
- package/include/glib-2.0/girepository/gistructinfo.h +26 -11
- package/include/glib-2.0/girepository/gitypeinfo.h +29 -16
- package/include/glib-2.0/girepository/gitypelib.h +9 -13
- package/include/glib-2.0/girepository/gitypes.h +52 -104
- package/include/glib-2.0/girepository/giunioninfo.h +28 -12
- package/include/glib-2.0/girepository/giunresolvedinfo.h +17 -2
- package/include/glib-2.0/girepository/givalueinfo.h +65 -0
- package/include/glib-2.0/girepository/givfuncinfo.h +23 -8
- package/include/glib-2.0/glib/deprecated/gthread.h +9 -5
- package/include/glib-2.0/glib/gbitlock.h +31 -0
- package/include/glib-2.0/glib/gmessages.h +5 -0
- package/include/glib-2.0/glib/gslice.h +2 -0
- package/include/glib-2.0/glib/gstrfuncs.h +24 -18
- package/include/glib-2.0/glib/gthread.h +191 -3
- package/include/glib-2.0/glib-unix.h +7 -1
- package/include/glib-2.0/gobject/genums.h +6 -6
- package/include/glib-2.0/gobject/glib-types.h +11 -0
- package/include/hwy/aligned_allocator.h +171 -6
- package/include/hwy/base.h +1765 -543
- package/include/hwy/cache_control.h +24 -6
- package/include/hwy/detect_compiler_arch.h +23 -2
- package/include/hwy/detect_targets.h +56 -13
- package/include/hwy/foreach_target.h +24 -0
- package/include/hwy/highway.h +20 -3
- package/include/hwy/ops/arm_neon-inl.h +1086 -667
- package/include/hwy/ops/arm_sve-inl.h +1091 -235
- package/include/hwy/ops/emu128-inl.h +271 -196
- package/include/hwy/ops/generic_ops-inl.h +2270 -399
- package/include/hwy/ops/ppc_vsx-inl.h +1786 -563
- package/include/hwy/ops/rvv-inl.h +1043 -311
- package/include/hwy/ops/scalar-inl.h +189 -159
- package/include/hwy/ops/set_macros-inl.h +66 -6
- package/include/hwy/ops/shared-inl.h +175 -56
- package/include/hwy/ops/wasm_128-inl.h +153 -136
- package/include/hwy/ops/x86_128-inl.h +1647 -646
- package/include/hwy/ops/x86_256-inl.h +1003 -370
- package/include/hwy/ops/x86_512-inl.h +948 -353
- package/include/hwy/per_target.h +4 -0
- package/include/hwy/profiler.h +648 -0
- package/include/hwy/robust_statistics.h +2 -2
- package/include/hwy/targets.h +18 -11
- package/include/hwy/timer.h +11 -0
- package/include/libde265/de265-version.h +36 -0
- package/include/libde265/de265.h +453 -0
- package/include/libde265/en265.h +218 -0
- package/include/libpng16/png.h +32 -29
- package/include/libpng16/pngconf.h +2 -2
- package/include/libpng16/pnglibconf.h +7 -2
- package/include/librsvg-2.0/librsvg/rsvg-version.h +2 -2
- package/include/librsvg-2.0/librsvg/rsvg.h +7 -1
- package/include/libxml2/libxml/parser.h +16 -7
- package/include/libxml2/libxml/xmlIO.h +0 -1
- package/include/libxml2/libxml/xmlversion.h +4 -4
- package/include/pango-1.0/pango/pango-features.h +2 -2
- package/include/pango-1.0/pango/pango-fontmap.h +7 -0
- package/include/pixman-1/pixman-version.h +2 -2
- package/include/png.h +32 -29
- package/include/pngconf.h +2 -2
- package/include/pnglibconf.h +7 -2
- package/package.json +1 -1
- package/versions.json +11 -10
|
@@ -38,6 +38,7 @@
|
|
|
38
38
|
#include <girepository/giconstantinfo.h>
|
|
39
39
|
#include <girepository/gienuminfo.h>
|
|
40
40
|
#include <girepository/gifieldinfo.h>
|
|
41
|
+
#include <girepository/giflagsinfo.h>
|
|
41
42
|
#include <girepository/gifunctioninfo.h>
|
|
42
43
|
#include <girepository/giinterfaceinfo.h>
|
|
43
44
|
#include <girepository/giobjectinfo.h>
|
|
@@ -50,33 +51,14 @@
|
|
|
50
51
|
#include <girepository/gitypes.h>
|
|
51
52
|
#include <girepository/giunioninfo.h>
|
|
52
53
|
#include <girepository/giunresolvedinfo.h>
|
|
54
|
+
#include <girepository/givalueinfo.h>
|
|
53
55
|
#include <girepository/givfuncinfo.h>
|
|
54
56
|
|
|
55
57
|
G_BEGIN_DECLS
|
|
56
58
|
|
|
57
|
-
#define GI_TYPE_REPOSITORY
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
#define GI_IS_REPOSITORY(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GI_TYPE_REPOSITORY))
|
|
61
|
-
#define GI_IS_REPOSITORY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GI_TYPE_REPOSITORY))
|
|
62
|
-
#define GI_REPOSITORY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GI_TYPE_REPOSITORY, GIRepositoryClass))
|
|
63
|
-
|
|
64
|
-
typedef struct _GIRepository GIRepository;
|
|
65
|
-
typedef struct _GIRepositoryClass GIRepositoryClass;
|
|
66
|
-
typedef struct _GIRepositoryPrivate GIRepositoryPrivate;
|
|
67
|
-
|
|
68
|
-
struct _GIRepository
|
|
69
|
-
{
|
|
70
|
-
/*< private >*/
|
|
71
|
-
GObject parent;
|
|
72
|
-
GIRepositoryPrivate *priv;
|
|
73
|
-
};
|
|
74
|
-
|
|
75
|
-
struct _GIRepositoryClass
|
|
76
|
-
{
|
|
77
|
-
/*< private >*/
|
|
78
|
-
GObjectClass parent;
|
|
79
|
-
};
|
|
59
|
+
#define GI_TYPE_REPOSITORY (gi_repository_get_type ())
|
|
60
|
+
GI_AVAILABLE_IN_ALL
|
|
61
|
+
G_DECLARE_FINAL_TYPE (GIRepository, gi_repository, GI, REPOSITORY, GObject)
|
|
80
62
|
|
|
81
63
|
/**
|
|
82
64
|
* GIRepositoryLoadFlags:
|
|
@@ -94,22 +76,23 @@ typedef enum
|
|
|
94
76
|
/* Repository */
|
|
95
77
|
|
|
96
78
|
GI_AVAILABLE_IN_ALL
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
GI_AVAILABLE_IN_ALL
|
|
100
|
-
GIRepository *gi_repository_get_default (void);
|
|
79
|
+
GIRepository *gi_repository_new (void);
|
|
101
80
|
|
|
102
81
|
GI_AVAILABLE_IN_ALL
|
|
103
|
-
GIRepository *
|
|
82
|
+
void gi_repository_prepend_search_path (GIRepository *repository,
|
|
83
|
+
const char *directory);
|
|
104
84
|
|
|
105
85
|
GI_AVAILABLE_IN_ALL
|
|
106
|
-
void
|
|
86
|
+
void gi_repository_prepend_library_path (GIRepository *repository,
|
|
87
|
+
const char *directory);
|
|
107
88
|
|
|
108
89
|
GI_AVAILABLE_IN_ALL
|
|
109
|
-
|
|
90
|
+
const char * const * gi_repository_get_search_path (GIRepository *repository,
|
|
91
|
+
size_t *n_paths_out);
|
|
110
92
|
|
|
111
93
|
GI_AVAILABLE_IN_ALL
|
|
112
|
-
const char * const *
|
|
94
|
+
const char * const *gi_repository_get_library_path (GIRepository *repository,
|
|
95
|
+
size_t *n_paths_out);
|
|
113
96
|
|
|
114
97
|
GI_AVAILABLE_IN_ALL
|
|
115
98
|
const char * gi_repository_load_typelib (GIRepository *repository,
|
|
@@ -119,44 +102,47 @@ const char * gi_repository_load_typelib (GIRepository *repository,
|
|
|
119
102
|
|
|
120
103
|
GI_AVAILABLE_IN_ALL
|
|
121
104
|
gboolean gi_repository_is_registered (GIRepository *repository,
|
|
122
|
-
const
|
|
123
|
-
const
|
|
105
|
+
const char *namespace_,
|
|
106
|
+
const char *version);
|
|
124
107
|
|
|
125
108
|
GI_AVAILABLE_IN_ALL
|
|
126
109
|
GIBaseInfo * gi_repository_find_by_name (GIRepository *repository,
|
|
127
|
-
const
|
|
128
|
-
const
|
|
110
|
+
const char *namespace_,
|
|
111
|
+
const char *name);
|
|
129
112
|
|
|
130
113
|
GI_AVAILABLE_IN_ALL
|
|
131
114
|
char ** gi_repository_enumerate_versions (GIRepository *repository,
|
|
132
|
-
const
|
|
115
|
+
const char *namespace_,
|
|
133
116
|
size_t *n_versions_out);
|
|
134
117
|
|
|
135
118
|
GI_AVAILABLE_IN_ALL
|
|
136
119
|
GITypelib * gi_repository_require (GIRepository *repository,
|
|
137
|
-
const
|
|
138
|
-
const
|
|
120
|
+
const char *namespace_,
|
|
121
|
+
const char *version,
|
|
139
122
|
GIRepositoryLoadFlags flags,
|
|
140
123
|
GError **error);
|
|
141
124
|
|
|
142
125
|
GI_AVAILABLE_IN_ALL
|
|
143
126
|
GITypelib * gi_repository_require_private (GIRepository *repository,
|
|
144
|
-
const
|
|
145
|
-
const
|
|
146
|
-
const
|
|
127
|
+
const char *typelib_dir,
|
|
128
|
+
const char *namespace_,
|
|
129
|
+
const char *version,
|
|
147
130
|
GIRepositoryLoadFlags flags,
|
|
148
131
|
GError **error);
|
|
149
132
|
|
|
150
133
|
GI_AVAILABLE_IN_ALL
|
|
151
|
-
|
|
152
|
-
const
|
|
134
|
+
char ** gi_repository_get_immediate_dependencies (GIRepository *repository,
|
|
135
|
+
const char *namespace_,
|
|
136
|
+
size_t *n_dependencies_out);
|
|
153
137
|
|
|
154
138
|
GI_AVAILABLE_IN_ALL
|
|
155
|
-
|
|
156
|
-
const
|
|
139
|
+
char ** gi_repository_get_dependencies (GIRepository *repository,
|
|
140
|
+
const char *namespace_,
|
|
141
|
+
size_t *n_dependencies_out);
|
|
157
142
|
|
|
158
143
|
GI_AVAILABLE_IN_ALL
|
|
159
|
-
|
|
144
|
+
char ** gi_repository_get_loaded_namespaces (GIRepository *repository,
|
|
145
|
+
size_t *n_namespaces_out);
|
|
160
146
|
|
|
161
147
|
GI_AVAILABLE_IN_ALL
|
|
162
148
|
GIBaseInfo * gi_repository_find_by_gtype (GIRepository *repository,
|
|
@@ -165,34 +151,35 @@ GIBaseInfo * gi_repository_find_by_gtype (GIRepository *repository,
|
|
|
165
151
|
GI_AVAILABLE_IN_ALL
|
|
166
152
|
void gi_repository_get_object_gtype_interfaces (GIRepository *repository,
|
|
167
153
|
GType gtype,
|
|
168
|
-
|
|
154
|
+
size_t *n_interfaces_out,
|
|
169
155
|
GIInterfaceInfo ***interfaces_out);
|
|
170
156
|
|
|
171
157
|
GI_AVAILABLE_IN_ALL
|
|
172
|
-
|
|
173
|
-
const
|
|
158
|
+
unsigned int gi_repository_get_n_infos (GIRepository *repository,
|
|
159
|
+
const char *namespace_);
|
|
174
160
|
|
|
175
161
|
GI_AVAILABLE_IN_ALL
|
|
176
162
|
GIBaseInfo * gi_repository_get_info (GIRepository *repository,
|
|
177
|
-
const
|
|
178
|
-
|
|
163
|
+
const char *namespace_,
|
|
164
|
+
unsigned int idx);
|
|
179
165
|
|
|
180
166
|
GI_AVAILABLE_IN_ALL
|
|
181
167
|
GIEnumInfo * gi_repository_find_by_error_domain (GIRepository *repository,
|
|
182
168
|
GQuark domain);
|
|
183
169
|
|
|
184
170
|
GI_AVAILABLE_IN_ALL
|
|
185
|
-
const
|
|
186
|
-
const
|
|
171
|
+
const char * gi_repository_get_typelib_path (GIRepository *repository,
|
|
172
|
+
const char *namespace_);
|
|
187
173
|
GI_AVAILABLE_IN_ALL
|
|
188
|
-
const
|
|
189
|
-
|
|
174
|
+
const char * const *gi_repository_get_shared_libraries (GIRepository *repository,
|
|
175
|
+
const char *namespace_,
|
|
176
|
+
size_t *out_n_elements);
|
|
190
177
|
GI_AVAILABLE_IN_ALL
|
|
191
|
-
const
|
|
192
|
-
const
|
|
178
|
+
const char * gi_repository_get_c_prefix (GIRepository *repository,
|
|
179
|
+
const char *namespace_);
|
|
193
180
|
GI_AVAILABLE_IN_ALL
|
|
194
|
-
const
|
|
195
|
-
const
|
|
181
|
+
const char * gi_repository_get_version (GIRepository *repository,
|
|
182
|
+
const char *namespace_);
|
|
196
183
|
|
|
197
184
|
|
|
198
185
|
GI_AVAILABLE_IN_ALL
|
|
@@ -248,9 +235,9 @@ GQuark gi_repository_error_quark (void);
|
|
|
248
235
|
GI_AVAILABLE_IN_ALL
|
|
249
236
|
void gi_cclosure_marshal_generic (GClosure *closure,
|
|
250
237
|
GValue *return_gvalue,
|
|
251
|
-
|
|
238
|
+
unsigned int n_param_values,
|
|
252
239
|
const GValue *param_values,
|
|
253
|
-
|
|
254
|
-
|
|
240
|
+
void *invocation_hint,
|
|
241
|
+
void *marshal_data);
|
|
255
242
|
|
|
256
243
|
G_END_DECLS
|
|
@@ -65,9 +65,9 @@ typedef void (*GIFFIClosureCallback) (ffi_cif *cif,
|
|
|
65
65
|
*/
|
|
66
66
|
typedef struct {
|
|
67
67
|
ffi_cif cif;
|
|
68
|
-
|
|
68
|
+
void *native_address;
|
|
69
69
|
/*< private >*/
|
|
70
|
-
|
|
70
|
+
void *padding[3];
|
|
71
71
|
} GIFunctionInvoker;
|
|
72
72
|
|
|
73
73
|
/**
|
|
@@ -92,7 +92,7 @@ void gi_type_info_extract_ffi_return_value (GITypeInfo
|
|
|
92
92
|
|
|
93
93
|
GI_AVAILABLE_IN_ALL
|
|
94
94
|
void gi_type_tag_extract_ffi_return_value (GITypeTag return_tag,
|
|
95
|
-
|
|
95
|
+
GType interface_type,
|
|
96
96
|
GIFFIReturnValue *ffi_value,
|
|
97
97
|
GIArgument *arg);
|
|
98
98
|
|
|
@@ -102,23 +102,23 @@ gboolean gi_function_info_prep_invoker (GIFunctionInfo *info,
|
|
|
102
102
|
GError **error);
|
|
103
103
|
|
|
104
104
|
GI_AVAILABLE_IN_ALL
|
|
105
|
-
gboolean gi_function_invoker_new_for_address (
|
|
105
|
+
gboolean gi_function_invoker_new_for_address (void *addr,
|
|
106
106
|
GICallableInfo *info,
|
|
107
107
|
GIFunctionInvoker *invoker,
|
|
108
108
|
GError **error);
|
|
109
109
|
|
|
110
110
|
GI_AVAILABLE_IN_ALL
|
|
111
|
-
void
|
|
111
|
+
void gi_function_invoker_clear (GIFunctionInvoker *invoker);
|
|
112
112
|
|
|
113
113
|
|
|
114
114
|
GI_AVAILABLE_IN_ALL
|
|
115
115
|
ffi_closure * gi_callable_info_create_closure (GICallableInfo *callable_info,
|
|
116
116
|
ffi_cif *cif,
|
|
117
117
|
GIFFIClosureCallback callback,
|
|
118
|
-
|
|
118
|
+
void *user_data);
|
|
119
119
|
|
|
120
120
|
GI_AVAILABLE_IN_ALL
|
|
121
|
-
|
|
121
|
+
void ** gi_callable_info_get_closure_native_address (GICallableInfo *callable_info,
|
|
122
122
|
ffi_closure *closure);
|
|
123
123
|
|
|
124
124
|
GI_AVAILABLE_IN_ALL
|
|
@@ -33,16 +33,31 @@
|
|
|
33
33
|
|
|
34
34
|
G_BEGIN_DECLS
|
|
35
35
|
|
|
36
|
+
#define GI_TYPE_SIGNAL_INFO (gi_signal_info_get_type ())
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* GI_SIGNAL_INFO:
|
|
40
|
+
* @info: Info object which is subject to casting.
|
|
41
|
+
*
|
|
42
|
+
* Casts a [type@GIRepository.SignalInfo] or derived pointer into a
|
|
43
|
+
* `(GISignalInfo*)` pointer.
|
|
44
|
+
*
|
|
45
|
+
* Depending on the current debugging level, this function may invoke
|
|
46
|
+
* certain runtime checks to identify invalid casts.
|
|
47
|
+
*
|
|
48
|
+
* Since: 2.80
|
|
49
|
+
*/
|
|
50
|
+
#define GI_SIGNAL_INFO(info) (G_TYPE_CHECK_INSTANCE_CAST ((info), GI_TYPE_SIGNAL_INFO, GISignalInfo))
|
|
51
|
+
|
|
36
52
|
/**
|
|
37
53
|
* GI_IS_SIGNAL_INFO:
|
|
38
54
|
* @info: an info structure
|
|
39
55
|
*
|
|
40
|
-
* Checks if @info is a [class@GIRepository.SignalInfo].
|
|
56
|
+
* Checks if @info is a [class@GIRepository.SignalInfo] (or a derived type).
|
|
41
57
|
*
|
|
42
58
|
* Since: 2.80
|
|
43
59
|
*/
|
|
44
|
-
#define GI_IS_SIGNAL_INFO(info)
|
|
45
|
-
(gi_base_info_get_info_type ((GIBaseInfo*) info) == GI_INFO_TYPE_SIGNAL)
|
|
60
|
+
#define GI_IS_SIGNAL_INFO(info) (G_TYPE_CHECK_INSTANCE_TYPE ((info), GI_TYPE_SIGNAL_INFO))
|
|
46
61
|
|
|
47
62
|
|
|
48
63
|
GI_AVAILABLE_IN_ALL
|
|
@@ -32,45 +32,60 @@
|
|
|
32
32
|
|
|
33
33
|
G_BEGIN_DECLS
|
|
34
34
|
|
|
35
|
+
#define GI_TYPE_STRUCT_INFO (gi_struct_info_get_type ())
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* GI_STRUCT_INFO:
|
|
39
|
+
* @info: Info object which is subject to casting.
|
|
40
|
+
*
|
|
41
|
+
* Casts a [type@GIRepository.StructInfo] or derived pointer into a
|
|
42
|
+
* `(GIStructInfo*)` pointer.
|
|
43
|
+
*
|
|
44
|
+
* Depending on the current debugging level, this function may invoke
|
|
45
|
+
* certain runtime checks to identify invalid casts.
|
|
46
|
+
*
|
|
47
|
+
* Since: 2.80
|
|
48
|
+
*/
|
|
49
|
+
#define GI_STRUCT_INFO(info) (G_TYPE_CHECK_INSTANCE_CAST ((info), GI_TYPE_STRUCT_INFO, GIStructInfo))
|
|
50
|
+
|
|
35
51
|
/**
|
|
36
52
|
* GI_IS_STRUCT_INFO:
|
|
37
53
|
* @info: an info structure
|
|
38
54
|
*
|
|
39
|
-
* Checks if @info is a [class@GIRepository.StructInfo].
|
|
55
|
+
* Checks if @info is a [class@GIRepository.StructInfo] (or a derived type).
|
|
40
56
|
*
|
|
41
57
|
* Since: 2.80
|
|
42
58
|
*/
|
|
43
|
-
#define GI_IS_STRUCT_INFO(info)
|
|
44
|
-
(gi_base_info_get_info_type ((GIBaseInfo*) info) == GI_INFO_TYPE_STRUCT)
|
|
59
|
+
#define GI_IS_STRUCT_INFO(info) (G_TYPE_CHECK_INSTANCE_TYPE ((info), GI_TYPE_STRUCT_INFO))
|
|
45
60
|
|
|
46
61
|
|
|
47
62
|
GI_AVAILABLE_IN_ALL
|
|
48
|
-
|
|
63
|
+
unsigned int gi_struct_info_get_n_fields (GIStructInfo *info);
|
|
49
64
|
|
|
50
65
|
GI_AVAILABLE_IN_ALL
|
|
51
66
|
GIFieldInfo * gi_struct_info_get_field (GIStructInfo *info,
|
|
52
|
-
|
|
67
|
+
unsigned int n);
|
|
53
68
|
|
|
54
69
|
GI_AVAILABLE_IN_ALL
|
|
55
70
|
GIFieldInfo * gi_struct_info_find_field (GIStructInfo *info,
|
|
56
|
-
const
|
|
71
|
+
const char *name);
|
|
57
72
|
|
|
58
73
|
GI_AVAILABLE_IN_ALL
|
|
59
|
-
|
|
74
|
+
unsigned int gi_struct_info_get_n_methods (GIStructInfo *info);
|
|
60
75
|
|
|
61
76
|
GI_AVAILABLE_IN_ALL
|
|
62
77
|
GIFunctionInfo * gi_struct_info_get_method (GIStructInfo *info,
|
|
63
|
-
|
|
78
|
+
unsigned int n);
|
|
64
79
|
|
|
65
80
|
GI_AVAILABLE_IN_ALL
|
|
66
81
|
GIFunctionInfo * gi_struct_info_find_method (GIStructInfo *info,
|
|
67
|
-
const
|
|
82
|
+
const char *name);
|
|
68
83
|
|
|
69
84
|
GI_AVAILABLE_IN_ALL
|
|
70
|
-
|
|
85
|
+
size_t gi_struct_info_get_size (GIStructInfo *info);
|
|
71
86
|
|
|
72
87
|
GI_AVAILABLE_IN_ALL
|
|
73
|
-
|
|
88
|
+
size_t gi_struct_info_get_alignment (GIStructInfo *info);
|
|
74
89
|
|
|
75
90
|
GI_AVAILABLE_IN_ALL
|
|
76
91
|
gboolean gi_struct_info_is_gtype_struct (GIStructInfo *info);
|
|
@@ -32,16 +32,31 @@
|
|
|
32
32
|
|
|
33
33
|
G_BEGIN_DECLS
|
|
34
34
|
|
|
35
|
+
#define GI_TYPE_TYPE_INFO (gi_type_info_get_type ())
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* GI_TYPE_INFO:
|
|
39
|
+
* @info: Info object which is subject to casting.
|
|
40
|
+
*
|
|
41
|
+
* Casts a [type@GIRepository.TypeInfo] or derived pointer into a
|
|
42
|
+
* `(GITypeInfo*)` pointer.
|
|
43
|
+
*
|
|
44
|
+
* Depending on the current debugging level, this function may invoke
|
|
45
|
+
* certain runtime checks to identify invalid casts.
|
|
46
|
+
*
|
|
47
|
+
* Since: 2.80
|
|
48
|
+
*/
|
|
49
|
+
#define GI_TYPE_INFO(info) (G_TYPE_CHECK_INSTANCE_CAST ((info), GI_TYPE_TYPE_INFO, GITypeInfo))
|
|
50
|
+
|
|
35
51
|
/**
|
|
36
52
|
* GI_IS_TYPE_INFO:
|
|
37
53
|
* @info: an info structure
|
|
38
54
|
*
|
|
39
|
-
* Checks if @info is a [alias@GIRepository.TypeInfo].
|
|
55
|
+
* Checks if @info is a [alias@GIRepository.TypeInfo] (or a derived type).
|
|
40
56
|
*
|
|
41
57
|
* Since: 2.80
|
|
42
58
|
*/
|
|
43
|
-
#define GI_IS_TYPE_INFO(info)
|
|
44
|
-
(gi_base_info_get_info_type ((GIBaseInfo*) info) == GI_INFO_TYPE_TYPE)
|
|
59
|
+
#define GI_IS_TYPE_INFO(info) (G_TYPE_CHECK_INSTANCE_TYPE ((info), GI_TYPE_TYPE_INFO))
|
|
45
60
|
|
|
46
61
|
/**
|
|
47
62
|
* GI_TYPE_TAG_IS_BASIC:
|
|
@@ -76,11 +91,7 @@ G_BEGIN_DECLS
|
|
|
76
91
|
((tag) >= GI_TYPE_TAG_GLIST && (tag) <= GI_TYPE_TAG_GHASH))
|
|
77
92
|
|
|
78
93
|
GI_AVAILABLE_IN_ALL
|
|
79
|
-
const
|
|
80
|
-
|
|
81
|
-
GI_AVAILABLE_IN_ALL
|
|
82
|
-
const gchar* gi_info_type_to_string (GIInfoType type);
|
|
83
|
-
|
|
94
|
+
const char * gi_type_tag_to_string (GITypeTag type);
|
|
84
95
|
|
|
85
96
|
GI_AVAILABLE_IN_ALL
|
|
86
97
|
gboolean gi_type_info_is_pointer (GITypeInfo *info);
|
|
@@ -89,17 +100,19 @@ GI_AVAILABLE_IN_ALL
|
|
|
89
100
|
GITypeTag gi_type_info_get_tag (GITypeInfo *info);
|
|
90
101
|
|
|
91
102
|
GI_AVAILABLE_IN_ALL
|
|
92
|
-
GITypeInfo * gi_type_info_get_param_type (GITypeInfo
|
|
93
|
-
|
|
103
|
+
GITypeInfo * gi_type_info_get_param_type (GITypeInfo *info,
|
|
104
|
+
unsigned int n);
|
|
94
105
|
|
|
95
106
|
GI_AVAILABLE_IN_ALL
|
|
96
107
|
GIBaseInfo * gi_type_info_get_interface (GITypeInfo *info);
|
|
97
108
|
|
|
98
109
|
GI_AVAILABLE_IN_ALL
|
|
99
|
-
|
|
110
|
+
gboolean gi_type_info_get_array_length_index (GITypeInfo *info,
|
|
111
|
+
unsigned int *out_length_index);
|
|
100
112
|
|
|
101
113
|
GI_AVAILABLE_IN_ALL
|
|
102
|
-
|
|
114
|
+
gboolean gi_type_info_get_array_fixed_size (GITypeInfo *info,
|
|
115
|
+
size_t *out_size);
|
|
103
116
|
|
|
104
117
|
GI_AVAILABLE_IN_ALL
|
|
105
118
|
gboolean gi_type_info_is_zero_terminated (GITypeInfo *info);
|
|
@@ -112,20 +125,20 @@ GITypeTag gi_type_info_get_storage_type (GITypeInfo *info);
|
|
|
112
125
|
|
|
113
126
|
GI_AVAILABLE_IN_ALL
|
|
114
127
|
void gi_type_info_argument_from_hash_pointer (GITypeInfo *info,
|
|
115
|
-
|
|
128
|
+
void *hash_pointer,
|
|
116
129
|
GIArgument *arg);
|
|
117
130
|
|
|
118
131
|
GI_AVAILABLE_IN_ALL
|
|
119
|
-
|
|
132
|
+
void * gi_type_info_hash_pointer_from_argument (GITypeInfo *info,
|
|
120
133
|
GIArgument *arg);
|
|
121
134
|
|
|
122
135
|
GI_AVAILABLE_IN_ALL
|
|
123
136
|
void gi_type_tag_argument_from_hash_pointer (GITypeTag storage_type,
|
|
124
|
-
|
|
137
|
+
void *hash_pointer,
|
|
125
138
|
GIArgument *arg);
|
|
126
139
|
|
|
127
140
|
GI_AVAILABLE_IN_ALL
|
|
128
|
-
|
|
141
|
+
void * gi_type_tag_hash_pointer_from_argument (GITypeTag storage_type,
|
|
129
142
|
GIArgument *arg);
|
|
130
143
|
|
|
131
144
|
G_END_DECLS
|
|
@@ -36,30 +36,26 @@ G_BEGIN_DECLS
|
|
|
36
36
|
|
|
37
37
|
typedef struct _GITypelib GITypelib;
|
|
38
38
|
|
|
39
|
+
#define GI_TYPE_TYPELIB (gi_typelib_get_type ())
|
|
39
40
|
GI_AVAILABLE_IN_ALL
|
|
40
|
-
|
|
41
|
-
gsize len,
|
|
42
|
-
GError **error);
|
|
41
|
+
GType gi_typelib_get_type (void) G_GNUC_CONST;
|
|
43
42
|
|
|
44
43
|
GI_AVAILABLE_IN_ALL
|
|
45
|
-
GITypelib *
|
|
46
|
-
|
|
47
|
-
GError **error);
|
|
44
|
+
GITypelib * gi_typelib_new_from_bytes (GBytes *bytes,
|
|
45
|
+
GError **error);
|
|
48
46
|
|
|
49
47
|
GI_AVAILABLE_IN_ALL
|
|
50
|
-
GITypelib *
|
|
51
|
-
GError **error);
|
|
52
|
-
|
|
48
|
+
GITypelib * gi_typelib_ref (GITypelib *typelib);
|
|
53
49
|
GI_AVAILABLE_IN_ALL
|
|
54
|
-
void
|
|
50
|
+
void gi_typelib_unref (GITypelib *typelib);
|
|
55
51
|
|
|
56
52
|
GI_AVAILABLE_IN_ALL
|
|
57
53
|
gboolean gi_typelib_symbol (GITypelib *typelib,
|
|
58
|
-
const
|
|
59
|
-
|
|
54
|
+
const char *symbol_name,
|
|
55
|
+
void **symbol);
|
|
60
56
|
|
|
61
57
|
GI_AVAILABLE_IN_ALL
|
|
62
|
-
const
|
|
58
|
+
const char * gi_typelib_get_namespace (GITypelib *typelib);
|
|
63
59
|
|
|
64
60
|
|
|
65
61
|
G_END_DECLS
|