@img/sharp-libvips-dev 1.1.0 → 1.2.0-rc.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/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 +34 -0
- 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/gmodule/gmodule-visibility.h +34 -0
- package/include/glib-2.0/gobject/gobject-visibility.h +34 -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/glib-2.0/glib/gwin32.h +0 -142
- 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
|
@@ -2316,6 +2316,19 @@ VImage::matrixload_source(VSource source, VOption *options)
|
|
|
2316
2316
|
return out;
|
|
2317
2317
|
}
|
|
2318
2318
|
|
|
2319
|
+
VImage
|
|
2320
|
+
VImage::matrixmultiply(VImage right, VOption *options) const
|
|
2321
|
+
{
|
|
2322
|
+
VImage out;
|
|
2323
|
+
|
|
2324
|
+
call("matrixmultiply", (options ? options : VImage::option())
|
|
2325
|
+
->set("left", *this)
|
|
2326
|
+
->set("out", &out)
|
|
2327
|
+
->set("right", right));
|
|
2328
|
+
|
|
2329
|
+
return out;
|
|
2330
|
+
}
|
|
2331
|
+
|
|
2319
2332
|
void
|
|
2320
2333
|
VImage::matrixprint(VOption *options) const
|
|
2321
2334
|
{
|
|
@@ -2717,6 +2730,18 @@ VImage::ppmload(const char *filename, VOption *options)
|
|
|
2717
2730
|
return out;
|
|
2718
2731
|
}
|
|
2719
2732
|
|
|
2733
|
+
VImage
|
|
2734
|
+
VImage::ppmload_buffer(VipsBlob *buffer, VOption *options)
|
|
2735
|
+
{
|
|
2736
|
+
VImage out;
|
|
2737
|
+
|
|
2738
|
+
call("ppmload_buffer", (options ? options : VImage::option())
|
|
2739
|
+
->set("out", &out)
|
|
2740
|
+
->set("buffer", buffer));
|
|
2741
|
+
|
|
2742
|
+
return out;
|
|
2743
|
+
}
|
|
2744
|
+
|
|
2720
2745
|
VImage
|
|
2721
2746
|
VImage::ppmload_source(VSource source, VOption *options)
|
|
2722
2747
|
{
|
|
@@ -3061,6 +3086,20 @@ VImage::remainder_const(std::vector<double> c, VOption *options) const
|
|
|
3061
3086
|
return out;
|
|
3062
3087
|
}
|
|
3063
3088
|
|
|
3089
|
+
VImage
|
|
3090
|
+
VImage::remosaic(const char *old_str, const char *new_str, VOption *options) const
|
|
3091
|
+
{
|
|
3092
|
+
VImage out;
|
|
3093
|
+
|
|
3094
|
+
call("remosaic", (options ? options : VImage::option())
|
|
3095
|
+
->set("in", *this)
|
|
3096
|
+
->set("out", &out)
|
|
3097
|
+
->set("old_str", old_str)
|
|
3098
|
+
->set("new_str", new_str));
|
|
3099
|
+
|
|
3100
|
+
return out;
|
|
3101
|
+
}
|
|
3102
|
+
|
|
3064
3103
|
VImage
|
|
3065
3104
|
VImage::replicate(int across, int down, VOption *options) const
|
|
3066
3105
|
{
|
package/include/archive.h
CHANGED
|
@@ -34,12 +34,15 @@
|
|
|
34
34
|
* assert that ARCHIVE_VERSION_NUMBER >= 2012108.
|
|
35
35
|
*/
|
|
36
36
|
/* Note: Compiler will complain if this does not match archive_entry.h! */
|
|
37
|
-
#define ARCHIVE_VERSION_NUMBER
|
|
37
|
+
#define ARCHIVE_VERSION_NUMBER 3008001
|
|
38
38
|
|
|
39
39
|
#include <sys/stat.h>
|
|
40
40
|
#include <stddef.h> /* for wchar_t */
|
|
41
41
|
#include <stdio.h> /* For FILE * */
|
|
42
|
+
#if ARCHIVE_VERSION_NUMBER < 4000000
|
|
43
|
+
/* time_t is slated to be removed from public includes in 4.0 */
|
|
42
44
|
#include <time.h> /* For time_t */
|
|
45
|
+
#endif
|
|
43
46
|
|
|
44
47
|
/*
|
|
45
48
|
* Note: archive.h is for use outside of libarchive; the configuration
|
|
@@ -63,12 +66,15 @@
|
|
|
63
66
|
#define __LA_INT64_T_DEFINED
|
|
64
67
|
# if defined(_WIN32) && !defined(__CYGWIN__) && !defined(__WATCOMC__)
|
|
65
68
|
typedef __int64 la_int64_t;
|
|
69
|
+
typedef unsigned __int64 la_uint64_t;
|
|
66
70
|
# else
|
|
67
71
|
# include <unistd.h> /* ssize_t */
|
|
68
72
|
# if defined(_SCO_DS) || defined(__osf__)
|
|
69
73
|
typedef long long la_int64_t;
|
|
74
|
+
typedef unsigned long long la_uint64_t;
|
|
70
75
|
# else
|
|
71
76
|
typedef int64_t la_int64_t;
|
|
77
|
+
typedef uint64_t la_uint64_t;
|
|
72
78
|
# endif
|
|
73
79
|
# endif
|
|
74
80
|
#endif
|
|
@@ -94,6 +100,22 @@ typedef ssize_t la_ssize_t;
|
|
|
94
100
|
# endif
|
|
95
101
|
#endif
|
|
96
102
|
|
|
103
|
+
#if ARCHIVE_VERSION_NUMBER < 4000000
|
|
104
|
+
/* Use the platform types for time_t */
|
|
105
|
+
#define __LA_TIME_T time_t
|
|
106
|
+
#else
|
|
107
|
+
/* Use 64-bits integer types for time_t */
|
|
108
|
+
#define __LA_TIME_T la_int64_t
|
|
109
|
+
#endif
|
|
110
|
+
|
|
111
|
+
#if ARCHIVE_VERSION_NUMBER < 4000000
|
|
112
|
+
/* Use the platform types for dev_t */
|
|
113
|
+
#define __LA_DEV_T dev_t
|
|
114
|
+
#else
|
|
115
|
+
/* Use 64-bits integer types for dev_t */
|
|
116
|
+
#define __LA_DEV_T la_int64_t
|
|
117
|
+
#endif
|
|
118
|
+
|
|
97
119
|
/* Large file support for Android */
|
|
98
120
|
#if defined(__LIBARCHIVE_BUILD) && defined(__ANDROID__)
|
|
99
121
|
#include "android_lf.h"
|
|
@@ -155,7 +177,7 @@ __LA_DECL int archive_version_number(void);
|
|
|
155
177
|
/*
|
|
156
178
|
* Textual name/version of the library, useful for version displays.
|
|
157
179
|
*/
|
|
158
|
-
#define ARCHIVE_VERSION_ONLY_STRING "3.
|
|
180
|
+
#define ARCHIVE_VERSION_ONLY_STRING "3.8.1"
|
|
159
181
|
#define ARCHIVE_VERSION_STRING "libarchive " ARCHIVE_VERSION_ONLY_STRING
|
|
160
182
|
__LA_DECL const char * archive_version_string(void);
|
|
161
183
|
|
|
@@ -178,6 +200,23 @@ __LA_DECL const char * archive_liblzma_version(void);
|
|
|
178
200
|
__LA_DECL const char * archive_bzlib_version(void);
|
|
179
201
|
__LA_DECL const char * archive_liblz4_version(void);
|
|
180
202
|
__LA_DECL const char * archive_libzstd_version(void);
|
|
203
|
+
__LA_DECL const char * archive_liblzo2_version(void);
|
|
204
|
+
__LA_DECL const char * archive_libexpat_version(void);
|
|
205
|
+
__LA_DECL const char * archive_libbsdxml_version(void);
|
|
206
|
+
__LA_DECL const char * archive_libxml2_version(void);
|
|
207
|
+
__LA_DECL const char * archive_mbedtls_version(void);
|
|
208
|
+
__LA_DECL const char * archive_nettle_version(void);
|
|
209
|
+
__LA_DECL const char * archive_openssl_version(void);
|
|
210
|
+
__LA_DECL const char * archive_libmd_version(void);
|
|
211
|
+
__LA_DECL const char * archive_commoncrypto_version(void);
|
|
212
|
+
__LA_DECL const char * archive_cng_version(void);
|
|
213
|
+
__LA_DECL const char * archive_wincrypt_version(void);
|
|
214
|
+
__LA_DECL const char * archive_librichacl_version(void);
|
|
215
|
+
__LA_DECL const char * archive_libacl_version(void);
|
|
216
|
+
__LA_DECL const char * archive_libattr_version(void);
|
|
217
|
+
__LA_DECL const char * archive_libiconv_version(void);
|
|
218
|
+
__LA_DECL const char * archive_libpcre_version(void);
|
|
219
|
+
__LA_DECL const char * archive_libpcre2_version(void);
|
|
181
220
|
|
|
182
221
|
/* Declare our basic types. */
|
|
183
222
|
struct archive;
|
|
@@ -449,6 +488,8 @@ __LA_DECL int archive_read_support_format_by_code(struct archive *, int);
|
|
|
449
488
|
__LA_DECL int archive_read_support_format_cab(struct archive *);
|
|
450
489
|
__LA_DECL int archive_read_support_format_cpio(struct archive *);
|
|
451
490
|
__LA_DECL int archive_read_support_format_empty(struct archive *);
|
|
491
|
+
/* archive_read_support_format_gnutar() is an alias for historical reasons
|
|
492
|
+
* of archive_read_support_format_tar(). */
|
|
452
493
|
__LA_DECL int archive_read_support_format_gnutar(struct archive *);
|
|
453
494
|
__LA_DECL int archive_read_support_format_iso9660(struct archive *);
|
|
454
495
|
__LA_DECL int archive_read_support_format_lha(struct archive *);
|
|
@@ -828,6 +869,10 @@ __LA_DECL int archive_write_set_format_filter_by_ext(struct archive *a, const ch
|
|
|
828
869
|
__LA_DECL int archive_write_set_format_filter_by_ext_def(struct archive *a, const char *filename, const char * def_ext);
|
|
829
870
|
__LA_DECL int archive_write_zip_set_compression_deflate(struct archive *);
|
|
830
871
|
__LA_DECL int archive_write_zip_set_compression_store(struct archive *);
|
|
872
|
+
__LA_DECL int archive_write_zip_set_compression_lzma(struct archive *);
|
|
873
|
+
__LA_DECL int archive_write_zip_set_compression_xz(struct archive *);
|
|
874
|
+
__LA_DECL int archive_write_zip_set_compression_bzip2(struct archive *);
|
|
875
|
+
__LA_DECL int archive_write_zip_set_compression_zstd(struct archive *);
|
|
831
876
|
/* Deprecated; use archive_write_open2 instead */
|
|
832
877
|
__LA_DECL int archive_write_open(struct archive *, void *,
|
|
833
878
|
archive_open_callback *, archive_write_callback *,
|
|
@@ -1083,6 +1128,10 @@ __LA_DECL int archive_compression(struct archive *)
|
|
|
1083
1128
|
__LA_DEPRECATED;
|
|
1084
1129
|
#endif
|
|
1085
1130
|
|
|
1131
|
+
/* Parses a date string relative to the current time.
|
|
1132
|
+
* NOTE: This is not intended for general date parsing, and the resulting timestamp should only be used for libarchive. */
|
|
1133
|
+
__LA_DECL time_t archive_parse_date(time_t now, const char *datestr);
|
|
1134
|
+
|
|
1086
1135
|
__LA_DECL int archive_errno(struct archive *);
|
|
1087
1136
|
__LA_DECL const char *archive_error_string(struct archive *);
|
|
1088
1137
|
__LA_DECL const char *archive_format_name(struct archive *);
|
|
@@ -1201,8 +1250,10 @@ __LA_DECL int archive_match_include_gname_w(struct archive *,
|
|
|
1201
1250
|
const wchar_t *);
|
|
1202
1251
|
|
|
1203
1252
|
/* Utility functions */
|
|
1253
|
+
#if ARCHIVE_VERSION_NUMBER < 4000000
|
|
1204
1254
|
/* Convenience function to sort a NULL terminated list of strings */
|
|
1205
1255
|
__LA_DECL int archive_utility_string_sort(char **);
|
|
1256
|
+
#endif
|
|
1206
1257
|
|
|
1207
1258
|
#ifdef __cplusplus
|
|
1208
1259
|
}
|
package/include/archive_entry.h
CHANGED
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
#define ARCHIVE_ENTRY_H_INCLUDED
|
|
29
29
|
|
|
30
30
|
/* Note: Compiler will complain if this does not match archive.h! */
|
|
31
|
-
#define ARCHIVE_VERSION_NUMBER
|
|
31
|
+
#define ARCHIVE_VERSION_NUMBER 3008001
|
|
32
32
|
|
|
33
33
|
/*
|
|
34
34
|
* Note: archive_entry.h is for use outside of libarchive; the
|
|
@@ -40,8 +40,11 @@
|
|
|
40
40
|
|
|
41
41
|
#include <sys/types.h>
|
|
42
42
|
#include <stddef.h> /* for wchar_t */
|
|
43
|
-
#include <stdint.h>
|
|
43
|
+
#include <stdint.h> /* for C99 int64_t, etc. */
|
|
44
|
+
#if ARCHIVE_VERSION_NUMBER < 4000000
|
|
45
|
+
/* time_t is slated to be removed from public includes in 4.0 */
|
|
44
46
|
#include <time.h>
|
|
47
|
+
#endif
|
|
45
48
|
|
|
46
49
|
#if defined(_WIN32) && !defined(__CYGWIN__)
|
|
47
50
|
#include <windows.h>
|
|
@@ -55,12 +58,15 @@
|
|
|
55
58
|
#define __LA_INT64_T_DEFINED
|
|
56
59
|
# if defined(_WIN32) && !defined(__CYGWIN__) && !defined(__WATCOMC__)
|
|
57
60
|
typedef __int64 la_int64_t;
|
|
61
|
+
typedef unsigned __int64 la_uint64_t;
|
|
58
62
|
# else
|
|
59
63
|
#include <unistd.h>
|
|
60
64
|
# if defined(_SCO_DS) || defined(__osf__)
|
|
61
65
|
typedef long long la_int64_t;
|
|
66
|
+
typedef unsigned long long la_uint64_t;
|
|
62
67
|
# else
|
|
63
68
|
typedef int64_t la_int64_t;
|
|
69
|
+
typedef uint64_t la_uint64_t;
|
|
64
70
|
# endif
|
|
65
71
|
# endif
|
|
66
72
|
#endif
|
|
@@ -96,6 +102,30 @@ typedef ssize_t la_ssize_t;
|
|
|
96
102
|
# define __LA_MODE_T mode_t
|
|
97
103
|
#endif
|
|
98
104
|
|
|
105
|
+
#if ARCHIVE_VERSION_NUMBER < 4000000
|
|
106
|
+
/* Use the platform types for time_t */
|
|
107
|
+
#define __LA_TIME_T time_t
|
|
108
|
+
#else
|
|
109
|
+
/* Use 64-bits integer types for time_t */
|
|
110
|
+
#define __LA_TIME_T la_int64_t
|
|
111
|
+
#endif
|
|
112
|
+
|
|
113
|
+
#if ARCHIVE_VERSION_NUMBER < 4000000
|
|
114
|
+
/* Use the platform types for dev_t */
|
|
115
|
+
#define __LA_DEV_T dev_t
|
|
116
|
+
#else
|
|
117
|
+
/* Use 64-bits integer types for dev_t */
|
|
118
|
+
#define __LA_DEV_T la_int64_t
|
|
119
|
+
#endif
|
|
120
|
+
|
|
121
|
+
#if ARCHIVE_VERSION_NUMBER < 4000000
|
|
122
|
+
/* Libarchive 3.x used signed int64 for inode numbers */
|
|
123
|
+
#define __LA_INO_T la_int64_t
|
|
124
|
+
#else
|
|
125
|
+
/* Switch to unsigned for libarchive 4.0 */
|
|
126
|
+
#define __LA_INO_T la_uint64_t
|
|
127
|
+
#endif
|
|
128
|
+
|
|
99
129
|
/* Large file support for Android */
|
|
100
130
|
#if defined(__LIBARCHIVE_BUILD) && defined(__ANDROID__)
|
|
101
131
|
#include "android_lf.h"
|
|
@@ -236,19 +266,19 @@ __LA_DECL struct archive_entry *archive_entry_new2(struct archive *);
|
|
|
236
266
|
* also return NULL when implicit character set conversions fail.
|
|
237
267
|
* This is usually what you want.
|
|
238
268
|
*/
|
|
239
|
-
__LA_DECL
|
|
269
|
+
__LA_DECL __LA_TIME_T archive_entry_atime(struct archive_entry *);
|
|
240
270
|
__LA_DECL long archive_entry_atime_nsec(struct archive_entry *);
|
|
241
271
|
__LA_DECL int archive_entry_atime_is_set(struct archive_entry *);
|
|
242
|
-
__LA_DECL
|
|
272
|
+
__LA_DECL __LA_TIME_T archive_entry_birthtime(struct archive_entry *);
|
|
243
273
|
__LA_DECL long archive_entry_birthtime_nsec(struct archive_entry *);
|
|
244
274
|
__LA_DECL int archive_entry_birthtime_is_set(struct archive_entry *);
|
|
245
|
-
__LA_DECL
|
|
275
|
+
__LA_DECL __LA_TIME_T archive_entry_ctime(struct archive_entry *);
|
|
246
276
|
__LA_DECL long archive_entry_ctime_nsec(struct archive_entry *);
|
|
247
277
|
__LA_DECL int archive_entry_ctime_is_set(struct archive_entry *);
|
|
248
|
-
__LA_DECL
|
|
278
|
+
__LA_DECL __LA_DEV_T archive_entry_dev(struct archive_entry *);
|
|
249
279
|
__LA_DECL int archive_entry_dev_is_set(struct archive_entry *);
|
|
250
|
-
__LA_DECL
|
|
251
|
-
__LA_DECL
|
|
280
|
+
__LA_DECL __LA_DEV_T archive_entry_devmajor(struct archive_entry *);
|
|
281
|
+
__LA_DECL __LA_DEV_T archive_entry_devminor(struct archive_entry *);
|
|
252
282
|
__LA_DECL __LA_MODE_T archive_entry_filetype(struct archive_entry *);
|
|
253
283
|
__LA_DECL int archive_entry_filetype_is_set(struct archive_entry *);
|
|
254
284
|
__LA_DECL void archive_entry_fflags(struct archive_entry *,
|
|
@@ -265,8 +295,8 @@ __LA_DECL const char *archive_entry_hardlink(struct archive_entry *);
|
|
|
265
295
|
__LA_DECL const char *archive_entry_hardlink_utf8(struct archive_entry *);
|
|
266
296
|
__LA_DECL const wchar_t *archive_entry_hardlink_w(struct archive_entry *);
|
|
267
297
|
__LA_DECL int archive_entry_hardlink_is_set(struct archive_entry *);
|
|
268
|
-
__LA_DECL
|
|
269
|
-
__LA_DECL
|
|
298
|
+
__LA_DECL __LA_INO_T archive_entry_ino(struct archive_entry *);
|
|
299
|
+
__LA_DECL __LA_INO_T archive_entry_ino64(struct archive_entry *);
|
|
270
300
|
__LA_DECL int archive_entry_ino_is_set(struct archive_entry *);
|
|
271
301
|
__LA_DECL __LA_MODE_T archive_entry_mode(struct archive_entry *);
|
|
272
302
|
__LA_DECL time_t archive_entry_mtime(struct archive_entry *);
|
|
@@ -279,9 +309,9 @@ __LA_DECL const wchar_t *archive_entry_pathname_w(struct archive_entry *);
|
|
|
279
309
|
__LA_DECL __LA_MODE_T archive_entry_perm(struct archive_entry *);
|
|
280
310
|
__LA_DECL int archive_entry_perm_is_set(struct archive_entry *);
|
|
281
311
|
__LA_DECL int archive_entry_rdev_is_set(struct archive_entry *);
|
|
282
|
-
__LA_DECL
|
|
283
|
-
__LA_DECL
|
|
284
|
-
__LA_DECL
|
|
312
|
+
__LA_DECL __LA_DEV_T archive_entry_rdev(struct archive_entry *);
|
|
313
|
+
__LA_DECL __LA_DEV_T archive_entry_rdevmajor(struct archive_entry *);
|
|
314
|
+
__LA_DECL __LA_DEV_T archive_entry_rdevminor(struct archive_entry *);
|
|
285
315
|
__LA_DECL const char *archive_entry_sourcepath(struct archive_entry *);
|
|
286
316
|
__LA_DECL const wchar_t *archive_entry_sourcepath_w(struct archive_entry *);
|
|
287
317
|
__LA_DECL la_int64_t archive_entry_size(struct archive_entry *);
|
|
@@ -310,18 +340,18 @@ __LA_DECL int archive_entry_is_encrypted(struct archive_entry *);
|
|
|
310
340
|
* always copied.
|
|
311
341
|
*/
|
|
312
342
|
|
|
313
|
-
__LA_DECL void archive_entry_set_atime(struct archive_entry *,
|
|
343
|
+
__LA_DECL void archive_entry_set_atime(struct archive_entry *, __LA_TIME_T, long);
|
|
314
344
|
__LA_DECL void archive_entry_unset_atime(struct archive_entry *);
|
|
315
345
|
#if defined(_WIN32) && !defined(__CYGWIN__)
|
|
316
346
|
__LA_DECL void archive_entry_copy_bhfi(struct archive_entry *, BY_HANDLE_FILE_INFORMATION *);
|
|
317
347
|
#endif
|
|
318
|
-
__LA_DECL void archive_entry_set_birthtime(struct archive_entry *,
|
|
348
|
+
__LA_DECL void archive_entry_set_birthtime(struct archive_entry *, __LA_TIME_T, long);
|
|
319
349
|
__LA_DECL void archive_entry_unset_birthtime(struct archive_entry *);
|
|
320
|
-
__LA_DECL void archive_entry_set_ctime(struct archive_entry *,
|
|
350
|
+
__LA_DECL void archive_entry_set_ctime(struct archive_entry *, __LA_TIME_T, long);
|
|
321
351
|
__LA_DECL void archive_entry_unset_ctime(struct archive_entry *);
|
|
322
|
-
__LA_DECL void archive_entry_set_dev(struct archive_entry *,
|
|
323
|
-
__LA_DECL void archive_entry_set_devmajor(struct archive_entry *,
|
|
324
|
-
__LA_DECL void archive_entry_set_devminor(struct archive_entry *,
|
|
352
|
+
__LA_DECL void archive_entry_set_dev(struct archive_entry *, __LA_DEV_T);
|
|
353
|
+
__LA_DECL void archive_entry_set_devmajor(struct archive_entry *, __LA_DEV_T);
|
|
354
|
+
__LA_DECL void archive_entry_set_devminor(struct archive_entry *, __LA_DEV_T);
|
|
325
355
|
__LA_DECL void archive_entry_set_filetype(struct archive_entry *, unsigned int);
|
|
326
356
|
__LA_DECL void archive_entry_set_fflags(struct archive_entry *,
|
|
327
357
|
unsigned long /* set */, unsigned long /* clear */);
|
|
@@ -344,15 +374,15 @@ __LA_DECL void archive_entry_set_hardlink_utf8(struct archive_entry *, const cha
|
|
|
344
374
|
__LA_DECL void archive_entry_copy_hardlink(struct archive_entry *, const char *);
|
|
345
375
|
__LA_DECL void archive_entry_copy_hardlink_w(struct archive_entry *, const wchar_t *);
|
|
346
376
|
__LA_DECL int archive_entry_update_hardlink_utf8(struct archive_entry *, const char *);
|
|
347
|
-
__LA_DECL void archive_entry_set_ino(struct archive_entry *,
|
|
348
|
-
__LA_DECL void archive_entry_set_ino64(struct archive_entry *,
|
|
377
|
+
__LA_DECL void archive_entry_set_ino(struct archive_entry *, __LA_INO_T);
|
|
378
|
+
__LA_DECL void archive_entry_set_ino64(struct archive_entry *, __LA_INO_T);
|
|
349
379
|
__LA_DECL void archive_entry_set_link(struct archive_entry *, const char *);
|
|
350
380
|
__LA_DECL void archive_entry_set_link_utf8(struct archive_entry *, const char *);
|
|
351
381
|
__LA_DECL void archive_entry_copy_link(struct archive_entry *, const char *);
|
|
352
382
|
__LA_DECL void archive_entry_copy_link_w(struct archive_entry *, const wchar_t *);
|
|
353
383
|
__LA_DECL int archive_entry_update_link_utf8(struct archive_entry *, const char *);
|
|
354
384
|
__LA_DECL void archive_entry_set_mode(struct archive_entry *, __LA_MODE_T);
|
|
355
|
-
__LA_DECL void archive_entry_set_mtime(struct archive_entry *,
|
|
385
|
+
__LA_DECL void archive_entry_set_mtime(struct archive_entry *, __LA_TIME_T, long);
|
|
356
386
|
__LA_DECL void archive_entry_unset_mtime(struct archive_entry *);
|
|
357
387
|
__LA_DECL void archive_entry_set_nlink(struct archive_entry *, unsigned int);
|
|
358
388
|
__LA_DECL void archive_entry_set_pathname(struct archive_entry *, const char *);
|
|
@@ -361,9 +391,9 @@ __LA_DECL void archive_entry_copy_pathname(struct archive_entry *, const char *)
|
|
|
361
391
|
__LA_DECL void archive_entry_copy_pathname_w(struct archive_entry *, const wchar_t *);
|
|
362
392
|
__LA_DECL int archive_entry_update_pathname_utf8(struct archive_entry *, const char *);
|
|
363
393
|
__LA_DECL void archive_entry_set_perm(struct archive_entry *, __LA_MODE_T);
|
|
364
|
-
__LA_DECL void archive_entry_set_rdev(struct archive_entry *,
|
|
365
|
-
__LA_DECL void archive_entry_set_rdevmajor(struct archive_entry *,
|
|
366
|
-
__LA_DECL void archive_entry_set_rdevminor(struct archive_entry *,
|
|
394
|
+
__LA_DECL void archive_entry_set_rdev(struct archive_entry *, __LA_DEV_T);
|
|
395
|
+
__LA_DECL void archive_entry_set_rdevmajor(struct archive_entry *, __LA_DEV_T);
|
|
396
|
+
__LA_DECL void archive_entry_set_rdevminor(struct archive_entry *, __LA_DEV_T);
|
|
367
397
|
__LA_DECL void archive_entry_set_size(struct archive_entry *, la_int64_t);
|
|
368
398
|
__LA_DECL void archive_entry_unset_size(struct archive_entry *);
|
|
369
399
|
__LA_DECL void archive_entry_copy_sourcepath(struct archive_entry *, const char *);
|
|
@@ -419,6 +449,7 @@ __LA_DECL void archive_entry_copy_mac_metadata(struct archive_entry *, const voi
|
|
|
419
449
|
#define ARCHIVE_ENTRY_DIGEST_SHA512 0x00000006
|
|
420
450
|
|
|
421
451
|
__LA_DECL const unsigned char * archive_entry_digest(struct archive_entry *, int /* type */);
|
|
452
|
+
__LA_DECL int archive_entry_set_digest(struct archive_entry *, int, const unsigned char *);
|
|
422
453
|
|
|
423
454
|
/*
|
|
424
455
|
* ACL routines. This used to simply store and return text-format ACL
|
package/include/ffi.h
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* -----------------------------------------------------------------*-C-*-
|
|
2
|
-
libffi 3.
|
|
3
|
-
- Copyright (c) 2011, 2014, 2019, 2021, 2022, 2024 Anthony Green
|
|
2
|
+
libffi 3.5.1
|
|
3
|
+
- Copyright (c) 2011, 2014, 2019, 2021, 2022, 2024, 2025 Anthony Green
|
|
4
4
|
- Copyright (c) 1996-2003, 2007, 2008 Red Hat, Inc.
|
|
5
5
|
|
|
6
6
|
Permission is hereby granted, free of charge, to any person
|
|
@@ -314,6 +314,24 @@ void ffi_java_raw_to_ptrarray (ffi_cif *cif, ffi_java_raw *raw, void **args) __a
|
|
|
314
314
|
FFI_API
|
|
315
315
|
size_t ffi_java_raw_size (ffi_cif *cif) __attribute__((deprecated));
|
|
316
316
|
|
|
317
|
+
/* ---- Version API ------------------------------------------------------ */
|
|
318
|
+
|
|
319
|
+
#define FFI_VERSION_STRING "3.5.1"
|
|
320
|
+
#define FFI_VERSION_NUMBER 30501
|
|
321
|
+
|
|
322
|
+
#ifndef LIBFFI_ASM
|
|
323
|
+
/* Return a version string. */
|
|
324
|
+
FFI_API const char *ffi_get_version (void);
|
|
325
|
+
|
|
326
|
+
/* Return the version as an unsigned long value: (x * 10000 + y * 100 + z) */
|
|
327
|
+
FFI_API unsigned long ffi_get_version_number (void);
|
|
328
|
+
#endif
|
|
329
|
+
|
|
330
|
+
/* ---- Internals API ---------------------------------------------------- */
|
|
331
|
+
|
|
332
|
+
FFI_API unsigned int ffi_get_default_abi (void);
|
|
333
|
+
FFI_API size_t ffi_get_closure_size (void);
|
|
334
|
+
|
|
317
335
|
/* ---- Definitions for closures ----------------------------------------- */
|
|
318
336
|
|
|
319
337
|
#if FFI_CLOSURES
|
|
@@ -1052,3 +1052,37 @@
|
|
|
1052
1052
|
#define GIO_AVAILABLE_ENUMERATOR_IN_2_84
|
|
1053
1053
|
#define GIO_AVAILABLE_TYPE_IN_2_84
|
|
1054
1054
|
#endif
|
|
1055
|
+
|
|
1056
|
+
#if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_86
|
|
1057
|
+
#define GIO_DEPRECATED_IN_2_86 GIO_DEPRECATED
|
|
1058
|
+
#define GIO_DEPRECATED_IN_2_86_FOR(f) GIO_DEPRECATED_FOR (f)
|
|
1059
|
+
#define GIO_DEPRECATED_MACRO_IN_2_86 GLIB_DEPRECATED_MACRO
|
|
1060
|
+
#define GIO_DEPRECATED_MACRO_IN_2_86_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f)
|
|
1061
|
+
#define GIO_DEPRECATED_ENUMERATOR_IN_2_86 GLIB_DEPRECATED_ENUMERATOR
|
|
1062
|
+
#define GIO_DEPRECATED_ENUMERATOR_IN_2_86_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f)
|
|
1063
|
+
#define GIO_DEPRECATED_TYPE_IN_2_86 GLIB_DEPRECATED_TYPE
|
|
1064
|
+
#define GIO_DEPRECATED_TYPE_IN_2_86_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f)
|
|
1065
|
+
#else
|
|
1066
|
+
#define GIO_DEPRECATED_IN_2_86 _GIO_EXTERN
|
|
1067
|
+
#define GIO_DEPRECATED_IN_2_86_FOR(f) _GIO_EXTERN
|
|
1068
|
+
#define GIO_DEPRECATED_MACRO_IN_2_86
|
|
1069
|
+
#define GIO_DEPRECATED_MACRO_IN_2_86_FOR(f)
|
|
1070
|
+
#define GIO_DEPRECATED_ENUMERATOR_IN_2_86
|
|
1071
|
+
#define GIO_DEPRECATED_ENUMERATOR_IN_2_86_FOR(f)
|
|
1072
|
+
#define GIO_DEPRECATED_TYPE_IN_2_86
|
|
1073
|
+
#define GIO_DEPRECATED_TYPE_IN_2_86_FOR(f)
|
|
1074
|
+
#endif
|
|
1075
|
+
|
|
1076
|
+
#if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_86
|
|
1077
|
+
#define GIO_AVAILABLE_IN_2_86 GIO_UNAVAILABLE (2, 86)
|
|
1078
|
+
#define GIO_AVAILABLE_STATIC_INLINE_IN_2_86 GLIB_UNAVAILABLE_STATIC_INLINE (2, 86)
|
|
1079
|
+
#define GIO_AVAILABLE_MACRO_IN_2_86 GLIB_UNAVAILABLE_MACRO (2, 86)
|
|
1080
|
+
#define GIO_AVAILABLE_ENUMERATOR_IN_2_86 GLIB_UNAVAILABLE_ENUMERATOR (2, 86)
|
|
1081
|
+
#define GIO_AVAILABLE_TYPE_IN_2_86 GLIB_UNAVAILABLE_TYPE (2, 86)
|
|
1082
|
+
#else
|
|
1083
|
+
#define GIO_AVAILABLE_IN_2_86 _GIO_EXTERN
|
|
1084
|
+
#define GIO_AVAILABLE_STATIC_INLINE_IN_2_86
|
|
1085
|
+
#define GIO_AVAILABLE_MACRO_IN_2_86
|
|
1086
|
+
#define GIO_AVAILABLE_ENUMERATOR_IN_2_86
|
|
1087
|
+
#define GIO_AVAILABLE_TYPE_IN_2_86
|
|
1088
|
+
#endif
|
|
@@ -59,6 +59,12 @@ GIO_AVAILABLE_IN_ALL
|
|
|
59
59
|
void g_zlib_compressor_set_file_info (GZlibCompressor *compressor,
|
|
60
60
|
GFileInfo *file_info);
|
|
61
61
|
|
|
62
|
+
GIO_AVAILABLE_IN_2_86
|
|
63
|
+
int g_zlib_compressor_get_os (GZlibCompressor *compressor);
|
|
64
|
+
GIO_AVAILABLE_IN_2_86
|
|
65
|
+
void g_zlib_compressor_set_os (GZlibCompressor *compressor,
|
|
66
|
+
int os);
|
|
67
|
+
|
|
62
68
|
G_END_DECLS
|
|
63
69
|
|
|
64
70
|
#endif /* __G_ZLIB_COMPRESSOR_H__ */
|
|
@@ -1052,3 +1052,37 @@
|
|
|
1052
1052
|
#define GI_AVAILABLE_ENUMERATOR_IN_2_84
|
|
1053
1053
|
#define GI_AVAILABLE_TYPE_IN_2_84
|
|
1054
1054
|
#endif
|
|
1055
|
+
|
|
1056
|
+
#if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_86
|
|
1057
|
+
#define GI_DEPRECATED_IN_2_86 GI_DEPRECATED
|
|
1058
|
+
#define GI_DEPRECATED_IN_2_86_FOR(f) GI_DEPRECATED_FOR (f)
|
|
1059
|
+
#define GI_DEPRECATED_MACRO_IN_2_86 GLIB_DEPRECATED_MACRO
|
|
1060
|
+
#define GI_DEPRECATED_MACRO_IN_2_86_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f)
|
|
1061
|
+
#define GI_DEPRECATED_ENUMERATOR_IN_2_86 GLIB_DEPRECATED_ENUMERATOR
|
|
1062
|
+
#define GI_DEPRECATED_ENUMERATOR_IN_2_86_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f)
|
|
1063
|
+
#define GI_DEPRECATED_TYPE_IN_2_86 GLIB_DEPRECATED_TYPE
|
|
1064
|
+
#define GI_DEPRECATED_TYPE_IN_2_86_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f)
|
|
1065
|
+
#else
|
|
1066
|
+
#define GI_DEPRECATED_IN_2_86 _GI_EXTERN
|
|
1067
|
+
#define GI_DEPRECATED_IN_2_86_FOR(f) _GI_EXTERN
|
|
1068
|
+
#define GI_DEPRECATED_MACRO_IN_2_86
|
|
1069
|
+
#define GI_DEPRECATED_MACRO_IN_2_86_FOR(f)
|
|
1070
|
+
#define GI_DEPRECATED_ENUMERATOR_IN_2_86
|
|
1071
|
+
#define GI_DEPRECATED_ENUMERATOR_IN_2_86_FOR(f)
|
|
1072
|
+
#define GI_DEPRECATED_TYPE_IN_2_86
|
|
1073
|
+
#define GI_DEPRECATED_TYPE_IN_2_86_FOR(f)
|
|
1074
|
+
#endif
|
|
1075
|
+
|
|
1076
|
+
#if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_86
|
|
1077
|
+
#define GI_AVAILABLE_IN_2_86 GI_UNAVAILABLE (2, 86)
|
|
1078
|
+
#define GI_AVAILABLE_STATIC_INLINE_IN_2_86 GLIB_UNAVAILABLE_STATIC_INLINE (2, 86)
|
|
1079
|
+
#define GI_AVAILABLE_MACRO_IN_2_86 GLIB_UNAVAILABLE_MACRO (2, 86)
|
|
1080
|
+
#define GI_AVAILABLE_ENUMERATOR_IN_2_86 GLIB_UNAVAILABLE_ENUMERATOR (2, 86)
|
|
1081
|
+
#define GI_AVAILABLE_TYPE_IN_2_86 GLIB_UNAVAILABLE_TYPE (2, 86)
|
|
1082
|
+
#else
|
|
1083
|
+
#define GI_AVAILABLE_IN_2_86 _GI_EXTERN
|
|
1084
|
+
#define GI_AVAILABLE_STATIC_INLINE_IN_2_86
|
|
1085
|
+
#define GI_AVAILABLE_MACRO_IN_2_86
|
|
1086
|
+
#define GI_AVAILABLE_ENUMERATOR_IN_2_86
|
|
1087
|
+
#define GI_AVAILABLE_TYPE_IN_2_86
|
|
1088
|
+
#endif
|
|
@@ -366,6 +366,7 @@ typedef enum {
|
|
|
366
366
|
|
|
367
367
|
/**
|
|
368
368
|
* GIFieldInfoFlags:
|
|
369
|
+
* @GI_FIELD_INFO_FLAGS_NONE: no flags set (since: 2.86)
|
|
369
370
|
* @GI_FIELD_IS_READABLE: field is readable.
|
|
370
371
|
* @GI_FIELD_IS_WRITABLE: field is writable.
|
|
371
372
|
*
|
|
@@ -376,12 +377,14 @@ typedef enum {
|
|
|
376
377
|
|
|
377
378
|
typedef enum
|
|
378
379
|
{
|
|
380
|
+
GI_FIELD_INFO_FLAGS_NONE GI_AVAILABLE_ENUMERATOR_IN_2_86 = 0,
|
|
379
381
|
GI_FIELD_IS_READABLE = 1 << 0,
|
|
380
382
|
GI_FIELD_IS_WRITABLE = 1 << 1
|
|
381
383
|
} GIFieldInfoFlags;
|
|
382
384
|
|
|
383
385
|
/**
|
|
384
386
|
* GIVFuncInfoFlags:
|
|
387
|
+
* @GI_VFUNC_INFO_FLAGS_NONE: no flags set (since: 2.86)
|
|
385
388
|
* @GI_VFUNC_MUST_CHAIN_UP: chains up to the parent type
|
|
386
389
|
* @GI_VFUNC_MUST_OVERRIDE: overrides
|
|
387
390
|
* @GI_VFUNC_MUST_NOT_OVERRIDE: does not override
|
|
@@ -392,6 +395,7 @@ typedef enum
|
|
|
392
395
|
*/
|
|
393
396
|
typedef enum
|
|
394
397
|
{
|
|
398
|
+
GI_VFUNC_INFO_FLAGS_NONE GI_AVAILABLE_ENUMERATOR_IN_2_86 = 0,
|
|
395
399
|
GI_VFUNC_MUST_CHAIN_UP = 1 << 0,
|
|
396
400
|
GI_VFUNC_MUST_OVERRIDE = 1 << 1,
|
|
397
401
|
GI_VFUNC_MUST_NOT_OVERRIDE = 1 << 2,
|
|
@@ -399,6 +403,7 @@ typedef enum
|
|
|
399
403
|
|
|
400
404
|
/**
|
|
401
405
|
* GIFunctionInfoFlags:
|
|
406
|
+
* @GI_FUNCTION_INFO_FLAGS_NONE: no flags set (since: 2.86)
|
|
402
407
|
* @GI_FUNCTION_IS_METHOD: is a method.
|
|
403
408
|
* @GI_FUNCTION_IS_CONSTRUCTOR: is a constructor.
|
|
404
409
|
* @GI_FUNCTION_IS_GETTER: is a getter of a [class@GIRepository.PropertyInfo].
|
|
@@ -411,6 +416,7 @@ typedef enum
|
|
|
411
416
|
*/
|
|
412
417
|
typedef enum
|
|
413
418
|
{
|
|
419
|
+
GI_FUNCTION_INFO_FLAGS_NONE GI_AVAILABLE_ENUMERATOR_IN_2_86 = 0,
|
|
414
420
|
GI_FUNCTION_IS_METHOD = 1 << 0,
|
|
415
421
|
GI_FUNCTION_IS_CONSTRUCTOR = 1 << 1,
|
|
416
422
|
GI_FUNCTION_IS_GETTER = 1 << 2,
|
|
@@ -34,6 +34,11 @@ G_BEGIN_DECLS
|
|
|
34
34
|
GLIB_AVAILABLE_IN_ALL
|
|
35
35
|
void g_bit_lock (volatile gint *address,
|
|
36
36
|
gint lock_bit);
|
|
37
|
+
GLIB_AVAILABLE_IN_2_86
|
|
38
|
+
void g_bit_lock_and_get (gint *address,
|
|
39
|
+
guint lock_bit,
|
|
40
|
+
gint *out_val);
|
|
41
|
+
|
|
37
42
|
GLIB_AVAILABLE_IN_ALL
|
|
38
43
|
gboolean g_bit_trylock (volatile gint *address,
|
|
39
44
|
gint lock_bit);
|
|
@@ -41,6 +46,12 @@ GLIB_AVAILABLE_IN_ALL
|
|
|
41
46
|
void g_bit_unlock (volatile gint *address,
|
|
42
47
|
gint lock_bit);
|
|
43
48
|
|
|
49
|
+
GLIB_AVAILABLE_IN_2_86
|
|
50
|
+
void g_bit_unlock_and_set (gint *address,
|
|
51
|
+
guint lock_bit,
|
|
52
|
+
gint new_val,
|
|
53
|
+
gint preserve_mask);
|
|
54
|
+
|
|
44
55
|
GLIB_AVAILABLE_IN_ALL
|
|
45
56
|
void g_pointer_bit_lock (volatile void *address,
|
|
46
57
|
gint lock_bit);
|
|
@@ -167,6 +167,9 @@ GLIB_AVAILABLE_IN_ALL
|
|
|
167
167
|
guint g_date_get_monday_week_of_year (const GDate *date);
|
|
168
168
|
GLIB_AVAILABLE_IN_ALL
|
|
169
169
|
guint g_date_get_sunday_week_of_year (const GDate *date);
|
|
170
|
+
GLIB_AVAILABLE_IN_2_86
|
|
171
|
+
guint g_date_get_week_of_year (const GDate *date,
|
|
172
|
+
GDateWeekday first_day_of_week);
|
|
170
173
|
GLIB_AVAILABLE_IN_ALL
|
|
171
174
|
guint g_date_get_iso8601_week_of_year (const GDate *date);
|
|
172
175
|
|
|
@@ -250,6 +253,9 @@ GLIB_AVAILABLE_IN_ALL
|
|
|
250
253
|
guint8 g_date_get_monday_weeks_in_year (GDateYear year) G_GNUC_CONST;
|
|
251
254
|
GLIB_AVAILABLE_IN_ALL
|
|
252
255
|
guint8 g_date_get_sunday_weeks_in_year (GDateYear year) G_GNUC_CONST;
|
|
256
|
+
GLIB_AVAILABLE_IN_2_86
|
|
257
|
+
guint8 g_date_get_weeks_in_year (GDateYear year,
|
|
258
|
+
GDateWeekday first_day_of_week) G_GNUC_CONST;
|
|
253
259
|
|
|
254
260
|
/* Returns the number of days between the two dates. If date2 comes
|
|
255
261
|
before date1, a negative value is return. */
|
|
@@ -1052,3 +1052,37 @@
|
|
|
1052
1052
|
#define GLIB_AVAILABLE_ENUMERATOR_IN_2_84
|
|
1053
1053
|
#define GLIB_AVAILABLE_TYPE_IN_2_84
|
|
1054
1054
|
#endif
|
|
1055
|
+
|
|
1056
|
+
#if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_86
|
|
1057
|
+
#define GLIB_DEPRECATED_IN_2_86 GLIB_DEPRECATED
|
|
1058
|
+
#define GLIB_DEPRECATED_IN_2_86_FOR(f) GLIB_DEPRECATED_FOR (f)
|
|
1059
|
+
#define GLIB_DEPRECATED_MACRO_IN_2_86 GLIB_DEPRECATED_MACRO
|
|
1060
|
+
#define GLIB_DEPRECATED_MACRO_IN_2_86_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f)
|
|
1061
|
+
#define GLIB_DEPRECATED_ENUMERATOR_IN_2_86 GLIB_DEPRECATED_ENUMERATOR
|
|
1062
|
+
#define GLIB_DEPRECATED_ENUMERATOR_IN_2_86_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f)
|
|
1063
|
+
#define GLIB_DEPRECATED_TYPE_IN_2_86 GLIB_DEPRECATED_TYPE
|
|
1064
|
+
#define GLIB_DEPRECATED_TYPE_IN_2_86_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f)
|
|
1065
|
+
#else
|
|
1066
|
+
#define GLIB_DEPRECATED_IN_2_86 _GLIB_EXTERN
|
|
1067
|
+
#define GLIB_DEPRECATED_IN_2_86_FOR(f) _GLIB_EXTERN
|
|
1068
|
+
#define GLIB_DEPRECATED_MACRO_IN_2_86
|
|
1069
|
+
#define GLIB_DEPRECATED_MACRO_IN_2_86_FOR(f)
|
|
1070
|
+
#define GLIB_DEPRECATED_ENUMERATOR_IN_2_86
|
|
1071
|
+
#define GLIB_DEPRECATED_ENUMERATOR_IN_2_86_FOR(f)
|
|
1072
|
+
#define GLIB_DEPRECATED_TYPE_IN_2_86
|
|
1073
|
+
#define GLIB_DEPRECATED_TYPE_IN_2_86_FOR(f)
|
|
1074
|
+
#endif
|
|
1075
|
+
|
|
1076
|
+
#if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_86
|
|
1077
|
+
#define GLIB_AVAILABLE_IN_2_86 GLIB_UNAVAILABLE (2, 86)
|
|
1078
|
+
#define GLIB_AVAILABLE_STATIC_INLINE_IN_2_86 GLIB_UNAVAILABLE_STATIC_INLINE (2, 86)
|
|
1079
|
+
#define GLIB_AVAILABLE_MACRO_IN_2_86 GLIB_UNAVAILABLE_MACRO (2, 86)
|
|
1080
|
+
#define GLIB_AVAILABLE_ENUMERATOR_IN_2_86 GLIB_UNAVAILABLE_ENUMERATOR (2, 86)
|
|
1081
|
+
#define GLIB_AVAILABLE_TYPE_IN_2_86 GLIB_UNAVAILABLE_TYPE (2, 86)
|
|
1082
|
+
#else
|
|
1083
|
+
#define GLIB_AVAILABLE_IN_2_86 _GLIB_EXTERN
|
|
1084
|
+
#define GLIB_AVAILABLE_STATIC_INLINE_IN_2_86
|
|
1085
|
+
#define GLIB_AVAILABLE_MACRO_IN_2_86
|
|
1086
|
+
#define GLIB_AVAILABLE_ENUMERATOR_IN_2_86
|
|
1087
|
+
#define GLIB_AVAILABLE_TYPE_IN_2_86
|
|
1088
|
+
#endif
|