@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.
Files changed (121) hide show
  1. package/cplusplus/vips-operators.cpp +39 -0
  2. package/include/archive.h +53 -2
  3. package/include/archive_entry.h +56 -25
  4. package/include/ffi.h +20 -2
  5. package/include/fontconfig/fontconfig.h +1 -1
  6. package/include/glib-2.0/gio/gio-visibility.h +34 -0
  7. package/include/glib-2.0/gio/gzlibcompressor.h +6 -0
  8. package/include/glib-2.0/girepository/gi-visibility.h +34 -0
  9. package/include/glib-2.0/girepository/gitypes.h +6 -0
  10. package/include/glib-2.0/glib/gbitlock.h +11 -0
  11. package/include/glib-2.0/glib/gdate.h +6 -0
  12. package/include/glib-2.0/glib/glib-visibility.h +35 -1
  13. package/include/glib-2.0/glib/gmain.h +13 -10
  14. package/include/glib-2.0/glib/gmessages.h +4 -1
  15. package/include/glib-2.0/glib/gstring.h +2 -0
  16. package/include/glib-2.0/glib/gversionmacros.h +9 -0
  17. package/include/glib-2.0/glib/gwin32.h +54 -4
  18. package/include/glib-2.0/gmodule/gmodule-visibility.h +34 -0
  19. package/include/glib-2.0/gobject/gobject-visibility.h +35 -1
  20. package/include/glib-2.0/msvc_recommended_pragmas.h +41 -0
  21. package/include/harfbuzz/hb-common.h +1 -431
  22. package/include/harfbuzz/hb-deprecated.h +80 -2
  23. package/include/harfbuzz/hb-draw.h +2 -10
  24. package/include/harfbuzz/hb-face.h +1 -1
  25. package/include/harfbuzz/hb-font.h +55 -36
  26. package/include/harfbuzz/hb-paint.h +5 -3
  27. package/include/harfbuzz/hb-script-list.h +484 -0
  28. package/include/harfbuzz/hb-subset.h +22 -2
  29. package/include/harfbuzz/hb-version.h +3 -3
  30. package/include/libheif/heif.h +2 -0
  31. package/include/libheif/heif_version.h +2 -2
  32. package/include/libpng16/png.h +10 -10
  33. package/include/libpng16/pngconf.h +20 -27
  34. package/include/libpng16/pnglibconf.h +1 -1
  35. package/include/libxml2/libxml/HTMLparser.h +2 -2
  36. package/include/libxml2/libxml/parser.h +2 -0
  37. package/include/libxml2/libxml/xmlIO.h +2 -2
  38. package/include/libxml2/libxml/xmlerror.h +1 -1
  39. package/include/libxml2/libxml/xmlversion.h +4 -4
  40. package/include/pixman-1/pixman-version.h +2 -2
  41. package/include/pixman-1/pixman.h +200 -0
  42. package/include/png.h +10 -10
  43. package/include/pngconf.h +20 -27
  44. package/include/pnglibconf.h +1 -1
  45. package/include/vips/VImage8.h +62 -14
  46. package/include/vips/arithmetic.h +34 -34
  47. package/include/vips/basic.h +16 -0
  48. package/include/vips/buf.h +0 -5
  49. package/include/vips/colour.h +6 -7
  50. package/include/vips/connection.h +25 -37
  51. package/include/vips/enumtypes.h +11 -2
  52. package/include/vips/foreign.h +73 -43
  53. package/include/vips/format.h +7 -5
  54. package/include/vips/gate.h +0 -11
  55. package/include/vips/header.h +11 -11
  56. package/include/vips/image.h +8 -3
  57. package/include/vips/interpolate.h +0 -2
  58. package/include/vips/memory.h +4 -0
  59. package/include/vips/mosaicing.h +4 -0
  60. package/include/vips/object.h +14 -18
  61. package/include/vips/operation.h +0 -2
  62. package/include/vips/private.h +50 -2
  63. package/include/vips/region.h +1 -3
  64. package/include/vips/resample.h +2 -0
  65. package/include/vips/semaphore.h +8 -3
  66. package/include/vips/thread.h +1 -24
  67. package/include/vips/threadpool.h +0 -6
  68. package/include/vips/type.h +13 -9
  69. package/include/vips/util.h +17 -98
  70. package/include/vips/vector.h +0 -4
  71. package/include/vips/version.h +8 -8
  72. package/include/vips/vips.h +1 -0
  73. package/package.json +1 -1
  74. package/versions.json +11 -11
  75. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-animation.h +0 -221
  76. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-autocleanups.h +0 -37
  77. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h +0 -525
  78. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-enum-types.h +0 -40
  79. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-features.h +0 -115
  80. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-io.h +0 -481
  81. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-loader.h +0 -113
  82. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-macros.h +0 -718
  83. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-marshal.h +0 -33
  84. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-simple-anim.h +0 -70
  85. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-transform.h +0 -168
  86. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h +0 -46
  87. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixdata.h +0 -165
  88. package/include/harfbuzz/hb-subset-repacker.h +0 -81
  89. package/include/hwy/ops/tuple-inl.h +0 -125
  90. package/include/orc-0.4/orc/orc-stdint.h +0 -1
  91. package/include/orc-0.4/orc/orc.h +0 -16
  92. package/include/orc-0.4/orc/orcarm.h +0 -879
  93. package/include/orc-0.4/orc/orcbytecode.h +0 -35
  94. package/include/orc-0.4/orc/orcbytecodes.h +0 -255
  95. package/include/orc-0.4/orc/orccode.h +0 -53
  96. package/include/orc-0.4/orc/orccompiler.h +0 -176
  97. package/include/orc-0.4/orc/orcconstant.h +0 -39
  98. package/include/orc-0.4/orc/orccpu.h +0 -21
  99. package/include/orc-0.4/orc/orccpuinsn.h +0 -40
  100. package/include/orc-0.4/orc/orcdebug.h +0 -158
  101. package/include/orc-0.4/orc/orcemulateopcodes.h +0 -203
  102. package/include/orc-0.4/orc/orcexecutor.h +0 -135
  103. package/include/orc-0.4/orc/orcfunctions.h +0 -93
  104. package/include/orc-0.4/orc/orcinstruction.h +0 -39
  105. package/include/orc-0.4/orc/orcinternal.h +0 -46
  106. package/include/orc-0.4/orc/orclimits.h +0 -94
  107. package/include/orc-0.4/orc/orcmips.h +0 -229
  108. package/include/orc-0.4/orc/orcmmx.h +0 -79
  109. package/include/orc-0.4/orc/orcneon.h +0 -43
  110. package/include/orc-0.4/orc/orconce.h +0 -166
  111. package/include/orc-0.4/orc/orcopcode.h +0 -63
  112. package/include/orc-0.4/orc/orcparse.h +0 -27
  113. package/include/orc-0.4/orc/orcpowerpc.h +0 -209
  114. package/include/orc-0.4/orc/orcprogram.h +0 -192
  115. package/include/orc-0.4/orc/orcrule.h +0 -52
  116. package/include/orc-0.4/orc/orcsse.h +0 -55
  117. package/include/orc-0.4/orc/orctarget.h +0 -115
  118. package/include/orc-0.4/orc/orcutils.h +0 -238
  119. package/include/orc-0.4/orc/orcvariable.h +0 -81
  120. package/include/orc-0.4/orc/orcx86.h +0 -199
  121. 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 the
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 source
115
- * should return %TRUE if it is ready to be dispatched. Note that some
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, the source
131
- * will have been destroyed, had its callback cleared, and have been removed
132
- * from its [struct@GLib.MainContext], but it will still have its final
133
- * reference count, so methods can be called on it from within this
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](glib-running.html)):
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
- #if defined(G_PLATFORM_WIN32) || defined(__GI_SCANNER__)
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
- #if defined(G_OS_WIN32) || defined(__GI_SCANNER__)
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 || __GI_SCANNER__ */
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
- #endif /* G_PLATFORM_WIN32 || __GI_SCANNER__ */
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