@revizly/sharp-libvips-dev 1.0.61 → 1.0.64
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/cplusplus/VError.cpp +28 -0
- package/include/expat.h +13 -6
- package/include/expat_config.h +3 -3
- package/include/ffi.h +3 -3
- package/include/gio-unix-2.0/gio/gdesktopappinfo.h +40 -23
- package/include/gio-unix-2.0/gio/gunixmounts.h +3 -3
- package/include/glib-2.0/gio/gasyncinitable.h +32 -32
- package/include/glib-2.0/gio/gasyncresult.h +4 -4
- package/include/glib-2.0/gio/gbufferedinputstream.h +28 -28
- package/include/glib-2.0/gio/gbufferedoutputstream.h +3 -3
- package/include/glib-2.0/gio/gcancellable.h +6 -6
- package/include/glib-2.0/gio/gcharsetconverter.h +3 -3
- package/include/glib-2.0/gio/gconverter.h +16 -16
- package/include/glib-2.0/gio/gdatainputstream.h +3 -3
- package/include/glib-2.0/gio/gdataoutputstream.h +25 -25
- package/include/glib-2.0/gio/gfile.h +369 -369
- package/include/glib-2.0/gio/gfileattribute.h +4 -4
- package/include/glib-2.0/gio/gfileenumerator.h +18 -18
- package/include/glib-2.0/gio/gfileinfo.h +63 -63
- package/include/glib-2.0/gio/gfileinputstream.h +11 -11
- package/include/glib-2.0/gio/gfileiostream.h +11 -11
- package/include/glib-2.0/gio/gfilemonitor.h +1 -1
- package/include/glib-2.0/gio/gfileoutputstream.h +8 -8
- package/include/glib-2.0/gio/gicon.h +1 -1
- package/include/glib-2.0/gio/ginetaddress.h +1 -1
- package/include/glib-2.0/gio/ginetaddressmask.h +5 -5
- package/include/glib-2.0/gio/ginitable.h +16 -16
- package/include/glib-2.0/gio/ginputstream.h +47 -47
- package/include/glib-2.0/gio/gio-visibility.h +34 -0
- package/include/glib-2.0/gio/gioenums.h +3 -1
- package/include/glib-2.0/gio/giomodule.h +5 -5
- package/include/glib-2.0/gio/gioscheduler.h +10 -10
- package/include/glib-2.0/gio/giostream.h +16 -16
- package/include/glib-2.0/gio/giotypes.h +13 -12
- package/include/glib-2.0/gio/gloadableicon.h +13 -13
- package/include/glib-2.0/gio/gmemoryinputstream.h +1 -1
- package/include/glib-2.0/gio/gmountoperation.h +14 -14
- package/include/glib-2.0/gio/gnetworkaddress.h +5 -5
- package/include/glib-2.0/gio/gnetworkmonitor.h +10 -10
- package/include/glib-2.0/gio/gnetworkservice.h +2 -2
- package/include/glib-2.0/gio/goutputstream.h +76 -76
- package/include/glib-2.0/gio/gpollableinputstream.h +9 -9
- package/include/glib-2.0/gio/gpollableoutputstream.h +18 -18
- package/include/glib-2.0/gio/gpollableutils.h +18 -18
- package/include/glib-2.0/gio/gproxy.h +25 -25
- package/include/glib-2.0/gio/gproxyaddress.h +6 -6
- package/include/glib-2.0/gio/gproxyresolver.h +25 -25
- package/include/glib-2.0/gio/gresource.h +26 -26
- package/include/glib-2.0/gio/gseekable.h +16 -16
- package/include/glib-2.0/gio/gsimpleasyncresult.h +40 -40
- package/include/glib-2.0/gio/gsocket.h +103 -103
- package/include/glib-2.0/gio/gsocketaddress.h +2 -2
- package/include/glib-2.0/gio/gsocketaddressenumerator.h +14 -14
- package/include/glib-2.0/gio/gsocketclient.h +25 -25
- package/include/glib-2.0/gio/gsocketconnection.h +16 -16
- package/include/glib-2.0/gio/gsocketcontrolmessage.h +8 -8
- package/include/glib-2.0/gio/gsocketlistener.h +15 -15
- package/include/glib-2.0/gio/gsocketservice.h +1 -1
- package/include/glib-2.0/gio/gsrvtarget.h +3 -3
- package/include/glib-2.0/gio/gtcpconnection.h +1 -1
- package/include/glib-2.0/gio/gtcpwrapperconnection.h +1 -1
- package/include/glib-2.0/gio/gtlsbackend.h +1 -1
- package/include/glib-2.0/gio/gtlscertificate.h +10 -10
- package/include/glib-2.0/gio/gtlsclientconnection.h +5 -5
- package/include/glib-2.0/gio/gtlsconnection.h +23 -23
- package/include/glib-2.0/gio/gtlsserverconnection.h +2 -2
- package/include/glib-2.0/gio/gvfs.h +14 -14
- package/include/glib-2.0/gio/gvolume.h +8 -8
- package/include/glib-2.0/gio/gvolumemonitor.h +1 -1
- package/include/glib-2.0/gio/gzlibcompressor.h +1 -1
- package/include/glib-2.0/girepository/gi-visibility.h +34 -0
- package/include/glib-2.0/glib/deprecated/gmain.h +1 -1
- package/include/glib-2.0/glib/deprecated/grel.h +1 -1
- package/include/glib-2.0/glib/deprecated/gthread.h +1 -1
- package/include/glib-2.0/glib/galloca.h +2 -2
- package/include/glib-2.0/glib/garray.h +56 -56
- package/include/glib-2.0/glib/gbookmarkfile.h +93 -93
- package/include/glib-2.0/glib/gconvert.h +43 -43
- package/include/glib-2.0/glib/gdataset.h +14 -14
- package/include/glib-2.0/glib/gdate.h +17 -17
- package/include/glib-2.0/glib/gdir.h +2 -2
- package/include/glib-2.0/glib/gerror.h +1 -1
- package/include/glib-2.0/glib/ghook.h +103 -103
- package/include/glib-2.0/glib/giochannel.h +90 -90
- package/include/glib-2.0/glib/gkeyfile.h +112 -111
- package/include/glib-2.0/glib/glib-visibility.h +34 -0
- package/include/glib-2.0/glib/glist.h +37 -37
- package/include/glib-2.0/glib/gmacros.h +84 -27
- package/include/glib-2.0/glib/gmain.h +10 -10
- package/include/glib-2.0/glib/gmappedfile.h +4 -4
- package/include/glib-2.0/glib/gmarkup.h +2 -2
- package/include/glib-2.0/glib/gmem.h +68 -68
- package/include/glib-2.0/glib/gmessages.h +14 -14
- package/include/glib-2.0/glib/gnode.h +76 -76
- package/include/glib-2.0/glib/goption.h +45 -45
- package/include/glib-2.0/glib/gpattern.h +6 -6
- package/include/glib-2.0/glib/gpoll.h +6 -6
- package/include/glib-2.0/glib/gprimes.h +2 -2
- package/include/glib-2.0/glib/gprintf.h +10 -10
- package/include/glib-2.0/glib/gqsort.h +5 -5
- package/include/glib-2.0/glib/gquark.h +9 -5
- package/include/glib-2.0/glib/gqueue.h +1 -1
- package/include/glib-2.0/glib/grand.h +12 -12
- package/include/glib-2.0/glib/gscanner.h +138 -138
- package/include/glib-2.0/glib/gslice.h +15 -15
- package/include/glib-2.0/glib/gslist.h +34 -34
- package/include/glib-2.0/glib/gspawn.h +1 -1
- package/include/glib-2.0/glib/gstdio.h +16 -10
- package/include/glib-2.0/glib/gstrfuncs.h +63 -63
- package/include/glib-2.0/glib/gtestutils.h +2 -2
- package/include/glib-2.0/glib/gtimer.h +9 -9
- package/include/glib-2.0/glib/gtree.h +3 -3
- package/include/glib-2.0/glib/gtypes.h +166 -166
- package/include/glib-2.0/glib/gutils.h +35 -33
- package/include/glib-2.0/glib/gversionmacros.h +9 -0
- package/include/glib-2.0/glib-object.h +1 -1
- package/include/glib-2.0/glib.h +1 -1
- package/include/glib-2.0/gmodule/gmodule-visibility.h +34 -0
- package/include/glib-2.0/gmodule.h +12 -12
- package/include/glib-2.0/gobject/gclosure.h +82 -82
- package/include/glib-2.0/gobject/genums.h +43 -43
- package/include/glib-2.0/gobject/gmarshal.h +2 -2
- package/include/glib-2.0/gobject/gobject-visibility.h +34 -0
- package/include/glib-2.0/gobject/gobject.h +97 -97
- package/include/glib-2.0/gobject/gobjectnotifyqueue.c +12 -12
- package/include/glib-2.0/gobject/gparam.h +96 -96
- package/include/glib-2.0/gobject/gparamspecs.h +157 -157
- package/include/glib-2.0/gobject/gsignal.h +189 -189
- package/include/glib-2.0/gobject/gsourceclosure.h +1 -1
- package/include/glib-2.0/gobject/gtype.h +139 -139
- package/include/glib-2.0/gobject/gtypemodule.h +5 -5
- package/include/glib-2.0/gobject/gtypeplugin.h +32 -32
- package/include/glib-2.0/gobject/gvalue.h +34 -34
- package/include/glib-2.0/gobject/gvaluearray.h +21 -21
- package/include/glib-2.0/gobject/gvaluecollector.h +117 -117
- package/include/glib-2.0/gobject/gvaluetypes.h +74 -74
- package/include/harfbuzz/hb-font.h +22 -0
- package/include/harfbuzz/hb-ot-layout.h +11 -0
- package/include/harfbuzz/hb-version.h +2 -2
- package/include/libimagequant.h +4 -0
- package/include/vips/VError8.h +3 -4
- package/include/vips/VImage8.h +12 -0
- package/include/vips/util.h +15 -1
- package/package.json +1 -1
- package/versions.json +5 -5
|
@@ -176,7 +176,7 @@ struct _GTypeModuleClass
|
|
|
176
176
|
static void type_name##_init (TypeName *self); \
|
|
177
177
|
static void type_name##_class_init (TypeName##Class *klass); \
|
|
178
178
|
static void type_name##_class_finalize (TypeName##Class *klass); \
|
|
179
|
-
static gpointer type_name##_parent_class = NULL; \
|
|
179
|
+
G_GNUC_UNUSED static gpointer type_name##_parent_class = NULL; \
|
|
180
180
|
static GType type_name##_type_id = 0; \
|
|
181
181
|
static gint TypeName##_private_offset; \
|
|
182
182
|
\
|
|
@@ -211,10 +211,10 @@ type_name##_register_type (GTypeModule *type_module) \
|
|
|
211
211
|
NULL /* value_table */ \
|
|
212
212
|
}; \
|
|
213
213
|
type_name##_type_id = g_type_module_register_type (type_module, \
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
214
|
+
TYPE_PARENT, \
|
|
215
|
+
#TypeName, \
|
|
216
|
+
&g_define_type_info, \
|
|
217
|
+
(GTypeFlags) flags); \
|
|
218
218
|
g_define_type_id = type_name##_type_id; \
|
|
219
219
|
{ CODE ; } \
|
|
220
220
|
}
|
|
@@ -23,21 +23,21 @@
|
|
|
23
23
|
#error "Only <glib-object.h> can be included directly."
|
|
24
24
|
#endif
|
|
25
25
|
|
|
26
|
-
#include
|
|
26
|
+
#include <gobject/gtype.h>
|
|
27
27
|
|
|
28
28
|
G_BEGIN_DECLS
|
|
29
29
|
|
|
30
30
|
/* --- type macros --- */
|
|
31
|
-
#define G_TYPE_TYPE_PLUGIN
|
|
32
|
-
#define G_TYPE_PLUGIN(inst)
|
|
33
|
-
#define G_TYPE_PLUGIN_CLASS(vtable)
|
|
34
|
-
#define G_IS_TYPE_PLUGIN(inst)
|
|
35
|
-
#define G_IS_TYPE_PLUGIN_CLASS(vtable)
|
|
36
|
-
#define G_TYPE_PLUGIN_GET_CLASS(inst)
|
|
31
|
+
#define G_TYPE_TYPE_PLUGIN (g_type_plugin_get_type ())
|
|
32
|
+
#define G_TYPE_PLUGIN(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), G_TYPE_TYPE_PLUGIN, GTypePlugin))
|
|
33
|
+
#define G_TYPE_PLUGIN_CLASS(vtable) (G_TYPE_CHECK_CLASS_CAST ((vtable), G_TYPE_TYPE_PLUGIN, GTypePluginClass))
|
|
34
|
+
#define G_IS_TYPE_PLUGIN(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), G_TYPE_TYPE_PLUGIN))
|
|
35
|
+
#define G_IS_TYPE_PLUGIN_CLASS(vtable) (G_TYPE_CHECK_CLASS_TYPE ((vtable), G_TYPE_TYPE_PLUGIN))
|
|
36
|
+
#define G_TYPE_PLUGIN_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), G_TYPE_TYPE_PLUGIN, GTypePluginClass))
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
/* --- typedefs & structures --- */
|
|
40
|
-
typedef struct _GTypePluginClass
|
|
40
|
+
typedef struct _GTypePluginClass GTypePluginClass;
|
|
41
41
|
/**
|
|
42
42
|
* GTypePluginUse:
|
|
43
43
|
* @plugin: the #GTypePlugin whose use count should be increased
|
|
@@ -45,14 +45,14 @@ typedef struct _GTypePluginClass GTypePluginClass;
|
|
|
45
45
|
* The type of the @use_plugin function of #GTypePluginClass, which gets called
|
|
46
46
|
* to increase the use count of @plugin.
|
|
47
47
|
*/
|
|
48
|
-
typedef void (*GTypePluginUse)
|
|
48
|
+
typedef void (*GTypePluginUse) (GTypePlugin *plugin);
|
|
49
49
|
/**
|
|
50
50
|
* GTypePluginUnuse:
|
|
51
51
|
* @plugin: the #GTypePlugin whose use count should be decreased
|
|
52
52
|
*
|
|
53
53
|
* The type of the @unuse_plugin function of #GTypePluginClass.
|
|
54
54
|
*/
|
|
55
|
-
typedef void (*GTypePluginUnuse)
|
|
55
|
+
typedef void (*GTypePluginUnuse) (GTypePlugin *plugin);
|
|
56
56
|
/**
|
|
57
57
|
* GTypePluginCompleteTypeInfo:
|
|
58
58
|
* @plugin: the #GTypePlugin
|
|
@@ -62,10 +62,10 @@ typedef void (*GTypePluginUnuse) (GTypePlugin *plugin);
|
|
|
62
62
|
*
|
|
63
63
|
* The type of the @complete_type_info function of #GTypePluginClass.
|
|
64
64
|
*/
|
|
65
|
-
typedef void (*GTypePluginCompleteTypeInfo)
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
65
|
+
typedef void (*GTypePluginCompleteTypeInfo) (GTypePlugin *plugin,
|
|
66
|
+
GType g_type,
|
|
67
|
+
GTypeInfo *info,
|
|
68
|
+
GTypeValueTable *value_table);
|
|
69
69
|
/**
|
|
70
70
|
* GTypePluginCompleteInterfaceInfo:
|
|
71
71
|
* @plugin: the #GTypePlugin
|
|
@@ -77,9 +77,9 @@ typedef void (*GTypePluginCompleteTypeInfo) (GTypePlugin *plugin,
|
|
|
77
77
|
* The type of the @complete_interface_info function of #GTypePluginClass.
|
|
78
78
|
*/
|
|
79
79
|
typedef void (*GTypePluginCompleteInterfaceInfo) (GTypePlugin *plugin,
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
80
|
+
GType instance_type,
|
|
81
|
+
GType interface_type,
|
|
82
|
+
GInterfaceInfo *info);
|
|
83
83
|
/**
|
|
84
84
|
* GTypePluginClass:
|
|
85
85
|
* @use_plugin: Increases the use count of the plugin.
|
|
@@ -97,33 +97,33 @@ typedef void (*GTypePluginCompleteInterfaceInfo) (GTypePlugin *plugin,
|
|
|
97
97
|
struct _GTypePluginClass
|
|
98
98
|
{
|
|
99
99
|
/*< private >*/
|
|
100
|
-
GTypeInterface
|
|
100
|
+
GTypeInterface base_iface;
|
|
101
101
|
|
|
102
102
|
/*< public >*/
|
|
103
|
-
GTypePluginUse
|
|
104
|
-
GTypePluginUnuse
|
|
105
|
-
GTypePluginCompleteTypeInfo
|
|
103
|
+
GTypePluginUse use_plugin;
|
|
104
|
+
GTypePluginUnuse unuse_plugin;
|
|
105
|
+
GTypePluginCompleteTypeInfo complete_type_info;
|
|
106
106
|
GTypePluginCompleteInterfaceInfo complete_interface_info;
|
|
107
107
|
};
|
|
108
108
|
|
|
109
109
|
|
|
110
110
|
/* --- prototypes --- */
|
|
111
111
|
GOBJECT_AVAILABLE_IN_ALL
|
|
112
|
-
GType
|
|
112
|
+
GType g_type_plugin_get_type (void);
|
|
113
113
|
GOBJECT_AVAILABLE_IN_ALL
|
|
114
|
-
void
|
|
114
|
+
void g_type_plugin_use (GTypePlugin *plugin);
|
|
115
115
|
GOBJECT_AVAILABLE_IN_ALL
|
|
116
|
-
void
|
|
116
|
+
void g_type_plugin_unuse (GTypePlugin *plugin);
|
|
117
117
|
GOBJECT_AVAILABLE_IN_ALL
|
|
118
|
-
void
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
118
|
+
void g_type_plugin_complete_type_info (GTypePlugin *plugin,
|
|
119
|
+
GType g_type,
|
|
120
|
+
GTypeInfo *info,
|
|
121
|
+
GTypeValueTable *value_table);
|
|
122
122
|
GOBJECT_AVAILABLE_IN_ALL
|
|
123
|
-
void
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
123
|
+
void g_type_plugin_complete_interface_info (GTypePlugin *plugin,
|
|
124
|
+
GType instance_type,
|
|
125
|
+
GType interface_type,
|
|
126
|
+
GInterfaceInfo *info);
|
|
127
127
|
|
|
128
128
|
G_END_DECLS
|
|
129
129
|
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
#error "Only <glib-object.h> can be included directly."
|
|
26
26
|
#endif
|
|
27
27
|
|
|
28
|
-
#include
|
|
28
|
+
#include <gobject/gtype.h>
|
|
29
29
|
|
|
30
30
|
G_BEGIN_DECLS
|
|
31
31
|
|
|
@@ -43,7 +43,7 @@ G_BEGIN_DECLS
|
|
|
43
43
|
*
|
|
44
44
|
* Returns: Whether @type is suitable as a [struct@GObject.Value] type.
|
|
45
45
|
*/
|
|
46
|
-
#define
|
|
46
|
+
#define G_TYPE_IS_VALUE(type) (g_type_check_is_value_type (type))
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
49
|
* G_IS_VALUE:
|
|
@@ -53,7 +53,7 @@ G_BEGIN_DECLS
|
|
|
53
53
|
*
|
|
54
54
|
* Returns: true on success; false otherwise
|
|
55
55
|
*/
|
|
56
|
-
#define
|
|
56
|
+
#define G_IS_VALUE(value) (G_TYPE_CHECK_VALUE (value))
|
|
57
57
|
|
|
58
58
|
/**
|
|
59
59
|
* G_VALUE_TYPE:
|
|
@@ -63,7 +63,7 @@ G_BEGIN_DECLS
|
|
|
63
63
|
*
|
|
64
64
|
* Returns: the type ID
|
|
65
65
|
*/
|
|
66
|
-
#define
|
|
66
|
+
#define G_VALUE_TYPE(value) (((GValue*) (value))->g_type)
|
|
67
67
|
|
|
68
68
|
/**
|
|
69
69
|
* G_VALUE_TYPE_NAME:
|
|
@@ -73,7 +73,7 @@ G_BEGIN_DECLS
|
|
|
73
73
|
*
|
|
74
74
|
* Returns: the type name
|
|
75
75
|
*/
|
|
76
|
-
#define
|
|
76
|
+
#define G_VALUE_TYPE_NAME(value) (g_type_name (G_VALUE_TYPE (value)))
|
|
77
77
|
|
|
78
78
|
/**
|
|
79
79
|
* G_VALUE_HOLDS:
|
|
@@ -88,7 +88,7 @@ G_BEGIN_DECLS
|
|
|
88
88
|
* Returns: true if @value is non-`NULL` and holds a value of the given @type;
|
|
89
89
|
* false otherwise
|
|
90
90
|
*/
|
|
91
|
-
#define G_VALUE_HOLDS(value,type)
|
|
91
|
+
#define G_VALUE_HOLDS(value,type) (G_TYPE_CHECK_VALUE_TYPE ((value), (type)))
|
|
92
92
|
|
|
93
93
|
|
|
94
94
|
/* --- typedefs & structures --- */
|
|
@@ -103,7 +103,7 @@ G_BEGIN_DECLS
|
|
|
103
103
|
* @dest_value will be initialized to the correct destination type.
|
|
104
104
|
*/
|
|
105
105
|
typedef void (*GValueTransform) (const GValue *src_value,
|
|
106
|
-
|
|
106
|
+
GValue *dest_value);
|
|
107
107
|
|
|
108
108
|
/**
|
|
109
109
|
* GValue:
|
|
@@ -131,37 +131,37 @@ typedef void (*GValueTransform) (const GValue *src_value,
|
|
|
131
131
|
struct _GValue
|
|
132
132
|
{
|
|
133
133
|
/*< private >*/
|
|
134
|
-
GType
|
|
134
|
+
GType g_type;
|
|
135
135
|
|
|
136
136
|
/* public for GTypeValueTable methods */
|
|
137
137
|
union {
|
|
138
|
-
gint
|
|
139
|
-
guint
|
|
140
|
-
glong
|
|
141
|
-
gulong
|
|
138
|
+
gint v_int;
|
|
139
|
+
guint v_uint;
|
|
140
|
+
glong v_long;
|
|
141
|
+
gulong v_ulong;
|
|
142
142
|
gint64 v_int64;
|
|
143
143
|
guint64 v_uint64;
|
|
144
|
-
gfloat
|
|
145
|
-
gdouble
|
|
146
|
-
gpointer
|
|
144
|
+
gfloat v_float;
|
|
145
|
+
gdouble v_double;
|
|
146
|
+
gpointer v_pointer;
|
|
147
147
|
} data[2];
|
|
148
148
|
};
|
|
149
149
|
|
|
150
150
|
|
|
151
151
|
/* --- prototypes --- */
|
|
152
152
|
GOBJECT_AVAILABLE_IN_ALL
|
|
153
|
-
GValue* g_value_init
|
|
154
|
-
|
|
153
|
+
GValue* g_value_init (GValue *value,
|
|
154
|
+
GType g_type);
|
|
155
155
|
GOBJECT_AVAILABLE_IN_ALL
|
|
156
|
-
void g_value_copy
|
|
157
|
-
|
|
156
|
+
void g_value_copy (const GValue *src_value,
|
|
157
|
+
GValue *dest_value);
|
|
158
158
|
GOBJECT_AVAILABLE_IN_ALL
|
|
159
|
-
GValue* g_value_reset
|
|
159
|
+
GValue* g_value_reset (GValue *value);
|
|
160
160
|
GOBJECT_AVAILABLE_IN_ALL
|
|
161
|
-
void g_value_unset
|
|
161
|
+
void g_value_unset (GValue *value);
|
|
162
162
|
GOBJECT_AVAILABLE_IN_ALL
|
|
163
|
-
void
|
|
164
|
-
|
|
163
|
+
void g_value_set_instance (GValue *value,
|
|
164
|
+
gpointer instance);
|
|
165
165
|
GOBJECT_AVAILABLE_IN_2_42
|
|
166
166
|
void g_value_init_from_instance (GValue *value,
|
|
167
167
|
gpointer instance);
|
|
@@ -169,25 +169,25 @@ void g_value_init_from_instance (GValue *value,
|
|
|
169
169
|
|
|
170
170
|
/* --- private --- */
|
|
171
171
|
GOBJECT_AVAILABLE_IN_ALL
|
|
172
|
-
gboolean
|
|
172
|
+
gboolean g_value_fits_pointer (const GValue *value);
|
|
173
173
|
GOBJECT_AVAILABLE_IN_ALL
|
|
174
|
-
gpointer
|
|
174
|
+
gpointer g_value_peek_pointer (const GValue *value);
|
|
175
175
|
|
|
176
176
|
|
|
177
177
|
/* --- implementation details --- */
|
|
178
178
|
GOBJECT_AVAILABLE_IN_ALL
|
|
179
|
-
gboolean g_value_type_compatible
|
|
180
|
-
|
|
179
|
+
gboolean g_value_type_compatible (GType src_type,
|
|
180
|
+
GType dest_type);
|
|
181
181
|
GOBJECT_AVAILABLE_IN_ALL
|
|
182
|
-
gboolean g_value_type_transformable
|
|
183
|
-
|
|
182
|
+
gboolean g_value_type_transformable (GType src_type,
|
|
183
|
+
GType dest_type);
|
|
184
184
|
GOBJECT_AVAILABLE_IN_ALL
|
|
185
|
-
gboolean g_value_transform
|
|
186
|
-
|
|
185
|
+
gboolean g_value_transform (const GValue *src_value,
|
|
186
|
+
GValue *dest_value);
|
|
187
187
|
GOBJECT_AVAILABLE_IN_ALL
|
|
188
|
-
void
|
|
189
|
-
|
|
190
|
-
|
|
188
|
+
void g_value_register_transform_func (GType src_type,
|
|
189
|
+
GType dest_type,
|
|
190
|
+
GValueTransform transform_func);
|
|
191
191
|
|
|
192
192
|
/**
|
|
193
193
|
* G_VALUE_NOCOPY_CONTENTS:
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
*
|
|
11
11
|
* This library is distributed in the hope that it will be useful,
|
|
12
12
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
13
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
13
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
14
14
|
* Lesser General Public License for more details.
|
|
15
15
|
*
|
|
16
16
|
* You should have received a copy of the GNU Lesser General
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
#error "Only <glib-object.h> can be included directly."
|
|
26
26
|
#endif
|
|
27
27
|
|
|
28
|
-
#include
|
|
28
|
+
#include <gobject/gvalue.h>
|
|
29
29
|
|
|
30
30
|
G_BEGIN_DECLS
|
|
31
31
|
|
|
@@ -55,43 +55,43 @@ GOBJECT_DEPRECATED_IN_2_32_FOR(GArray)
|
|
|
55
55
|
GType g_value_array_get_type (void);
|
|
56
56
|
|
|
57
57
|
GOBJECT_DEPRECATED_IN_2_32_FOR(GArray)
|
|
58
|
-
GValue*
|
|
59
|
-
|
|
58
|
+
GValue* g_value_array_get_nth (GValueArray *value_array,
|
|
59
|
+
guint index_);
|
|
60
60
|
|
|
61
61
|
GOBJECT_DEPRECATED_IN_2_32_FOR(GArray)
|
|
62
|
-
GValueArray*
|
|
62
|
+
GValueArray* g_value_array_new (guint n_prealloced);
|
|
63
63
|
|
|
64
64
|
GOBJECT_DEPRECATED_IN_2_32_FOR(GArray)
|
|
65
|
-
void
|
|
65
|
+
void g_value_array_free (GValueArray *value_array);
|
|
66
66
|
|
|
67
67
|
GOBJECT_DEPRECATED_IN_2_32_FOR(GArray)
|
|
68
|
-
GValueArray*
|
|
68
|
+
GValueArray* g_value_array_copy (const GValueArray *value_array);
|
|
69
69
|
|
|
70
70
|
GOBJECT_DEPRECATED_IN_2_32_FOR(GArray)
|
|
71
|
-
GValueArray*
|
|
72
|
-
|
|
71
|
+
GValueArray* g_value_array_prepend (GValueArray *value_array,
|
|
72
|
+
const GValue *value);
|
|
73
73
|
|
|
74
74
|
GOBJECT_DEPRECATED_IN_2_32_FOR(GArray)
|
|
75
|
-
GValueArray*
|
|
76
|
-
|
|
75
|
+
GValueArray* g_value_array_append (GValueArray *value_array,
|
|
76
|
+
const GValue *value);
|
|
77
77
|
|
|
78
78
|
GOBJECT_DEPRECATED_IN_2_32_FOR(GArray)
|
|
79
|
-
GValueArray*
|
|
80
|
-
|
|
81
|
-
|
|
79
|
+
GValueArray* g_value_array_insert (GValueArray *value_array,
|
|
80
|
+
guint index_,
|
|
81
|
+
const GValue *value);
|
|
82
82
|
|
|
83
83
|
GOBJECT_DEPRECATED_IN_2_32_FOR(GArray)
|
|
84
|
-
GValueArray*
|
|
85
|
-
|
|
84
|
+
GValueArray* g_value_array_remove (GValueArray *value_array,
|
|
85
|
+
guint index_);
|
|
86
86
|
|
|
87
87
|
GOBJECT_DEPRECATED_IN_2_32_FOR(GArray)
|
|
88
|
-
GValueArray*
|
|
89
|
-
|
|
88
|
+
GValueArray* g_value_array_sort (GValueArray *value_array,
|
|
89
|
+
GCompareFunc compare_func);
|
|
90
90
|
|
|
91
91
|
GOBJECT_DEPRECATED_IN_2_32_FOR(GArray)
|
|
92
|
-
GValueArray*
|
|
93
|
-
|
|
94
|
-
|
|
92
|
+
GValueArray* g_value_array_sort_with_data (GValueArray *value_array,
|
|
93
|
+
GCompareDataFunc compare_func,
|
|
94
|
+
gpointer user_data);
|
|
95
95
|
|
|
96
96
|
|
|
97
97
|
G_END_DECLS
|