11/* -----------------------------------------------------------------*-C-*-
2- libffi 3.5.2
2+ libffi 3.6.0
33 - Copyright (c) 2011, 2014, 2019, 2021, 2022, 2024, 2025 Anthony Green
44 - Copyright (c) 1996-2003, 2007, 2008 Red Hat, Inc.
55
@@ -55,7 +55,7 @@ extern "C" {
5555 *
5656 * AUTO-GENERATED FILE - DO NOT EDIT MANUALLY
5757 * Generated by: third-party/libffi_cmake/generate-headers.js
58- * From libffi version: 3.5.2
58+ * From libffi version: 3.6.0
5959 *
6060 * ============================================================================
6161 */
@@ -114,9 +114,11 @@ extern "C" {
114114#define FFI_TYPE_STRUCT 13
115115#define FFI_TYPE_POINTER 14
116116#define FFI_TYPE_COMPLEX 15
117+ #define FFI_TYPE_UINT128 16
118+ #define FFI_TYPE_SINT128 17
117119
118120/* This should always refer to the last type code (for sanity checks). */
119- #define FFI_TYPE_LAST FFI_TYPE_COMPLEX
121+ #define FFI_TYPE_LAST FFI_TYPE_SINT128
120122
121123/* Include the appropriate ffitarget.h based on architecture */
122124#if defined(X86_WIN64 ) || defined(X86_64 ) || defined(X86_WIN32 ) || defined(X86 )
@@ -273,6 +275,11 @@ FFI_EXTERN ffi_type ffi_type_complex_float;
273275FFI_EXTERN ffi_type ffi_type_complex_double ;
274276FFI_EXTERN ffi_type ffi_type_complex_longdouble ;
275277#endif
278+
279+ #ifdef FFI_TARGET_HAS_INT128
280+ FFI_EXTERN ffi_type ffi_type_uint128 ;
281+ FFI_EXTERN ffi_type ffi_type_sint128 ;
282+ #endif
276283#endif /* LIBFFI_HIDE_BASIC_TYPES */
277284
278285typedef enum {
@@ -378,8 +385,8 @@ size_t ffi_java_raw_size (ffi_cif *cif)
378385
379386/* ---- Version API ------------------------------------------------------ */
380387
381- #define FFI_VERSION_STRING "3.5.2 "
382- #define FFI_VERSION_NUMBER 30502
388+ #define FFI_VERSION_STRING "3.6.0 "
389+ #define FFI_VERSION_NUMBER 30600
383390
384391#ifndef LIBFFI_ASM
385392/* Return a version string. */
@@ -406,6 +413,11 @@ typedef struct {
406413 void * trampoline_table ;
407414 void * trampoline_table_entry ;
408415#else
416+ /* Anonymous unions are C11 (a GNU extension in C99); __extension__ keeps
417+ the field names without tripping -Wpedantic under -std=c99 (#795). */
418+ #ifdef __GNUC__
419+ __extension__
420+ #endif
409421 union {
410422 char tramp [FFI_TRAMPOLINE_SIZE ];
411423 void * ftramp ;
0 commit comments