@img/sharp-libvips-dev 1.1.0 → 1.2.0-rc.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/cplusplus/vips-operators.cpp +39 -0
- package/include/archive.h +53 -2
- package/include/archive_entry.h +56 -25
- package/include/ffi.h +20 -2
- package/include/fontconfig/fontconfig.h +1 -1
- package/include/glib-2.0/gio/gio-visibility.h +34 -0
- package/include/glib-2.0/gio/gzlibcompressor.h +6 -0
- package/include/glib-2.0/girepository/gi-visibility.h +34 -0
- package/include/glib-2.0/girepository/gitypes.h +6 -0
- package/include/glib-2.0/glib/gbitlock.h +11 -0
- package/include/glib-2.0/glib/gdate.h +6 -0
- package/include/glib-2.0/glib/glib-visibility.h +35 -1
- package/include/glib-2.0/glib/gmain.h +13 -10
- package/include/glib-2.0/glib/gmessages.h +4 -1
- package/include/glib-2.0/glib/gstring.h +2 -0
- package/include/glib-2.0/glib/gversionmacros.h +9 -0
- package/include/glib-2.0/glib/gwin32.h +54 -4
- package/include/glib-2.0/gmodule/gmodule-visibility.h +34 -0
- package/include/glib-2.0/gobject/gobject-visibility.h +35 -1
- package/include/glib-2.0/msvc_recommended_pragmas.h +41 -0
- package/include/harfbuzz/hb-common.h +1 -431
- package/include/harfbuzz/hb-deprecated.h +80 -2
- package/include/harfbuzz/hb-draw.h +2 -10
- package/include/harfbuzz/hb-face.h +1 -1
- package/include/harfbuzz/hb-font.h +55 -36
- package/include/harfbuzz/hb-paint.h +5 -3
- package/include/harfbuzz/hb-script-list.h +484 -0
- package/include/harfbuzz/hb-subset.h +22 -2
- package/include/harfbuzz/hb-version.h +3 -3
- package/include/libheif/heif.h +2 -0
- package/include/libheif/heif_version.h +2 -2
- package/include/libpng16/png.h +10 -10
- package/include/libpng16/pngconf.h +20 -27
- package/include/libpng16/pnglibconf.h +1 -1
- package/include/libxml2/libxml/HTMLparser.h +2 -2
- package/include/libxml2/libxml/parser.h +2 -0
- package/include/libxml2/libxml/xmlIO.h +2 -2
- package/include/libxml2/libxml/xmlerror.h +1 -1
- package/include/libxml2/libxml/xmlversion.h +4 -4
- package/include/pixman-1/pixman-version.h +2 -2
- package/include/pixman-1/pixman.h +200 -0
- package/include/png.h +10 -10
- package/include/pngconf.h +20 -27
- package/include/pnglibconf.h +1 -1
- package/include/vips/VImage8.h +62 -14
- package/include/vips/arithmetic.h +34 -34
- package/include/vips/basic.h +16 -0
- package/include/vips/buf.h +0 -5
- package/include/vips/colour.h +6 -7
- package/include/vips/connection.h +25 -37
- package/include/vips/enumtypes.h +11 -2
- package/include/vips/foreign.h +73 -43
- package/include/vips/format.h +7 -5
- package/include/vips/gate.h +0 -11
- package/include/vips/header.h +11 -11
- package/include/vips/image.h +8 -3
- package/include/vips/interpolate.h +0 -2
- package/include/vips/memory.h +4 -0
- package/include/vips/mosaicing.h +4 -0
- package/include/vips/object.h +14 -18
- package/include/vips/operation.h +0 -2
- package/include/vips/private.h +50 -2
- package/include/vips/region.h +1 -3
- package/include/vips/resample.h +2 -0
- package/include/vips/semaphore.h +8 -3
- package/include/vips/thread.h +1 -24
- package/include/vips/threadpool.h +0 -6
- package/include/vips/type.h +13 -9
- package/include/vips/util.h +17 -98
- package/include/vips/vector.h +0 -4
- package/include/vips/version.h +8 -8
- package/include/vips/vips.h +1 -0
- package/package.json +1 -1
- package/versions.json +11 -11
- package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-animation.h +0 -221
- package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-autocleanups.h +0 -37
- package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h +0 -525
- package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-enum-types.h +0 -40
- package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-features.h +0 -115
- package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-io.h +0 -481
- package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-loader.h +0 -113
- package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-macros.h +0 -718
- package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-marshal.h +0 -33
- package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-simple-anim.h +0 -70
- package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-transform.h +0 -168
- package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h +0 -46
- package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixdata.h +0 -165
- package/include/harfbuzz/hb-subset-repacker.h +0 -81
- package/include/hwy/ops/tuple-inl.h +0 -125
- package/include/orc-0.4/orc/orc-stdint.h +0 -1
- package/include/orc-0.4/orc/orc.h +0 -16
- package/include/orc-0.4/orc/orcarm.h +0 -879
- package/include/orc-0.4/orc/orcbytecode.h +0 -35
- package/include/orc-0.4/orc/orcbytecodes.h +0 -255
- package/include/orc-0.4/orc/orccode.h +0 -53
- package/include/orc-0.4/orc/orccompiler.h +0 -176
- package/include/orc-0.4/orc/orcconstant.h +0 -39
- package/include/orc-0.4/orc/orccpu.h +0 -21
- package/include/orc-0.4/orc/orccpuinsn.h +0 -40
- package/include/orc-0.4/orc/orcdebug.h +0 -158
- package/include/orc-0.4/orc/orcemulateopcodes.h +0 -203
- package/include/orc-0.4/orc/orcexecutor.h +0 -135
- package/include/orc-0.4/orc/orcfunctions.h +0 -93
- package/include/orc-0.4/orc/orcinstruction.h +0 -39
- package/include/orc-0.4/orc/orcinternal.h +0 -46
- package/include/orc-0.4/orc/orclimits.h +0 -94
- package/include/orc-0.4/orc/orcmips.h +0 -229
- package/include/orc-0.4/orc/orcmmx.h +0 -79
- package/include/orc-0.4/orc/orcneon.h +0 -43
- package/include/orc-0.4/orc/orconce.h +0 -166
- package/include/orc-0.4/orc/orcopcode.h +0 -63
- package/include/orc-0.4/orc/orcparse.h +0 -27
- package/include/orc-0.4/orc/orcpowerpc.h +0 -209
- package/include/orc-0.4/orc/orcprogram.h +0 -192
- package/include/orc-0.4/orc/orcrule.h +0 -52
- package/include/orc-0.4/orc/orcsse.h +0 -55
- package/include/orc-0.4/orc/orctarget.h +0 -115
- package/include/orc-0.4/orc/orcutils.h +0 -238
- package/include/orc-0.4/orc/orcvariable.h +0 -81
- package/include/orc-0.4/orc/orcx86.h +0 -199
- package/include/orc-0.4/orc/orcx86insn.h +0 -672
|
@@ -100,8 +100,8 @@ typedef struct _GSourceCallbackFuncs GSourceCallbackFuncs;
|
|
|
100
100
|
|
|
101
101
|
/**
|
|
102
102
|
* GSourceFuncs:
|
|
103
|
-
* @prepare: Called before all the file descriptors are polled. If
|
|
104
|
-
* source can determine that it is ready here (without waiting for the
|
|
103
|
+
* @prepare: (nullable): Called before all the file descriptors are polled. If
|
|
104
|
+
* the source can determine that it is ready here (without waiting for the
|
|
105
105
|
* results of the poll() call) it should return %TRUE. It can also return
|
|
106
106
|
* a @timeout_ value which should be the maximum timeout (in milliseconds)
|
|
107
107
|
* which should be passed to the poll() call. The actual timeout used will
|
|
@@ -111,9 +111,9 @@ typedef struct _GSourceCallbackFuncs GSourceCallbackFuncs;
|
|
|
111
111
|
* %FALSE with a timeout of -1. If @prepare returns a
|
|
112
112
|
* timeout and the source also has a ready time set, then the
|
|
113
113
|
* lower of the two will be used.
|
|
114
|
-
* @check: Called after all the file descriptors are polled. The
|
|
115
|
-
* should return %TRUE if it is ready to be dispatched. Note that
|
|
116
|
-
* time may have passed since the previous prepare function was called,
|
|
114
|
+
* @check: (nullable): Called after all the file descriptors are polled. The
|
|
115
|
+
* source should return %TRUE if it is ready to be dispatched. Note that
|
|
116
|
+
* some time may have passed since the previous prepare function was called,
|
|
117
117
|
* so the source should be checked again here. Since 2.36 this may
|
|
118
118
|
* be %NULL, in which case the effect is as if the function always returns
|
|
119
119
|
* %FALSE.
|
|
@@ -127,11 +127,12 @@ typedef struct _GSourceCallbackFuncs GSourceCallbackFuncs;
|
|
|
127
127
|
* The return value of the @dispatch function should be
|
|
128
128
|
* [const@GLib.SOURCE_REMOVE] if the source should be removed or
|
|
129
129
|
* [const@GLib.SOURCE_CONTINUE] to keep it.
|
|
130
|
-
* @finalize: Called when the source is finalized. At this point,
|
|
131
|
-
* will have been destroyed, had its callback cleared, and have
|
|
132
|
-
* from its [struct@GLib.MainContext], but it will still have
|
|
133
|
-
* reference count, so methods can be called on it from within
|
|
134
|
-
* function.
|
|
130
|
+
* @finalize: (nullable): Called when the source is finalized. At this point,
|
|
131
|
+
* the source will have been destroyed, had its callback cleared, and have
|
|
132
|
+
* been removed from its [struct@GLib.MainContext], but it will still have
|
|
133
|
+
* its final reference count, so methods can be called on it from within
|
|
134
|
+
* this function. This may be %NULL, in which case the effect is as if the
|
|
135
|
+
* function does nothing and returns.
|
|
135
136
|
*
|
|
136
137
|
* The `GSourceFuncs` struct contains a table of
|
|
137
138
|
* functions used to handle event sources in a generic manner.
|
|
@@ -726,6 +727,8 @@ guint g_source_get_id (GSource *source);
|
|
|
726
727
|
|
|
727
728
|
GLIB_AVAILABLE_IN_ALL
|
|
728
729
|
GMainContext *g_source_get_context (GSource *source);
|
|
730
|
+
GLIB_AVAILABLE_IN_2_86
|
|
731
|
+
GMainContext *g_source_dup_context (GSource *source);
|
|
729
732
|
|
|
730
733
|
GLIB_AVAILABLE_IN_ALL
|
|
731
734
|
void g_source_set_callback (GSource *source,
|
|
@@ -117,6 +117,9 @@ GLogLevelFlags g_log_set_fatal_mask (const gchar *log_domain,
|
|
|
117
117
|
GLIB_AVAILABLE_IN_ALL
|
|
118
118
|
GLogLevelFlags g_log_set_always_fatal (GLogLevelFlags fatal_mask);
|
|
119
119
|
|
|
120
|
+
GLIB_AVAILABLE_IN_2_86
|
|
121
|
+
GLogLevelFlags g_log_get_always_fatal (void);
|
|
122
|
+
|
|
120
123
|
/* Structured logging mechanism. */
|
|
121
124
|
|
|
122
125
|
/**
|
|
@@ -587,7 +590,7 @@ GPrintFunc g_set_printerr_handler (GPrintFunc func);
|
|
|
587
590
|
*
|
|
588
591
|
* To debug failure of a g_return_if_fail() check, run the code under a debugger
|
|
589
592
|
* with `G_DEBUG=fatal-criticals` or `G_DEBUG=fatal-warnings` defined in the
|
|
590
|
-
* environment (see [Running GLib Applications](
|
|
593
|
+
* environment (see [Running GLib Applications](running.html)):
|
|
591
594
|
*
|
|
592
595
|
* |[
|
|
593
596
|
* G_DEBUG=fatal-warnings gdb ./my-program
|
|
@@ -58,6 +58,8 @@ GString* g_string_new_len (const gchar *init,
|
|
|
58
58
|
gssize len);
|
|
59
59
|
GLIB_AVAILABLE_IN_ALL
|
|
60
60
|
GString* g_string_sized_new (gsize dfl_size);
|
|
61
|
+
GLIB_AVAILABLE_IN_2_86
|
|
62
|
+
GString *g_string_copy (GString *string);
|
|
61
63
|
GLIB_AVAILABLE_IN_ALL
|
|
62
64
|
gchar* (g_string_free) (GString *string,
|
|
63
65
|
gboolean free_segment);
|
|
@@ -413,6 +413,15 @@
|
|
|
413
413
|
* Since: 2.84
|
|
414
414
|
*/
|
|
415
415
|
#define GLIB_VERSION_2_84 (G_ENCODE_VERSION (2, 84))
|
|
416
|
+
/**
|
|
417
|
+
* GLIB_VERSION_2_86:
|
|
418
|
+
*
|
|
419
|
+
* A macro that evaluates to the 2.86 version of GLib, in a format
|
|
420
|
+
* that can be used by the C pre-processor.
|
|
421
|
+
*
|
|
422
|
+
* Since: 2.86
|
|
423
|
+
*/
|
|
424
|
+
#define GLIB_VERSION_2_86 (G_ENCODE_VERSION (2, 86))
|
|
416
425
|
|
|
417
426
|
/**
|
|
418
427
|
* GLIB_VERSION_CUR_STABLE:
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
|
|
34
34
|
#include <glib/gtypes.h>
|
|
35
35
|
|
|
36
|
-
#
|
|
36
|
+
#ifdef G_PLATFORM_WIN32
|
|
37
37
|
|
|
38
38
|
G_BEGIN_DECLS
|
|
39
39
|
|
|
@@ -41,7 +41,7 @@ G_BEGIN_DECLS
|
|
|
41
41
|
#define MAXPATHLEN 1024
|
|
42
42
|
#endif
|
|
43
43
|
|
|
44
|
-
#
|
|
44
|
+
#ifdef G_OS_WIN32
|
|
45
45
|
|
|
46
46
|
/*
|
|
47
47
|
* To get prototypes for the following POSIXish functions, you have to
|
|
@@ -68,7 +68,7 @@ G_BEGIN_DECLS
|
|
|
68
68
|
GLIB_AVAILABLE_IN_ALL
|
|
69
69
|
gint g_win32_ftruncate (gint f,
|
|
70
70
|
guint size);
|
|
71
|
-
#endif /* G_OS_WIN32
|
|
71
|
+
#endif /* G_OS_WIN32 */
|
|
72
72
|
|
|
73
73
|
/* The MS setlocale uses locale names of the form "English_United
|
|
74
74
|
* States.1252" etc. We want the Unixish standard form "en", "zh_TW"
|
|
@@ -135,8 +135,58 @@ gboolean g_win32_check_windows_version (const gint major,
|
|
|
135
135
|
const gint spver,
|
|
136
136
|
const GWin32OSType os_type);
|
|
137
137
|
|
|
138
|
+
/**
|
|
139
|
+
* g_win32_clear_com:
|
|
140
|
+
* @com_obj: (not optional) (nullable): Pointer to COM object pointer to release and clear
|
|
141
|
+
*
|
|
142
|
+
* Releases the referenced COM object, and clears its pointer to `NULL`.
|
|
143
|
+
*
|
|
144
|
+
* The @com_obj pointer must not be `NULL`.
|
|
145
|
+
*
|
|
146
|
+
* If @com_obj references a `NULL` COM object, this function is a no-op.
|
|
147
|
+
*
|
|
148
|
+
* This is equivalent to `g_clear_object()` for dealing with
|
|
149
|
+
* Windows COM objects.
|
|
150
|
+
*
|
|
151
|
+
* Since: 2.84
|
|
152
|
+
*/
|
|
153
|
+
|
|
154
|
+
#ifndef __cplusplus
|
|
155
|
+
|
|
156
|
+
#define g_win32_clear_com(com_obj) \
|
|
157
|
+
G_STMT_START {\
|
|
158
|
+
IUnknown **unknown_com_obj = (IUnknown **)(com_obj); \
|
|
159
|
+
\
|
|
160
|
+
if (*unknown_com_obj) \
|
|
161
|
+
{ \
|
|
162
|
+
(*unknown_com_obj)->lpVtbl->Release (*unknown_com_obj); \
|
|
163
|
+
*unknown_com_obj = NULL; \
|
|
164
|
+
} \
|
|
165
|
+
} G_STMT_END \
|
|
166
|
+
GLIB_AVAILABLE_MACRO_IN_2_84
|
|
167
|
+
|
|
168
|
+
#endif
|
|
169
|
+
|
|
138
170
|
G_END_DECLS
|
|
139
171
|
|
|
140
|
-
#
|
|
172
|
+
#ifdef __cplusplus
|
|
173
|
+
/*
|
|
174
|
+
* There are COM objects that only have C++-style definitions, such as DirectWrite
|
|
175
|
+
* from the Windows SDK (albeit a C interface is provided for the mingw-w64 toolchain),
|
|
176
|
+
* so we need to have a C++ version for this
|
|
177
|
+
*/
|
|
178
|
+
template <typename com_interface>
|
|
179
|
+
static inline void
|
|
180
|
+
g_win32_clear_com (com_interface **com_obj)
|
|
181
|
+
{
|
|
182
|
+
if (*com_obj != NULL)
|
|
183
|
+
{
|
|
184
|
+
(*com_obj)->Release ();
|
|
185
|
+
*com_obj = NULL;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
#endif
|
|
189
|
+
|
|
190
|
+
#endif /* G_PLATFORM_WIN32 */
|
|
141
191
|
|
|
142
192
|
#endif /* __G_WIN32_H__ */
|
|
@@ -1052,3 +1052,37 @@
|
|
|
1052
1052
|
#define GMODULE_AVAILABLE_ENUMERATOR_IN_2_84
|
|
1053
1053
|
#define GMODULE_AVAILABLE_TYPE_IN_2_84
|
|
1054
1054
|
#endif
|
|
1055
|
+
|
|
1056
|
+
#if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_86
|
|
1057
|
+
#define GMODULE_DEPRECATED_IN_2_86 GMODULE_DEPRECATED
|
|
1058
|
+
#define GMODULE_DEPRECATED_IN_2_86_FOR(f) GMODULE_DEPRECATED_FOR (f)
|
|
1059
|
+
#define GMODULE_DEPRECATED_MACRO_IN_2_86 GLIB_DEPRECATED_MACRO
|
|
1060
|
+
#define GMODULE_DEPRECATED_MACRO_IN_2_86_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f)
|
|
1061
|
+
#define GMODULE_DEPRECATED_ENUMERATOR_IN_2_86 GLIB_DEPRECATED_ENUMERATOR
|
|
1062
|
+
#define GMODULE_DEPRECATED_ENUMERATOR_IN_2_86_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f)
|
|
1063
|
+
#define GMODULE_DEPRECATED_TYPE_IN_2_86 GLIB_DEPRECATED_TYPE
|
|
1064
|
+
#define GMODULE_DEPRECATED_TYPE_IN_2_86_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f)
|
|
1065
|
+
#else
|
|
1066
|
+
#define GMODULE_DEPRECATED_IN_2_86 _GMODULE_EXTERN
|
|
1067
|
+
#define GMODULE_DEPRECATED_IN_2_86_FOR(f) _GMODULE_EXTERN
|
|
1068
|
+
#define GMODULE_DEPRECATED_MACRO_IN_2_86
|
|
1069
|
+
#define GMODULE_DEPRECATED_MACRO_IN_2_86_FOR(f)
|
|
1070
|
+
#define GMODULE_DEPRECATED_ENUMERATOR_IN_2_86
|
|
1071
|
+
#define GMODULE_DEPRECATED_ENUMERATOR_IN_2_86_FOR(f)
|
|
1072
|
+
#define GMODULE_DEPRECATED_TYPE_IN_2_86
|
|
1073
|
+
#define GMODULE_DEPRECATED_TYPE_IN_2_86_FOR(f)
|
|
1074
|
+
#endif
|
|
1075
|
+
|
|
1076
|
+
#if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_86
|
|
1077
|
+
#define GMODULE_AVAILABLE_IN_2_86 GMODULE_UNAVAILABLE (2, 86)
|
|
1078
|
+
#define GMODULE_AVAILABLE_STATIC_INLINE_IN_2_86 GLIB_UNAVAILABLE_STATIC_INLINE (2, 86)
|
|
1079
|
+
#define GMODULE_AVAILABLE_MACRO_IN_2_86 GLIB_UNAVAILABLE_MACRO (2, 86)
|
|
1080
|
+
#define GMODULE_AVAILABLE_ENUMERATOR_IN_2_86 GLIB_UNAVAILABLE_ENUMERATOR (2, 86)
|
|
1081
|
+
#define GMODULE_AVAILABLE_TYPE_IN_2_86 GLIB_UNAVAILABLE_TYPE (2, 86)
|
|
1082
|
+
#else
|
|
1083
|
+
#define GMODULE_AVAILABLE_IN_2_86 _GMODULE_EXTERN
|
|
1084
|
+
#define GMODULE_AVAILABLE_STATIC_INLINE_IN_2_86
|
|
1085
|
+
#define GMODULE_AVAILABLE_MACRO_IN_2_86
|
|
1086
|
+
#define GMODULE_AVAILABLE_ENUMERATOR_IN_2_86
|
|
1087
|
+
#define GMODULE_AVAILABLE_TYPE_IN_2_86
|
|
1088
|
+
#endif
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# define _GOBJECT_EXPORT __declspec(dllexport)
|
|
5
5
|
# define _GOBJECT_IMPORT __declspec(dllimport)
|
|
6
6
|
#elif __GNUC__ >= 4
|
|
7
|
-
# define _GOBJECT_EXPORT __attribute__((visibility("default")))
|
|
7
|
+
# define _GOBJECT_EXPORT __attribute__((visibility("default"))) __declspec(dllexport)
|
|
8
8
|
# define _GOBJECT_IMPORT
|
|
9
9
|
#else
|
|
10
10
|
# define _GOBJECT_EXPORT
|
|
@@ -1052,3 +1052,37 @@
|
|
|
1052
1052
|
#define GOBJECT_AVAILABLE_ENUMERATOR_IN_2_84
|
|
1053
1053
|
#define GOBJECT_AVAILABLE_TYPE_IN_2_84
|
|
1054
1054
|
#endif
|
|
1055
|
+
|
|
1056
|
+
#if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_86
|
|
1057
|
+
#define GOBJECT_DEPRECATED_IN_2_86 GOBJECT_DEPRECATED
|
|
1058
|
+
#define GOBJECT_DEPRECATED_IN_2_86_FOR(f) GOBJECT_DEPRECATED_FOR (f)
|
|
1059
|
+
#define GOBJECT_DEPRECATED_MACRO_IN_2_86 GLIB_DEPRECATED_MACRO
|
|
1060
|
+
#define GOBJECT_DEPRECATED_MACRO_IN_2_86_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f)
|
|
1061
|
+
#define GOBJECT_DEPRECATED_ENUMERATOR_IN_2_86 GLIB_DEPRECATED_ENUMERATOR
|
|
1062
|
+
#define GOBJECT_DEPRECATED_ENUMERATOR_IN_2_86_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f)
|
|
1063
|
+
#define GOBJECT_DEPRECATED_TYPE_IN_2_86 GLIB_DEPRECATED_TYPE
|
|
1064
|
+
#define GOBJECT_DEPRECATED_TYPE_IN_2_86_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f)
|
|
1065
|
+
#else
|
|
1066
|
+
#define GOBJECT_DEPRECATED_IN_2_86 _GOBJECT_EXTERN
|
|
1067
|
+
#define GOBJECT_DEPRECATED_IN_2_86_FOR(f) _GOBJECT_EXTERN
|
|
1068
|
+
#define GOBJECT_DEPRECATED_MACRO_IN_2_86
|
|
1069
|
+
#define GOBJECT_DEPRECATED_MACRO_IN_2_86_FOR(f)
|
|
1070
|
+
#define GOBJECT_DEPRECATED_ENUMERATOR_IN_2_86
|
|
1071
|
+
#define GOBJECT_DEPRECATED_ENUMERATOR_IN_2_86_FOR(f)
|
|
1072
|
+
#define GOBJECT_DEPRECATED_TYPE_IN_2_86
|
|
1073
|
+
#define GOBJECT_DEPRECATED_TYPE_IN_2_86_FOR(f)
|
|
1074
|
+
#endif
|
|
1075
|
+
|
|
1076
|
+
#if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_86
|
|
1077
|
+
#define GOBJECT_AVAILABLE_IN_2_86 GOBJECT_UNAVAILABLE (2, 86)
|
|
1078
|
+
#define GOBJECT_AVAILABLE_STATIC_INLINE_IN_2_86 GLIB_UNAVAILABLE_STATIC_INLINE (2, 86)
|
|
1079
|
+
#define GOBJECT_AVAILABLE_MACRO_IN_2_86 GLIB_UNAVAILABLE_MACRO (2, 86)
|
|
1080
|
+
#define GOBJECT_AVAILABLE_ENUMERATOR_IN_2_86 GLIB_UNAVAILABLE_ENUMERATOR (2, 86)
|
|
1081
|
+
#define GOBJECT_AVAILABLE_TYPE_IN_2_86 GLIB_UNAVAILABLE_TYPE (2, 86)
|
|
1082
|
+
#else
|
|
1083
|
+
#define GOBJECT_AVAILABLE_IN_2_86 _GOBJECT_EXTERN
|
|
1084
|
+
#define GOBJECT_AVAILABLE_STATIC_INLINE_IN_2_86
|
|
1085
|
+
#define GOBJECT_AVAILABLE_MACRO_IN_2_86
|
|
1086
|
+
#define GOBJECT_AVAILABLE_ENUMERATOR_IN_2_86
|
|
1087
|
+
#define GOBJECT_AVAILABLE_TYPE_IN_2_86
|
|
1088
|
+
#endif
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
#ifndef _MSC_VER
|
|
2
|
+
#pragma error "This header is for Microsoft VC or clang-cl only."
|
|
3
|
+
#endif /* _MSC_VER */
|
|
4
|
+
|
|
5
|
+
/* Make MSVC more pedantic, this is a recommended pragma list
|
|
6
|
+
* from _Win32_Programming_ by Rector and Newcomer.
|
|
7
|
+
*/
|
|
8
|
+
#ifndef __clang__
|
|
9
|
+
#pragma warning(error:4002) /* too many actual parameters for macro */
|
|
10
|
+
#pragma warning(error:4003) /* not enough actual parameters for macro */
|
|
11
|
+
#pragma warning(1:4010) /* single-line comment contains line-continuation character */
|
|
12
|
+
#pragma warning(error:4013) /* 'function' undefined; assuming extern returning int */
|
|
13
|
+
#pragma warning(1:4016) /* no function return type; using int as default */
|
|
14
|
+
#pragma warning(error:4020) /* too many actual parameters */
|
|
15
|
+
#pragma warning(error:4021) /* too few actual parameters */
|
|
16
|
+
#pragma warning(error:4027) /* function declared without formal parameter list */
|
|
17
|
+
#pragma warning(error:4029) /* declared formal parameter list different from definition */
|
|
18
|
+
#pragma warning(error:4033) /* 'function' must return a value */
|
|
19
|
+
#pragma warning(error:4035) /* 'function' : no return value */
|
|
20
|
+
#pragma warning(error:4045) /* array bounds overflow */
|
|
21
|
+
#pragma warning(error:4047) /* different levels of indirection */
|
|
22
|
+
#pragma warning(error:4049) /* terminating line number emission */
|
|
23
|
+
#pragma warning(error:4053) /* An expression of type void was used as an operand */
|
|
24
|
+
#pragma warning(error:4071) /* no function prototype given */
|
|
25
|
+
#pragma warning(disable:4101) /* unreferenced local variable */
|
|
26
|
+
#pragma warning(error:4150)
|
|
27
|
+
|
|
28
|
+
/* G_NORETURN */
|
|
29
|
+
#pragma warning(error:4646) /* function declared with __declspec(noreturn) has non-void return type */
|
|
30
|
+
#pragma warning(error:4715) /* 'function': not all control paths return a value */
|
|
31
|
+
#pragma warning(error:4098) /* 'void' function returning a value */
|
|
32
|
+
|
|
33
|
+
#pragma warning(disable:4244) /* No possible loss of data warnings */
|
|
34
|
+
#pragma warning(disable:4305) /* No truncation from int to char warnings */
|
|
35
|
+
|
|
36
|
+
#pragma warning(error:4819) /* The file contains a character that cannot be represented in the current code page */
|
|
37
|
+
#endif /* __clang__ */
|
|
38
|
+
|
|
39
|
+
/* work around Microsoft's premature attempt to deprecate the C-Library */
|
|
40
|
+
#define _CRT_SECURE_NO_WARNINGS
|
|
41
|
+
#define _CRT_NONSTDC_NO_WARNINGS
|