pub const __builtin_bswap16 = @import("std").zig.c_builtins.__builtin_bswap16; pub const __builtin_bswap32 = @import("std").zig.c_builtins.__builtin_bswap32; pub const __builtin_bswap64 = @import("std").zig.c_builtins.__builtin_bswap64; pub const __builtin_signbit = @import("std").zig.c_builtins.__builtin_signbit; pub const __builtin_signbitf = @import("std").zig.c_builtins.__builtin_signbitf; pub const __builtin_popcount = @import("std").zig.c_builtins.__builtin_popcount; pub const __builtin_ctz = @import("std").zig.c_builtins.__builtin_ctz; pub const __builtin_clz = @import("std").zig.c_builtins.__builtin_clz; pub const __builtin_sqrt = @import("std").zig.c_builtins.__builtin_sqrt; pub const __builtin_sqrtf = @import("std").zig.c_builtins.__builtin_sqrtf; pub const __builtin_sin = @import("std").zig.c_builtins.__builtin_sin; pub const __builtin_sinf = @import("std").zig.c_builtins.__builtin_sinf; pub const __builtin_cos = @import("std").zig.c_builtins.__builtin_cos; pub const __builtin_cosf = @import("std").zig.c_builtins.__builtin_cosf; pub const __builtin_exp = @import("std").zig.c_builtins.__builtin_exp; pub const __builtin_expf = @import("std").zig.c_builtins.__builtin_expf; pub const __builtin_exp2 = @import("std").zig.c_builtins.__builtin_exp2; pub const __builtin_exp2f = @import("std").zig.c_builtins.__builtin_exp2f; pub const __builtin_log = @import("std").zig.c_builtins.__builtin_log; pub const __builtin_logf = @import("std").zig.c_builtins.__builtin_logf; pub const __builtin_log2 = @import("std").zig.c_builtins.__builtin_log2; pub const __builtin_log2f = @import("std").zig.c_builtins.__builtin_log2f; pub const __builtin_log10 = @import("std").zig.c_builtins.__builtin_log10; pub const __builtin_log10f = @import("std").zig.c_builtins.__builtin_log10f; pub const __builtin_abs = @import("std").zig.c_builtins.__builtin_abs; pub const __builtin_labs = @import("std").zig.c_builtins.__builtin_labs; pub const __builtin_llabs = @import("std").zig.c_builtins.__builtin_llabs; pub const __builtin_fabs = @import("std").zig.c_builtins.__builtin_fabs; pub const __builtin_fabsf = @import("std").zig.c_builtins.__builtin_fabsf; pub const __builtin_floor = @import("std").zig.c_builtins.__builtin_floor; pub const __builtin_floorf = @import("std").zig.c_builtins.__builtin_floorf; pub const __builtin_ceil = @import("std").zig.c_builtins.__builtin_ceil; pub const __builtin_ceilf = @import("std").zig.c_builtins.__builtin_ceilf; pub const __builtin_trunc = @import("std").zig.c_builtins.__builtin_trunc; pub const __builtin_truncf = @import("std").zig.c_builtins.__builtin_truncf; pub const __builtin_round = @import("std").zig.c_builtins.__builtin_round; pub const __builtin_roundf = @import("std").zig.c_builtins.__builtin_roundf; pub const __builtin_strlen = @import("std").zig.c_builtins.__builtin_strlen; pub const __builtin_strcmp = @import("std").zig.c_builtins.__builtin_strcmp; pub const __builtin_object_size = @import("std").zig.c_builtins.__builtin_object_size; pub const __builtin___memset_chk = @import("std").zig.c_builtins.__builtin___memset_chk; pub const __builtin_memset = @import("std").zig.c_builtins.__builtin_memset; pub const __builtin___memcpy_chk = @import("std").zig.c_builtins.__builtin___memcpy_chk; pub const __builtin_memcpy = @import("std").zig.c_builtins.__builtin_memcpy; pub const __builtin_expect = @import("std").zig.c_builtins.__builtin_expect; pub const __builtin_nanf = @import("std").zig.c_builtins.__builtin_nanf; pub const __builtin_huge_valf = @import("std").zig.c_builtins.__builtin_huge_valf; pub const __builtin_inff = @import("std").zig.c_builtins.__builtin_inff; pub const __builtin_isnan = @import("std").zig.c_builtins.__builtin_isnan; pub const __builtin_isinf = @import("std").zig.c_builtins.__builtin_isinf; pub const __builtin_isinf_sign = @import("std").zig.c_builtins.__builtin_isinf_sign; pub const __has_builtin = @import("std").zig.c_builtins.__has_builtin; pub const __builtin_assume = @import("std").zig.c_builtins.__builtin_assume; pub const __builtin_unreachable = @import("std").zig.c_builtins.__builtin_unreachable; pub const __builtin_constant_p = @import("std").zig.c_builtins.__builtin_constant_p; pub const __builtin_mul_overflow = @import("std").zig.c_builtins.__builtin_mul_overflow; pub const __u_char = u8; pub const __u_short = c_ushort; pub const __u_int = c_uint; pub const __u_long = c_ulong; pub const __int8_t = i8; pub const __uint8_t = u8; pub const __int16_t = c_short; pub const __uint16_t = c_ushort; pub const __int32_t = c_int; pub const __uint32_t = c_uint; pub const __int64_t = c_long; pub const __uint64_t = c_ulong; pub const __int_least8_t = __int8_t; pub const __uint_least8_t = __uint8_t; pub const __int_least16_t = __int16_t; pub const __uint_least16_t = __uint16_t; pub const __int_least32_t = __int32_t; pub const __uint_least32_t = __uint32_t; pub const __int_least64_t = __int64_t; pub const __uint_least64_t = __uint64_t; pub const __quad_t = c_long; pub const __u_quad_t = c_ulong; pub const __intmax_t = c_long; pub const __uintmax_t = c_ulong; pub const __dev_t = c_ulong; pub const __uid_t = c_uint; pub const __gid_t = c_uint; pub const __ino_t = c_ulong; pub const __ino64_t = c_ulong; pub const __mode_t = c_uint; pub const __nlink_t = c_ulong; pub const __off_t = c_long; pub const __off64_t = c_long; pub const __pid_t = c_int; pub const __fsid_t = extern struct { __val: [2]c_int = @import("std").mem.zeroes([2]c_int), }; pub const __clock_t = c_long; pub const __rlim_t = c_ulong; pub const __rlim64_t = c_ulong; pub const __id_t = c_uint; pub const __time_t = c_long; pub const __useconds_t = c_uint; pub const __suseconds_t = c_long; pub const __suseconds64_t = c_long; pub const __daddr_t = c_int; pub const __key_t = c_int; pub const __clockid_t = c_int; pub const __timer_t = ?*anyopaque; pub const __blksize_t = c_long; pub const __blkcnt_t = c_long; pub const __blkcnt64_t = c_long; pub const __fsblkcnt_t = c_ulong; pub const __fsblkcnt64_t = c_ulong; pub const __fsfilcnt_t = c_ulong; pub const __fsfilcnt64_t = c_ulong; pub const __fsword_t = c_long; pub const __ssize_t = c_long; pub const __syscall_slong_t = c_long; pub const __syscall_ulong_t = c_ulong; pub const __loff_t = __off64_t; pub const __caddr_t = [*c]u8; pub const __intptr_t = c_long; pub const __socklen_t = c_uint; pub const __sig_atomic_t = c_int; pub const int_least8_t = __int_least8_t; pub const int_least16_t = __int_least16_t; pub const int_least32_t = __int_least32_t; pub const int_least64_t = __int_least64_t; pub const uint_least8_t = __uint_least8_t; pub const uint_least16_t = __uint_least16_t; pub const uint_least32_t = __uint_least32_t; pub const uint_least64_t = __uint_least64_t; pub const int_fast8_t = i8; pub const int_fast16_t = c_long; pub const int_fast32_t = c_long; pub const int_fast64_t = c_long; pub const uint_fast8_t = u8; pub const uint_fast16_t = c_ulong; pub const uint_fast32_t = c_ulong; pub const uint_fast64_t = c_ulong; pub const intmax_t = __intmax_t; pub const uintmax_t = __uintmax_t; pub const struct___va_list_tag_1 = extern struct { gp_offset: c_uint = @import("std").mem.zeroes(c_uint), fp_offset: c_uint = @import("std").mem.zeroes(c_uint), overflow_arg_area: ?*anyopaque = @import("std").mem.zeroes(?*anyopaque), reg_save_area: ?*anyopaque = @import("std").mem.zeroes(?*anyopaque), }; pub const __builtin_va_list = [1]struct___va_list_tag_1; pub const __gnuc_va_list = __builtin_va_list; const union_unnamed_2 = extern union { __wch: c_uint, __wchb: [4]u8, }; pub const __mbstate_t = extern struct { __count: c_int = @import("std").mem.zeroes(c_int), __value: union_unnamed_2 = @import("std").mem.zeroes(union_unnamed_2), }; pub const struct__G_fpos_t = extern struct { __pos: __off_t = @import("std").mem.zeroes(__off_t), __state: __mbstate_t = @import("std").mem.zeroes(__mbstate_t), }; pub const __fpos_t = struct__G_fpos_t; pub const struct__G_fpos64_t = extern struct { __pos: __off64_t = @import("std").mem.zeroes(__off64_t), __state: __mbstate_t = @import("std").mem.zeroes(__mbstate_t), }; pub const __fpos64_t = struct__G_fpos64_t; pub const struct__IO_marker = opaque {}; pub const _IO_lock_t = anyopaque; pub const struct__IO_codecvt = opaque {}; pub const struct__IO_wide_data = opaque {}; pub const struct__IO_FILE = extern struct { _flags: c_int = @import("std").mem.zeroes(c_int), _IO_read_ptr: [*c]u8 = @import("std").mem.zeroes([*c]u8), _IO_read_end: [*c]u8 = @import("std").mem.zeroes([*c]u8), _IO_read_base: [*c]u8 = @import("std").mem.zeroes([*c]u8), _IO_write_base: [*c]u8 = @import("std").mem.zeroes([*c]u8), _IO_write_ptr: [*c]u8 = @import("std").mem.zeroes([*c]u8), _IO_write_end: [*c]u8 = @import("std").mem.zeroes([*c]u8), _IO_buf_base: [*c]u8 = @import("std").mem.zeroes([*c]u8), _IO_buf_end: [*c]u8 = @import("std").mem.zeroes([*c]u8), _IO_save_base: [*c]u8 = @import("std").mem.zeroes([*c]u8), _IO_backup_base: [*c]u8 = @import("std").mem.zeroes([*c]u8), _IO_save_end: [*c]u8 = @import("std").mem.zeroes([*c]u8), _markers: ?*struct__IO_marker = @import("std").mem.zeroes(?*struct__IO_marker), _chain: [*c]struct__IO_FILE = @import("std").mem.zeroes([*c]struct__IO_FILE), _fileno: c_int = @import("std").mem.zeroes(c_int), _flags2: c_int = @import("std").mem.zeroes(c_int), _old_offset: __off_t = @import("std").mem.zeroes(__off_t), _cur_column: c_ushort = @import("std").mem.zeroes(c_ushort), _vtable_offset: i8 = @import("std").mem.zeroes(i8), _shortbuf: [1]u8 = @import("std").mem.zeroes([1]u8), _lock: ?*_IO_lock_t = @import("std").mem.zeroes(?*_IO_lock_t), _offset: __off64_t = @import("std").mem.zeroes(__off64_t), _codecvt: ?*struct__IO_codecvt = @import("std").mem.zeroes(?*struct__IO_codecvt), _wide_data: ?*struct__IO_wide_data = @import("std").mem.zeroes(?*struct__IO_wide_data), _freeres_list: [*c]struct__IO_FILE = @import("std").mem.zeroes([*c]struct__IO_FILE), _freeres_buf: ?*anyopaque = @import("std").mem.zeroes(?*anyopaque), __pad5: usize = @import("std").mem.zeroes(usize), _mode: c_int = @import("std").mem.zeroes(c_int), _unused2: [20]u8 = @import("std").mem.zeroes([20]u8), }; pub const __FILE = struct__IO_FILE; pub const FILE = struct__IO_FILE; pub const cookie_read_function_t = fn (?*anyopaque, [*c]u8, usize) callconv(.C) __ssize_t; pub const cookie_write_function_t = fn (?*anyopaque, [*c]const u8, usize) callconv(.C) __ssize_t; pub const cookie_seek_function_t = fn (?*anyopaque, [*c]__off64_t, c_int) callconv(.C) c_int; pub const cookie_close_function_t = fn (?*anyopaque) callconv(.C) c_int; pub const struct__IO_cookie_io_functions_t = extern struct { read: ?*const cookie_read_function_t = @import("std").mem.zeroes(?*const cookie_read_function_t), write: ?*const cookie_write_function_t = @import("std").mem.zeroes(?*const cookie_write_function_t), seek: ?*const cookie_seek_function_t = @import("std").mem.zeroes(?*const cookie_seek_function_t), close: ?*const cookie_close_function_t = @import("std").mem.zeroes(?*const cookie_close_function_t), }; pub const cookie_io_functions_t = struct__IO_cookie_io_functions_t; pub const va_list = __gnuc_va_list; pub const off_t = __off_t; pub const fpos_t = __fpos_t; pub extern var stdin: [*c]FILE; pub extern var stdout: [*c]FILE; pub extern var stderr: [*c]FILE; pub extern fn remove(__filename: [*c]const u8) c_int; pub extern fn rename(__old: [*c]const u8, __new: [*c]const u8) c_int; pub extern fn renameat(__oldfd: c_int, __old: [*c]const u8, __newfd: c_int, __new: [*c]const u8) c_int; pub extern fn fclose(__stream: [*c]FILE) c_int; pub extern fn tmpfile() [*c]FILE; pub extern fn tmpnam([*c]u8) [*c]u8; pub extern fn tmpnam_r(__s: [*c]u8) [*c]u8; pub extern fn tempnam(__dir: [*c]const u8, __pfx: [*c]const u8) [*c]u8; pub extern fn fflush(__stream: [*c]FILE) c_int; pub extern fn fflush_unlocked(__stream: [*c]FILE) c_int; pub extern fn fopen(__filename: [*c]const u8, __modes: [*c]const u8) [*c]FILE; pub extern fn freopen(noalias __filename: [*c]const u8, noalias __modes: [*c]const u8, noalias __stream: [*c]FILE) [*c]FILE; pub extern fn fdopen(__fd: c_int, __modes: [*c]const u8) [*c]FILE; pub extern fn fopencookie(noalias __magic_cookie: ?*anyopaque, noalias __modes: [*c]const u8, __io_funcs: cookie_io_functions_t) [*c]FILE; pub extern fn fmemopen(__s: ?*anyopaque, __len: usize, __modes: [*c]const u8) [*c]FILE; pub extern fn open_memstream(__bufloc: [*c][*c]u8, __sizeloc: [*c]usize) [*c]FILE; pub extern fn setbuf(noalias __stream: [*c]FILE, noalias __buf: [*c]u8) void; pub extern fn setvbuf(noalias __stream: [*c]FILE, noalias __buf: [*c]u8, __modes: c_int, __n: usize) c_int; pub extern fn setbuffer(noalias __stream: [*c]FILE, noalias __buf: [*c]u8, __size: usize) void; pub extern fn setlinebuf(__stream: [*c]FILE) void; pub extern fn fprintf(__stream: [*c]FILE, __format: [*c]const u8, ...) c_int; pub extern fn printf(__format: [*c]const u8, ...) c_int; pub extern fn sprintf(__s: [*c]u8, __format: [*c]const u8, ...) c_int; pub extern fn vfprintf(__s: [*c]FILE, __format: [*c]const u8, __arg: [*c]struct___va_list_tag_1) c_int; pub extern fn vprintf(__format: [*c]const u8, __arg: [*c]struct___va_list_tag_1) c_int; pub extern fn vsprintf(__s: [*c]u8, __format: [*c]const u8, __arg: [*c]struct___va_list_tag_1) c_int; pub extern fn snprintf(__s: [*c]u8, __maxlen: c_ulong, __format: [*c]const u8, ...) c_int; pub extern fn vsnprintf(__s: [*c]u8, __maxlen: c_ulong, __format: [*c]const u8, __arg: [*c]struct___va_list_tag_1) c_int; pub extern fn vasprintf(noalias __ptr: [*c][*c]u8, noalias __f: [*c]const u8, __arg: [*c]struct___va_list_tag_1) c_int; pub extern fn __asprintf(noalias __ptr: [*c][*c]u8, noalias __fmt: [*c]const u8, ...) c_int; pub extern fn asprintf(noalias __ptr: [*c][*c]u8, noalias __fmt: [*c]const u8, ...) c_int; pub extern fn vdprintf(__fd: c_int, noalias __fmt: [*c]const u8, __arg: [*c]struct___va_list_tag_1) c_int; pub extern fn dprintf(__fd: c_int, noalias __fmt: [*c]const u8, ...) c_int; pub extern fn fscanf(noalias __stream: [*c]FILE, noalias __format: [*c]const u8, ...) c_int; pub extern fn scanf(noalias __format: [*c]const u8, ...) c_int; pub extern fn sscanf(noalias __s: [*c]const u8, noalias __format: [*c]const u8, ...) c_int; pub const _Float32 = f32; pub const _Float64 = f64; pub const _Float32x = f64; pub const _Float64x = c_longdouble; pub extern fn vfscanf(noalias __s: [*c]FILE, noalias __format: [*c]const u8, __arg: [*c]struct___va_list_tag_1) c_int; pub extern fn vscanf(noalias __format: [*c]const u8, __arg: [*c]struct___va_list_tag_1) c_int; pub extern fn vsscanf(noalias __s: [*c]const u8, noalias __format: [*c]const u8, __arg: [*c]struct___va_list_tag_1) c_int; pub extern fn fgetc(__stream: [*c]FILE) c_int; pub extern fn getc(__stream: [*c]FILE) c_int; pub extern fn getchar() c_int; pub extern fn getc_unlocked(__stream: [*c]FILE) c_int; pub extern fn getchar_unlocked() c_int; pub extern fn fgetc_unlocked(__stream: [*c]FILE) c_int; pub extern fn fputc(__c: c_int, __stream: [*c]FILE) c_int; pub extern fn putc(__c: c_int, __stream: [*c]FILE) c_int; pub extern fn putchar(__c: c_int) c_int; pub extern fn fputc_unlocked(__c: c_int, __stream: [*c]FILE) c_int; pub extern fn putc_unlocked(__c: c_int, __stream: [*c]FILE) c_int; pub extern fn putchar_unlocked(__c: c_int) c_int; pub extern fn getw(__stream: [*c]FILE) c_int; pub extern fn putw(__w: c_int, __stream: [*c]FILE) c_int; pub extern fn fgets(noalias __s: [*c]u8, __n: c_int, noalias __stream: [*c]FILE) [*c]u8; pub extern fn __getdelim(noalias __lineptr: [*c][*c]u8, noalias __n: [*c]usize, __delimiter: c_int, noalias __stream: [*c]FILE) __ssize_t; pub extern fn getdelim(noalias __lineptr: [*c][*c]u8, noalias __n: [*c]usize, __delimiter: c_int, noalias __stream: [*c]FILE) __ssize_t; pub extern fn getline(noalias __lineptr: [*c][*c]u8, noalias __n: [*c]usize, noalias __stream: [*c]FILE) __ssize_t; pub extern fn fputs(noalias __s: [*c]const u8, noalias __stream: [*c]FILE) c_int; pub extern fn puts(__s: [*c]const u8) c_int; pub extern fn ungetc(__c: c_int, __stream: [*c]FILE) c_int; pub extern fn fread(__ptr: ?*anyopaque, __size: c_ulong, __n: c_ulong, __stream: [*c]FILE) c_ulong; pub extern fn fwrite(__ptr: ?*const anyopaque, __size: c_ulong, __n: c_ulong, __s: [*c]FILE) c_ulong; pub extern fn fread_unlocked(noalias __ptr: ?*anyopaque, __size: usize, __n: usize, noalias __stream: [*c]FILE) usize; pub extern fn fwrite_unlocked(noalias __ptr: ?*const anyopaque, __size: usize, __n: usize, noalias __stream: [*c]FILE) usize; pub extern fn fseek(__stream: [*c]FILE, __off: c_long, __whence: c_int) c_int; pub extern fn ftell(__stream: [*c]FILE) c_long; pub extern fn rewind(__stream: [*c]FILE) void; pub extern fn fseeko(__stream: [*c]FILE, __off: __off_t, __whence: c_int) c_int; pub extern fn ftello(__stream: [*c]FILE) __off_t; pub extern fn fgetpos(noalias __stream: [*c]FILE, noalias __pos: [*c]fpos_t) c_int; pub extern fn fsetpos(__stream: [*c]FILE, __pos: [*c]const fpos_t) c_int; pub extern fn clearerr(__stream: [*c]FILE) void; pub extern fn feof(__stream: [*c]FILE) c_int; pub extern fn ferror(__stream: [*c]FILE) c_int; pub extern fn clearerr_unlocked(__stream: [*c]FILE) void; pub extern fn feof_unlocked(__stream: [*c]FILE) c_int; pub extern fn ferror_unlocked(__stream: [*c]FILE) c_int; pub extern fn perror(__s: [*c]const u8) void; pub extern fn fileno(__stream: [*c]FILE) c_int; pub extern fn fileno_unlocked(__stream: [*c]FILE) c_int; pub extern fn pclose(__stream: [*c]FILE) c_int; pub extern fn popen(__command: [*c]const u8, __modes: [*c]const u8) [*c]FILE; pub extern fn ctermid(__s: [*c]u8) [*c]u8; pub extern fn flockfile(__stream: [*c]FILE) void; pub extern fn ftrylockfile(__stream: [*c]FILE) c_int; pub extern fn funlockfile(__stream: [*c]FILE) void; pub extern fn __uflow([*c]FILE) c_int; pub extern fn __overflow([*c]FILE, c_int) c_int; pub const struct_pdf_doc = opaque {}; pub const struct_pdf_object = opaque {}; pub const struct_pdf_info = extern struct { creator: [64]u8 = @import("std").mem.zeroes([64]u8), producer: [64]u8 = @import("std").mem.zeroes([64]u8), title: [64]u8 = @import("std").mem.zeroes([64]u8), author: [64]u8 = @import("std").mem.zeroes([64]u8), subject: [64]u8 = @import("std").mem.zeroes([64]u8), date: [64]u8 = @import("std").mem.zeroes([64]u8), }; pub const IMAGE_PNG: c_int = 0; pub const IMAGE_JPG: c_int = 1; pub const IMAGE_PPM: c_int = 2; pub const IMAGE_BMP: c_int = 3; pub const IMAGE_UNKNOWN: c_int = 4; const enum_unnamed_3 = c_uint; pub const PNG_COLOR_GREYSCALE: c_int = 0; pub const PNG_COLOR_RGB: c_int = 2; pub const PNG_COLOR_INDEXED: c_int = 3; pub const PNG_COLOR_GREYSCALE_A: c_int = 4; pub const PNG_COLOR_RGBA: c_int = 6; pub const PNG_COLOR_INVALID: c_int = 255; const enum_unnamed_4 = c_uint; pub const struct_png_header = extern struct { width: u32 = @import("std").mem.zeroes(u32), height: u32 = @import("std").mem.zeroes(u32), bitDepth: u8 = @import("std").mem.zeroes(u8), colorType: u8 = @import("std").mem.zeroes(u8), deflate: u8 = @import("std").mem.zeroes(u8), filtering: u8 = @import("std").mem.zeroes(u8), interlace: u8 = @import("std").mem.zeroes(u8), }; pub const struct_bmp_header = extern struct { bfSize: u32 = @import("std").mem.zeroes(u32), bfReserved1: u16 = @import("std").mem.zeroes(u16), bfReserved2: u16 = @import("std").mem.zeroes(u16), bfOffBits: u32 = @import("std").mem.zeroes(u32), biSize: u32 = @import("std").mem.zeroes(u32), biWidth: i32 = @import("std").mem.zeroes(i32), biHeight: i32 = @import("std").mem.zeroes(i32), biPlanes: u16 = @import("std").mem.zeroes(u16), biBitCount: u16 = @import("std").mem.zeroes(u16), biCompression: u32 = @import("std").mem.zeroes(u32), }; pub const struct_jpeg_header = extern struct { ncolours: c_int = @import("std").mem.zeroes(c_int), }; pub const PPM_BINARY_COLOR_RGB: c_int = 0; pub const PPM_BINARY_COLOR_GRAY: c_int = 1; const enum_unnamed_5 = c_uint; pub const struct_ppm_header = extern struct { size: usize = @import("std").mem.zeroes(usize), data_begin_pos: usize = @import("std").mem.zeroes(usize), color_space: c_int = @import("std").mem.zeroes(c_int), }; const union_unnamed_6 = extern union { bmp: struct_bmp_header, jpeg: struct_jpeg_header, png: struct_png_header, ppm: struct_ppm_header, }; pub const struct_pdf_img_info = extern struct { image_format: c_int = @import("std").mem.zeroes(c_int), width: u32 = @import("std").mem.zeroes(u32), height: u32 = @import("std").mem.zeroes(u32), unnamed_0: union_unnamed_6 = @import("std").mem.zeroes(union_unnamed_6), }; pub const struct_pdf_path_operation = extern struct { op: u8 = @import("std").mem.zeroes(u8), x1: f32 = @import("std").mem.zeroes(f32), y1: f32 = @import("std").mem.zeroes(f32), x2: f32 = @import("std").mem.zeroes(f32), y2: f32 = @import("std").mem.zeroes(f32), x3: f32 = @import("std").mem.zeroes(f32), y3: f32 = @import("std").mem.zeroes(f32), }; pub const PDF_ALIGN_LEFT: c_int = 0; pub const PDF_ALIGN_RIGHT: c_int = 1; pub const PDF_ALIGN_CENTER: c_int = 2; pub const PDF_ALIGN_JUSTIFY: c_int = 3; pub const PDF_ALIGN_JUSTIFY_ALL: c_int = 4; pub const PDF_ALIGN_NO_WRITE: c_int = 5; const enum_unnamed_7 = c_uint; pub extern fn pdf_create(width: f32, height: f32, info: [*c]const struct_pdf_info) ?*struct_pdf_doc; pub extern fn pdf_destroy(pdf: ?*struct_pdf_doc) void; pub extern fn pdf_get_err(pdf: ?*const struct_pdf_doc, errval: [*c]c_int) [*c]const u8; pub extern fn pdf_clear_err(pdf: ?*struct_pdf_doc) void; pub extern fn pdf_set_font(pdf: ?*struct_pdf_doc, font: [*c]const u8) c_int; pub extern fn pdf_get_font_text_width(pdf: ?*struct_pdf_doc, font_name: [*c]const u8, text: [*c]const u8, size: f32, text_width: [*c]f32) c_int; pub extern fn pdf_height(pdf: ?*const struct_pdf_doc) f32; pub extern fn pdf_width(pdf: ?*const struct_pdf_doc) f32; pub extern fn pdf_page_height(page: ?*const struct_pdf_object) f32; pub extern fn pdf_page_width(page: ?*const struct_pdf_object) f32; pub extern fn pdf_append_page(pdf: ?*struct_pdf_doc) ?*struct_pdf_object; pub extern fn pdf_get_page(pdf: ?*struct_pdf_doc, page_number: c_int) ?*struct_pdf_object; pub extern fn pdf_page_set_size(pdf: ?*struct_pdf_doc, page: ?*struct_pdf_object, width: f32, height: f32) c_int; pub extern fn pdf_save(pdf: ?*struct_pdf_doc, filename: [*c]const u8) c_int; pub extern fn pdf_save_file(pdf: ?*struct_pdf_doc, fp: [*c]FILE) c_int; pub extern fn pdf_add_text(pdf: ?*struct_pdf_doc, page: ?*struct_pdf_object, text: [*c]const u8, size: f32, xoff: f32, yoff: f32, colour: u32) c_int; pub extern fn pdf_add_text_rotate(pdf: ?*struct_pdf_doc, page: ?*struct_pdf_object, text: [*c]const u8, size: f32, xoff: f32, yoff: f32, angle: f32, colour: u32) c_int; pub extern fn pdf_add_text_wrap(pdf: ?*struct_pdf_doc, page: ?*struct_pdf_object, text: [*c]const u8, size: f32, xoff: f32, yoff: f32, angle: f32, colour: u32, wrap_width: f32, @"align": c_int, height: [*c]f32) c_int; pub extern fn pdf_add_line(pdf: ?*struct_pdf_doc, page: ?*struct_pdf_object, x1: f32, y1: f32, x2: f32, y2: f32, width: f32, colour: u32) c_int; pub extern fn pdf_add_cubic_bezier(pdf: ?*struct_pdf_doc, page: ?*struct_pdf_object, x1: f32, y1: f32, x2: f32, y2: f32, xq1: f32, yq1: f32, xq2: f32, yq2: f32, width: f32, colour: u32) c_int; pub extern fn pdf_add_quadratic_bezier(pdf: ?*struct_pdf_doc, page: ?*struct_pdf_object, x1: f32, y1: f32, x2: f32, y2: f32, xq1: f32, yq1: f32, width: f32, colour: u32) c_int; pub extern fn pdf_add_custom_path(pdf: ?*struct_pdf_doc, page: ?*struct_pdf_object, operations: [*c]const struct_pdf_path_operation, operation_count: c_int, stroke_width: f32, stroke_colour: u32, fill_colour: u32) c_int; pub extern fn pdf_add_ellipse(pdf: ?*struct_pdf_doc, page: ?*struct_pdf_object, x: f32, y: f32, xradius: f32, yradius: f32, width: f32, colour: u32, fill_colour: u32) c_int; pub extern fn pdf_add_circle(pdf: ?*struct_pdf_doc, page: ?*struct_pdf_object, x: f32, y: f32, radius: f32, width: f32, colour: u32, fill_colour: u32) c_int; pub extern fn pdf_add_rectangle(pdf: ?*struct_pdf_doc, page: ?*struct_pdf_object, x: f32, y: f32, width: f32, height: f32, border_width: f32, colour: u32) c_int; pub extern fn pdf_add_filled_rectangle(pdf: ?*struct_pdf_doc, page: ?*struct_pdf_object, x: f32, y: f32, width: f32, height: f32, border_width: f32, colour_fill: u32, colour_border: u32) c_int; pub extern fn pdf_add_polygon(pdf: ?*struct_pdf_doc, page: ?*struct_pdf_object, x: [*c]f32, y: [*c]f32, count: c_int, border_width: f32, colour: u32) c_int; pub extern fn pdf_add_filled_polygon(pdf: ?*struct_pdf_doc, page: ?*struct_pdf_object, x: [*c]f32, y: [*c]f32, count: c_int, border_width: f32, colour: u32) c_int; pub extern fn pdf_add_bookmark(pdf: ?*struct_pdf_doc, page: ?*struct_pdf_object, parent: c_int, name: [*c]const u8) c_int; pub extern fn pdf_add_link(pdf: ?*struct_pdf_doc, page: ?*struct_pdf_object, x: f32, y: f32, width: f32, height: f32, target_page: ?*struct_pdf_object, target_x: f32, target_y: f32) c_int; pub const PDF_BARCODE_128A: c_int = 0; pub const PDF_BARCODE_39: c_int = 1; pub const PDF_BARCODE_EAN13: c_int = 2; pub const PDF_BARCODE_UPCA: c_int = 3; pub const PDF_BARCODE_EAN8: c_int = 4; pub const PDF_BARCODE_UPCE: c_int = 5; const enum_unnamed_8 = c_uint; pub extern fn pdf_add_barcode(pdf: ?*struct_pdf_doc, page: ?*struct_pdf_object, code: c_int, x: f32, y: f32, width: f32, height: f32, string: [*c]const u8, colour: u32) c_int; pub extern fn pdf_add_image_data(pdf: ?*struct_pdf_doc, page: ?*struct_pdf_object, x: f32, y: f32, display_width: f32, display_height: f32, data: [*c]const u8, len: usize) c_int; pub extern fn pdf_add_rgb24(pdf: ?*struct_pdf_doc, page: ?*struct_pdf_object, x: f32, y: f32, display_width: f32, display_height: f32, data: [*c]const u8, width: u32, height: u32) c_int; pub extern fn pdf_add_grayscale8(pdf: ?*struct_pdf_doc, page: ?*struct_pdf_object, x: f32, y: f32, display_width: f32, display_height: f32, data: [*c]const u8, width: u32, height: u32) c_int; pub extern fn pdf_add_image_file(pdf: ?*struct_pdf_doc, page: ?*struct_pdf_object, x: f32, y: f32, display_width: f32, display_height: f32, image_filename: [*c]const u8) c_int; pub extern fn pdf_parse_image_header(info: [*c]struct_pdf_img_info, data: [*c]const u8, length: usize, err_msg: [*c]u8, err_msg_length: usize) c_int; pub const __llvm__ = @as(c_int, 1); pub const __clang__ = @as(c_int, 1); pub const __clang_major__ = @as(c_int, 18); pub const __clang_minor__ = @as(c_int, 1); pub const __clang_patchlevel__ = @as(c_int, 6); pub const __clang_version__ = "18.1.6 (https://github.com/ziglang/zig-bootstrap 98bc6bf4fc4009888d33941daf6b600d20a42a56)"; pub const __GNUC__ = @as(c_int, 4); pub const __GNUC_MINOR__ = @as(c_int, 2); pub const __GNUC_PATCHLEVEL__ = @as(c_int, 1); pub const __GXX_ABI_VERSION = @as(c_int, 1002); pub const __ATOMIC_RELAXED = @as(c_int, 0); pub const __ATOMIC_CONSUME = @as(c_int, 1); pub const __ATOMIC_ACQUIRE = @as(c_int, 2); pub const __ATOMIC_RELEASE = @as(c_int, 3); pub const __ATOMIC_ACQ_REL = @as(c_int, 4); pub const __ATOMIC_SEQ_CST = @as(c_int, 5); pub const __MEMORY_SCOPE_SYSTEM = @as(c_int, 0); pub const __MEMORY_SCOPE_DEVICE = @as(c_int, 1); pub const __MEMORY_SCOPE_WRKGRP = @as(c_int, 2); pub const __MEMORY_SCOPE_WVFRNT = @as(c_int, 3); pub const __MEMORY_SCOPE_SINGLE = @as(c_int, 4); pub const __OPENCL_MEMORY_SCOPE_WORK_ITEM = @as(c_int, 0); pub const __OPENCL_MEMORY_SCOPE_WORK_GROUP = @as(c_int, 1); pub const __OPENCL_MEMORY_SCOPE_DEVICE = @as(c_int, 2); pub const __OPENCL_MEMORY_SCOPE_ALL_SVM_DEVICES = @as(c_int, 3); pub const __OPENCL_MEMORY_SCOPE_SUB_GROUP = @as(c_int, 4); pub const __FPCLASS_SNAN = @as(c_int, 0x0001); pub const __FPCLASS_QNAN = @as(c_int, 0x0002); pub const __FPCLASS_NEGINF = @as(c_int, 0x0004); pub const __FPCLASS_NEGNORMAL = @as(c_int, 0x0008); pub const __FPCLASS_NEGSUBNORMAL = @as(c_int, 0x0010); pub const __FPCLASS_NEGZERO = @as(c_int, 0x0020); pub const __FPCLASS_POSZERO = @as(c_int, 0x0040); pub const __FPCLASS_POSSUBNORMAL = @as(c_int, 0x0080); pub const __FPCLASS_POSNORMAL = @as(c_int, 0x0100); pub const __FPCLASS_POSINF = @as(c_int, 0x0200); pub const __PRAGMA_REDEFINE_EXTNAME = @as(c_int, 1); pub const __VERSION__ = "Clang 18.1.6 (https://github.com/ziglang/zig-bootstrap 98bc6bf4fc4009888d33941daf6b600d20a42a56)"; pub const __OBJC_BOOL_IS_BOOL = @as(c_int, 0); pub const __CONSTANT_CFSTRINGS__ = @as(c_int, 1); pub const __clang_literal_encoding__ = "UTF-8"; pub const __clang_wide_literal_encoding__ = "UTF-32"; pub const __ORDER_LITTLE_ENDIAN__ = @as(c_int, 1234); pub const __ORDER_BIG_ENDIAN__ = @as(c_int, 4321); pub const __ORDER_PDP_ENDIAN__ = @as(c_int, 3412); pub const __BYTE_ORDER__ = __ORDER_LITTLE_ENDIAN__; pub const __LITTLE_ENDIAN__ = @as(c_int, 1); pub const _LP64 = @as(c_int, 1); pub const __LP64__ = @as(c_int, 1); pub const __CHAR_BIT__ = @as(c_int, 8); pub const __BOOL_WIDTH__ = @as(c_int, 8); pub const __SHRT_WIDTH__ = @as(c_int, 16); pub const __INT_WIDTH__ = @as(c_int, 32); pub const __LONG_WIDTH__ = @as(c_int, 64); pub const __LLONG_WIDTH__ = @as(c_int, 64); pub const __BITINT_MAXWIDTH__ = @import("std").zig.c_translation.promoteIntLiteral(c_int, 8388608, .decimal); pub const __SCHAR_MAX__ = @as(c_int, 127); pub const __SHRT_MAX__ = @as(c_int, 32767); pub const __INT_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_int, 2147483647, .decimal); pub const __LONG_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_long, 9223372036854775807, .decimal); pub const __LONG_LONG_MAX__ = @as(c_longlong, 9223372036854775807); pub const __WCHAR_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_int, 2147483647, .decimal); pub const __WCHAR_WIDTH__ = @as(c_int, 32); pub const __WINT_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_uint, 4294967295, .decimal); pub const __WINT_WIDTH__ = @as(c_int, 32); pub const __INTMAX_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_long, 9223372036854775807, .decimal); pub const __INTMAX_WIDTH__ = @as(c_int, 64); pub const __SIZE_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_ulong, 18446744073709551615, .decimal); pub const __SIZE_WIDTH__ = @as(c_int, 64); pub const __UINTMAX_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_ulong, 18446744073709551615, .decimal); pub const __UINTMAX_WIDTH__ = @as(c_int, 64); pub const __PTRDIFF_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_long, 9223372036854775807, .decimal); pub const __PTRDIFF_WIDTH__ = @as(c_int, 64); pub const __INTPTR_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_long, 9223372036854775807, .decimal); pub const __INTPTR_WIDTH__ = @as(c_int, 64); pub const __UINTPTR_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_ulong, 18446744073709551615, .decimal); pub const __UINTPTR_WIDTH__ = @as(c_int, 64); pub const __SIZEOF_DOUBLE__ = @as(c_int, 8); pub const __SIZEOF_FLOAT__ = @as(c_int, 4); pub const __SIZEOF_INT__ = @as(c_int, 4); pub const __SIZEOF_LONG__ = @as(c_int, 8); pub const __SIZEOF_LONG_DOUBLE__ = @as(c_int, 16); pub const __SIZEOF_LONG_LONG__ = @as(c_int, 8); pub const __SIZEOF_POINTER__ = @as(c_int, 8); pub const __SIZEOF_SHORT__ = @as(c_int, 2); pub const __SIZEOF_PTRDIFF_T__ = @as(c_int, 8); pub const __SIZEOF_SIZE_T__ = @as(c_int, 8); pub const __SIZEOF_WCHAR_T__ = @as(c_int, 4); pub const __SIZEOF_WINT_T__ = @as(c_int, 4); pub const __SIZEOF_INT128__ = @as(c_int, 16); pub const __INTMAX_TYPE__ = c_long; pub const __INTMAX_FMTd__ = "ld"; pub const __INTMAX_FMTi__ = "li"; pub const __INTMAX_C_SUFFIX__ = @compileError("unable to translate macro: undefined identifier `L`"); // (no file):95:9 pub const __UINTMAX_TYPE__ = c_ulong; pub const __UINTMAX_FMTo__ = "lo"; pub const __UINTMAX_FMTu__ = "lu"; pub const __UINTMAX_FMTx__ = "lx"; pub const __UINTMAX_FMTX__ = "lX"; pub const __UINTMAX_C_SUFFIX__ = @compileError("unable to translate macro: undefined identifier `UL`"); // (no file):101:9 pub const __PTRDIFF_TYPE__ = c_long; pub const __PTRDIFF_FMTd__ = "ld"; pub const __PTRDIFF_FMTi__ = "li"; pub const __INTPTR_TYPE__ = c_long; pub const __INTPTR_FMTd__ = "ld"; pub const __INTPTR_FMTi__ = "li"; pub const __SIZE_TYPE__ = c_ulong; pub const __SIZE_FMTo__ = "lo"; pub const __SIZE_FMTu__ = "lu"; pub const __SIZE_FMTx__ = "lx"; pub const __SIZE_FMTX__ = "lX"; pub const __WCHAR_TYPE__ = c_int; pub const __WINT_TYPE__ = c_uint; pub const __SIG_ATOMIC_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_int, 2147483647, .decimal); pub const __SIG_ATOMIC_WIDTH__ = @as(c_int, 32); pub const __CHAR16_TYPE__ = c_ushort; pub const __CHAR32_TYPE__ = c_uint; pub const __UINTPTR_TYPE__ = c_ulong; pub const __UINTPTR_FMTo__ = "lo"; pub const __UINTPTR_FMTu__ = "lu"; pub const __UINTPTR_FMTx__ = "lx"; pub const __UINTPTR_FMTX__ = "lX"; pub const __FLT16_DENORM_MIN__ = @as(f16, 5.9604644775390625e-8); pub const __FLT16_HAS_DENORM__ = @as(c_int, 1); pub const __FLT16_DIG__ = @as(c_int, 3); pub const __FLT16_DECIMAL_DIG__ = @as(c_int, 5); pub const __FLT16_EPSILON__ = @as(f16, 9.765625e-4); pub const __FLT16_HAS_INFINITY__ = @as(c_int, 1); pub const __FLT16_HAS_QUIET_NAN__ = @as(c_int, 1); pub const __FLT16_MANT_DIG__ = @as(c_int, 11); pub const __FLT16_MAX_10_EXP__ = @as(c_int, 4); pub const __FLT16_MAX_EXP__ = @as(c_int, 16); pub const __FLT16_MAX__ = @as(f16, 6.5504e+4); pub const __FLT16_MIN_10_EXP__ = -@as(c_int, 4); pub const __FLT16_MIN_EXP__ = -@as(c_int, 13); pub const __FLT16_MIN__ = @as(f16, 6.103515625e-5); pub const __FLT_DENORM_MIN__ = @as(f32, 1.40129846e-45); pub const __FLT_HAS_DENORM__ = @as(c_int, 1); pub const __FLT_DIG__ = @as(c_int, 6); pub const __FLT_DECIMAL_DIG__ = @as(c_int, 9); pub const __FLT_EPSILON__ = @as(f32, 1.19209290e-7); pub const __FLT_HAS_INFINITY__ = @as(c_int, 1); pub const __FLT_HAS_QUIET_NAN__ = @as(c_int, 1); pub const __FLT_MANT_DIG__ = @as(c_int, 24); pub const __FLT_MAX_10_EXP__ = @as(c_int, 38); pub const __FLT_MAX_EXP__ = @as(c_int, 128); pub const __FLT_MAX__ = @as(f32, 3.40282347e+38); pub const __FLT_MIN_10_EXP__ = -@as(c_int, 37); pub const __FLT_MIN_EXP__ = -@as(c_int, 125); pub const __FLT_MIN__ = @as(f32, 1.17549435e-38); pub const __DBL_DENORM_MIN__ = @as(f64, 4.9406564584124654e-324); pub const __DBL_HAS_DENORM__ = @as(c_int, 1); pub const __DBL_DIG__ = @as(c_int, 15); pub const __DBL_DECIMAL_DIG__ = @as(c_int, 17); pub const __DBL_EPSILON__ = @as(f64, 2.2204460492503131e-16); pub const __DBL_HAS_INFINITY__ = @as(c_int, 1); pub const __DBL_HAS_QUIET_NAN__ = @as(c_int, 1); pub const __DBL_MANT_DIG__ = @as(c_int, 53); pub const __DBL_MAX_10_EXP__ = @as(c_int, 308); pub const __DBL_MAX_EXP__ = @as(c_int, 1024); pub const __DBL_MAX__ = @as(f64, 1.7976931348623157e+308); pub const __DBL_MIN_10_EXP__ = -@as(c_int, 307); pub const __DBL_MIN_EXP__ = -@as(c_int, 1021); pub const __DBL_MIN__ = @as(f64, 2.2250738585072014e-308); pub const __LDBL_DENORM_MIN__ = @as(c_longdouble, 3.64519953188247460253e-4951); pub const __LDBL_HAS_DENORM__ = @as(c_int, 1); pub const __LDBL_DIG__ = @as(c_int, 18); pub const __LDBL_DECIMAL_DIG__ = @as(c_int, 21); pub const __LDBL_EPSILON__ = @as(c_longdouble, 1.08420217248550443401e-19); pub const __LDBL_HAS_INFINITY__ = @as(c_int, 1); pub const __LDBL_HAS_QUIET_NAN__ = @as(c_int, 1); pub const __LDBL_MANT_DIG__ = @as(c_int, 64); pub const __LDBL_MAX_10_EXP__ = @as(c_int, 4932); pub const __LDBL_MAX_EXP__ = @as(c_int, 16384); pub const __LDBL_MAX__ = @as(c_longdouble, 1.18973149535723176502e+4932); pub const __LDBL_MIN_10_EXP__ = -@as(c_int, 4931); pub const __LDBL_MIN_EXP__ = -@as(c_int, 16381); pub const __LDBL_MIN__ = @as(c_longdouble, 3.36210314311209350626e-4932); pub const __POINTER_WIDTH__ = @as(c_int, 64); pub const __BIGGEST_ALIGNMENT__ = @as(c_int, 16); pub const __WINT_UNSIGNED__ = @as(c_int, 1); pub const __INT8_TYPE__ = i8; pub const __INT8_FMTd__ = "hhd"; pub const __INT8_FMTi__ = "hhi"; pub const __INT8_C_SUFFIX__ = ""; pub const __INT16_TYPE__ = c_short; pub const __INT16_FMTd__ = "hd"; pub const __INT16_FMTi__ = "hi"; pub const __INT16_C_SUFFIX__ = ""; pub const __INT32_TYPE__ = c_int; pub const __INT32_FMTd__ = "d"; pub const __INT32_FMTi__ = "i"; pub const __INT32_C_SUFFIX__ = ""; pub const __INT64_TYPE__ = c_long; pub const __INT64_FMTd__ = "ld"; pub const __INT64_FMTi__ = "li"; pub const __INT64_C_SUFFIX__ = @compileError("unable to translate macro: undefined identifier `L`"); // (no file):198:9 pub const __UINT8_TYPE__ = u8; pub const __UINT8_FMTo__ = "hho"; pub const __UINT8_FMTu__ = "hhu"; pub const __UINT8_FMTx__ = "hhx"; pub const __UINT8_FMTX__ = "hhX"; pub const __UINT8_C_SUFFIX__ = ""; pub const __UINT8_MAX__ = @as(c_int, 255); pub const __INT8_MAX__ = @as(c_int, 127); pub const __UINT16_TYPE__ = c_ushort; pub const __UINT16_FMTo__ = "ho"; pub const __UINT16_FMTu__ = "hu"; pub const __UINT16_FMTx__ = "hx"; pub const __UINT16_FMTX__ = "hX"; pub const __UINT16_C_SUFFIX__ = ""; pub const __UINT16_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_int, 65535, .decimal); pub const __INT16_MAX__ = @as(c_int, 32767); pub const __UINT32_TYPE__ = c_uint; pub const __UINT32_FMTo__ = "o"; pub const __UINT32_FMTu__ = "u"; pub const __UINT32_FMTx__ = "x"; pub const __UINT32_FMTX__ = "X"; pub const __UINT32_C_SUFFIX__ = @compileError("unable to translate macro: undefined identifier `U`"); // (no file):220:9 pub const __UINT32_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_uint, 4294967295, .decimal); pub const __INT32_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_int, 2147483647, .decimal); pub const __UINT64_TYPE__ = c_ulong; pub const __UINT64_FMTo__ = "lo"; pub const __UINT64_FMTu__ = "lu"; pub const __UINT64_FMTx__ = "lx"; pub const __UINT64_FMTX__ = "lX"; pub const __UINT64_C_SUFFIX__ = @compileError("unable to translate macro: undefined identifier `UL`"); // (no file):228:9 pub const __UINT64_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_ulong, 18446744073709551615, .decimal); pub const __INT64_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_long, 9223372036854775807, .decimal); pub const __INT_LEAST8_TYPE__ = i8; pub const __INT_LEAST8_MAX__ = @as(c_int, 127); pub const __INT_LEAST8_WIDTH__ = @as(c_int, 8); pub const __INT_LEAST8_FMTd__ = "hhd"; pub const __INT_LEAST8_FMTi__ = "hhi"; pub const __UINT_LEAST8_TYPE__ = u8; pub const __UINT_LEAST8_MAX__ = @as(c_int, 255); pub const __UINT_LEAST8_FMTo__ = "hho"; pub const __UINT_LEAST8_FMTu__ = "hhu"; pub const __UINT_LEAST8_FMTx__ = "hhx"; pub const __UINT_LEAST8_FMTX__ = "hhX"; pub const __INT_LEAST16_TYPE__ = c_short; pub const __INT_LEAST16_MAX__ = @as(c_int, 32767); pub const __INT_LEAST16_WIDTH__ = @as(c_int, 16); pub const __INT_LEAST16_FMTd__ = "hd"; pub const __INT_LEAST16_FMTi__ = "hi"; pub const __UINT_LEAST16_TYPE__ = c_ushort; pub const __UINT_LEAST16_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_int, 65535, .decimal); pub const __UINT_LEAST16_FMTo__ = "ho"; pub const __UINT_LEAST16_FMTu__ = "hu"; pub const __UINT_LEAST16_FMTx__ = "hx"; pub const __UINT_LEAST16_FMTX__ = "hX"; pub const __INT_LEAST32_TYPE__ = c_int; pub const __INT_LEAST32_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_int, 2147483647, .decimal); pub const __INT_LEAST32_WIDTH__ = @as(c_int, 32); pub const __INT_LEAST32_FMTd__ = "d"; pub const __INT_LEAST32_FMTi__ = "i"; pub const __UINT_LEAST32_TYPE__ = c_uint; pub const __UINT_LEAST32_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_uint, 4294967295, .decimal); pub const __UINT_LEAST32_FMTo__ = "o"; pub const __UINT_LEAST32_FMTu__ = "u"; pub const __UINT_LEAST32_FMTx__ = "x"; pub const __UINT_LEAST32_FMTX__ = "X"; pub const __INT_LEAST64_TYPE__ = c_long; pub const __INT_LEAST64_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_long, 9223372036854775807, .decimal); pub const __INT_LEAST64_WIDTH__ = @as(c_int, 64); pub const __INT_LEAST64_FMTd__ = "ld"; pub const __INT_LEAST64_FMTi__ = "li"; pub const __UINT_LEAST64_TYPE__ = c_ulong; pub const __UINT_LEAST64_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_ulong, 18446744073709551615, .decimal); pub const __UINT_LEAST64_FMTo__ = "lo"; pub const __UINT_LEAST64_FMTu__ = "lu"; pub const __UINT_LEAST64_FMTx__ = "lx"; pub const __UINT_LEAST64_FMTX__ = "lX"; pub const __INT_FAST8_TYPE__ = i8; pub const __INT_FAST8_MAX__ = @as(c_int, 127); pub const __INT_FAST8_WIDTH__ = @as(c_int, 8); pub const __INT_FAST8_FMTd__ = "hhd"; pub const __INT_FAST8_FMTi__ = "hhi"; pub const __UINT_FAST8_TYPE__ = u8; pub const __UINT_FAST8_MAX__ = @as(c_int, 255); pub const __UINT_FAST8_FMTo__ = "hho"; pub const __UINT_FAST8_FMTu__ = "hhu"; pub const __UINT_FAST8_FMTx__ = "hhx"; pub const __UINT_FAST8_FMTX__ = "hhX"; pub const __INT_FAST16_TYPE__ = c_short; pub const __INT_FAST16_MAX__ = @as(c_int, 32767); pub const __INT_FAST16_WIDTH__ = @as(c_int, 16); pub const __INT_FAST16_FMTd__ = "hd"; pub const __INT_FAST16_FMTi__ = "hi"; pub const __UINT_FAST16_TYPE__ = c_ushort; pub const __UINT_FAST16_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_int, 65535, .decimal); pub const __UINT_FAST16_FMTo__ = "ho"; pub const __UINT_FAST16_FMTu__ = "hu"; pub const __UINT_FAST16_FMTx__ = "hx"; pub const __UINT_FAST16_FMTX__ = "hX"; pub const __INT_FAST32_TYPE__ = c_int; pub const __INT_FAST32_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_int, 2147483647, .decimal); pub const __INT_FAST32_WIDTH__ = @as(c_int, 32); pub const __INT_FAST32_FMTd__ = "d"; pub const __INT_FAST32_FMTi__ = "i"; pub const __UINT_FAST32_TYPE__ = c_uint; pub const __UINT_FAST32_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_uint, 4294967295, .decimal); pub const __UINT_FAST32_FMTo__ = "o"; pub const __UINT_FAST32_FMTu__ = "u"; pub const __UINT_FAST32_FMTx__ = "x"; pub const __UINT_FAST32_FMTX__ = "X"; pub const __INT_FAST64_TYPE__ = c_long; pub const __INT_FAST64_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_long, 9223372036854775807, .decimal); pub const __INT_FAST64_WIDTH__ = @as(c_int, 64); pub const __INT_FAST64_FMTd__ = "ld"; pub const __INT_FAST64_FMTi__ = "li"; pub const __UINT_FAST64_TYPE__ = c_ulong; pub const __UINT_FAST64_MAX__ = @import("std").zig.c_translation.promoteIntLiteral(c_ulong, 18446744073709551615, .decimal); pub const __UINT_FAST64_FMTo__ = "lo"; pub const __UINT_FAST64_FMTu__ = "lu"; pub const __UINT_FAST64_FMTx__ = "lx"; pub const __UINT_FAST64_FMTX__ = "lX"; pub const __USER_LABEL_PREFIX__ = ""; pub const __FINITE_MATH_ONLY__ = @as(c_int, 0); pub const __GNUC_STDC_INLINE__ = @as(c_int, 1); pub const __GCC_ATOMIC_TEST_AND_SET_TRUEVAL = @as(c_int, 1); pub const __CLANG_ATOMIC_BOOL_LOCK_FREE = @as(c_int, 2); pub const __CLANG_ATOMIC_CHAR_LOCK_FREE = @as(c_int, 2); pub const __CLANG_ATOMIC_CHAR16_T_LOCK_FREE = @as(c_int, 2); pub const __CLANG_ATOMIC_CHAR32_T_LOCK_FREE = @as(c_int, 2); pub const __CLANG_ATOMIC_WCHAR_T_LOCK_FREE = @as(c_int, 2); pub const __CLANG_ATOMIC_SHORT_LOCK_FREE = @as(c_int, 2); pub const __CLANG_ATOMIC_INT_LOCK_FREE = @as(c_int, 2); pub const __CLANG_ATOMIC_LONG_LOCK_FREE = @as(c_int, 2); pub const __CLANG_ATOMIC_LLONG_LOCK_FREE = @as(c_int, 2); pub const __CLANG_ATOMIC_POINTER_LOCK_FREE = @as(c_int, 2); pub const __GCC_ATOMIC_BOOL_LOCK_FREE = @as(c_int, 2); pub const __GCC_ATOMIC_CHAR_LOCK_FREE = @as(c_int, 2); pub const __GCC_ATOMIC_CHAR16_T_LOCK_FREE = @as(c_int, 2); pub const __GCC_ATOMIC_CHAR32_T_LOCK_FREE = @as(c_int, 2); pub const __GCC_ATOMIC_WCHAR_T_LOCK_FREE = @as(c_int, 2); pub const __GCC_ATOMIC_SHORT_LOCK_FREE = @as(c_int, 2); pub const __GCC_ATOMIC_INT_LOCK_FREE = @as(c_int, 2); pub const __GCC_ATOMIC_LONG_LOCK_FREE = @as(c_int, 2); pub const __GCC_ATOMIC_LLONG_LOCK_FREE = @as(c_int, 2); pub const __GCC_ATOMIC_POINTER_LOCK_FREE = @as(c_int, 2); pub const __NO_INLINE__ = @as(c_int, 1); pub const __PIC__ = @as(c_int, 2); pub const __pic__ = @as(c_int, 2); pub const __FLT_RADIX__ = @as(c_int, 2); pub const __DECIMAL_DIG__ = __LDBL_DECIMAL_DIG__; pub const __SSP_STRONG__ = @as(c_int, 2); pub const __ELF__ = @as(c_int, 1); pub const __GCC_ASM_FLAG_OUTPUTS__ = @as(c_int, 1); pub const __code_model_small__ = @as(c_int, 1); pub const __amd64__ = @as(c_int, 1); pub const __amd64 = @as(c_int, 1); pub const __x86_64 = @as(c_int, 1); pub const __x86_64__ = @as(c_int, 1); pub const __SEG_GS = @as(c_int, 1); pub const __SEG_FS = @as(c_int, 1); pub const __seg_gs = @compileError("unable to translate macro: undefined identifier `address_space`"); // (no file):358:9 pub const __seg_fs = @compileError("unable to translate macro: undefined identifier `address_space`"); // (no file):359:9 pub const __corei7 = @as(c_int, 1); pub const __corei7__ = @as(c_int, 1); pub const __tune_corei7__ = @as(c_int, 1); pub const __REGISTER_PREFIX__ = ""; pub const __NO_MATH_INLINES = @as(c_int, 1); pub const __AES__ = @as(c_int, 1); pub const __VAES__ = @as(c_int, 1); pub const __PCLMUL__ = @as(c_int, 1); pub const __VPCLMULQDQ__ = @as(c_int, 1); pub const __LAHF_SAHF__ = @as(c_int, 1); pub const __LZCNT__ = @as(c_int, 1); pub const __RDRND__ = @as(c_int, 1); pub const __FSGSBASE__ = @as(c_int, 1); pub const __BMI__ = @as(c_int, 1); pub const __BMI2__ = @as(c_int, 1); pub const __POPCNT__ = @as(c_int, 1); pub const __PRFCHW__ = @as(c_int, 1); pub const __RDSEED__ = @as(c_int, 1); pub const __ADX__ = @as(c_int, 1); pub const __MOVBE__ = @as(c_int, 1); pub const __FMA__ = @as(c_int, 1); pub const __F16C__ = @as(c_int, 1); pub const __GFNI__ = @as(c_int, 1); pub const __EVEX512__ = @as(c_int, 1); pub const __AVX512CD__ = @as(c_int, 1); pub const __AVX512VPOPCNTDQ__ = @as(c_int, 1); pub const __AVX512VNNI__ = @as(c_int, 1); pub const __AVX512DQ__ = @as(c_int, 1); pub const __AVX512BITALG__ = @as(c_int, 1); pub const __AVX512BW__ = @as(c_int, 1); pub const __AVX512VL__ = @as(c_int, 1); pub const __EVEX256__ = @as(c_int, 1); pub const __AVX512VBMI__ = @as(c_int, 1); pub const __AVX512VBMI2__ = @as(c_int, 1); pub const __AVX512IFMA__ = @as(c_int, 1); pub const __SHA__ = @as(c_int, 1); pub const __FXSR__ = @as(c_int, 1); pub const __XSAVE__ = @as(c_int, 1); pub const __XSAVEOPT__ = @as(c_int, 1); pub const __XSAVEC__ = @as(c_int, 1); pub const __XSAVES__ = @as(c_int, 1); pub const __PKU__ = @as(c_int, 1); pub const __CLFLUSHOPT__ = @as(c_int, 1); pub const __SGX__ = @as(c_int, 1); pub const __RDPID__ = @as(c_int, 1); pub const __INVPCID__ = @as(c_int, 1); pub const __CRC32__ = @as(c_int, 1); pub const __AVX512F__ = @as(c_int, 1); pub const __AVX2__ = @as(c_int, 1); pub const __AVX__ = @as(c_int, 1); pub const __SSE4_2__ = @as(c_int, 1); pub const __SSE4_1__ = @as(c_int, 1); pub const __SSSE3__ = @as(c_int, 1); pub const __SSE3__ = @as(c_int, 1); pub const __SSE2__ = @as(c_int, 1); pub const __SSE2_MATH__ = @as(c_int, 1); pub const __SSE__ = @as(c_int, 1); pub const __SSE_MATH__ = @as(c_int, 1); pub const __MMX__ = @as(c_int, 1); pub const __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1 = @as(c_int, 1); pub const __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 = @as(c_int, 1); pub const __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 = @as(c_int, 1); pub const __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 = @as(c_int, 1); pub const __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16 = @as(c_int, 1); pub const __SIZEOF_FLOAT128__ = @as(c_int, 16); pub const unix = @as(c_int, 1); pub const __unix = @as(c_int, 1); pub const __unix__ = @as(c_int, 1); pub const linux = @as(c_int, 1); pub const __linux = @as(c_int, 1); pub const __linux__ = @as(c_int, 1); pub const __gnu_linux__ = @as(c_int, 1); pub const __FLOAT128__ = @as(c_int, 1); pub const __STDC__ = @as(c_int, 1); pub const __STDC_HOSTED__ = @as(c_int, 1); pub const __STDC_VERSION__ = @as(c_long, 201710); pub const __STDC_UTF_16__ = @as(c_int, 1); pub const __STDC_UTF_32__ = @as(c_int, 1); pub const __GLIBC_MINOR__ = @as(c_int, 39); pub const _DEBUG = @as(c_int, 1); pub const __GCC_HAVE_DWARF2_CFI_ASM = @as(c_int, 1); pub const PDFGEN_H = ""; pub const __CLANG_STDINT_H = ""; pub const _STDINT_H = @as(c_int, 1); pub const __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION = ""; pub const _FEATURES_H = @as(c_int, 1); pub const __KERNEL_STRICT_NAMES = ""; pub inline fn __GNUC_PREREQ(maj: anytype, min: anytype) @TypeOf(((__GNUC__ << @as(c_int, 16)) + __GNUC_MINOR__) >= ((maj << @as(c_int, 16)) + min)) { _ = &maj; _ = &min; return ((__GNUC__ << @as(c_int, 16)) + __GNUC_MINOR__) >= ((maj << @as(c_int, 16)) + min); } pub inline fn __glibc_clang_prereq(maj: anytype, min: anytype) @TypeOf(((__clang_major__ << @as(c_int, 16)) + __clang_minor__) >= ((maj << @as(c_int, 16)) + min)) { _ = &maj; _ = &min; return ((__clang_major__ << @as(c_int, 16)) + __clang_minor__) >= ((maj << @as(c_int, 16)) + min); } pub const __GLIBC_USE = @compileError("unable to translate macro: undefined identifier `__GLIBC_USE_`"); // /usr/include/features.h:188:9 pub const _DEFAULT_SOURCE = @as(c_int, 1); pub const __GLIBC_USE_ISOC2X = @as(c_int, 0); pub const __USE_ISOC11 = @as(c_int, 1); pub const __USE_ISOC99 = @as(c_int, 1); pub const __USE_ISOC95 = @as(c_int, 1); pub const __USE_POSIX_IMPLICITLY = @as(c_int, 1); pub const _POSIX_SOURCE = @as(c_int, 1); pub const _POSIX_C_SOURCE = @as(c_long, 200809); pub const __USE_POSIX = @as(c_int, 1); pub const __USE_POSIX2 = @as(c_int, 1); pub const __USE_POSIX199309 = @as(c_int, 1); pub const __USE_POSIX199506 = @as(c_int, 1); pub const __USE_XOPEN2K = @as(c_int, 1); pub const __USE_XOPEN2K8 = @as(c_int, 1); pub const _ATFILE_SOURCE = @as(c_int, 1); pub const __WORDSIZE = @as(c_int, 64); pub const __WORDSIZE_TIME64_COMPAT32 = @as(c_int, 1); pub const __SYSCALL_WORDSIZE = @as(c_int, 64); pub const __TIMESIZE = __WORDSIZE; pub const __USE_MISC = @as(c_int, 1); pub const __USE_ATFILE = @as(c_int, 1); pub const __USE_FORTIFY_LEVEL = @as(c_int, 0); pub const __GLIBC_USE_DEPRECATED_GETS = @as(c_int, 0); pub const __GLIBC_USE_DEPRECATED_SCANF = @as(c_int, 0); pub const __GLIBC_USE_C2X_STRTOL = @as(c_int, 0); pub const _STDC_PREDEF_H = @as(c_int, 1); pub const __STDC_IEC_559__ = @as(c_int, 1); pub const __STDC_IEC_60559_BFP__ = @as(c_long, 201404); pub const __STDC_IEC_559_COMPLEX__ = @as(c_int, 1); pub const __STDC_IEC_60559_COMPLEX__ = @as(c_long, 201404); pub const __STDC_ISO_10646__ = @as(c_long, 201706); pub const __GNU_LIBRARY__ = @as(c_int, 6); pub const __GLIBC__ = @as(c_int, 2); pub inline fn __GLIBC_PREREQ(maj: anytype, min: anytype) @TypeOf(((__GLIBC__ << @as(c_int, 16)) + __GLIBC_MINOR__) >= ((maj << @as(c_int, 16)) + min)) { _ = &maj; _ = &min; return ((__GLIBC__ << @as(c_int, 16)) + __GLIBC_MINOR__) >= ((maj << @as(c_int, 16)) + min); } pub const _SYS_CDEFS_H = @as(c_int, 1); pub const __glibc_has_attribute = @compileError("unable to translate macro: undefined identifier `__has_attribute`"); // /usr/include/sys/cdefs.h:45:10 pub inline fn __glibc_has_builtin(name: anytype) @TypeOf(__has_builtin(name)) { _ = &name; return __has_builtin(name); } pub const __glibc_has_extension = @compileError("unable to translate macro: undefined identifier `__has_extension`"); // /usr/include/sys/cdefs.h:55:10 pub const __LEAF = ""; pub const __LEAF_ATTR = ""; pub const __THROW = @compileError("unable to translate macro: undefined identifier `__nothrow__`"); // /usr/include/sys/cdefs.h:79:11 pub const __THROWNL = @compileError("unable to translate macro: undefined identifier `__nothrow__`"); // /usr/include/sys/cdefs.h:80:11 pub const __NTH = @compileError("unable to translate macro: undefined identifier `__nothrow__`"); // /usr/include/sys/cdefs.h:81:11 pub const __NTHNL = @compileError("unable to translate macro: undefined identifier `__nothrow__`"); // /usr/include/sys/cdefs.h:82:11 pub const __COLD = @compileError("unable to translate macro: undefined identifier `__cold__`"); // /usr/include/sys/cdefs.h:102:11 pub inline fn __P(args: anytype) @TypeOf(args) { _ = &args; return args; } pub inline fn __PMT(args: anytype) @TypeOf(args) { _ = &args; return args; } pub const __CONCAT = @compileError("unable to translate C expr: unexpected token '##'"); // /usr/include/sys/cdefs.h:131:9 pub const __STRING = @compileError("unable to translate C expr: unexpected token '#'"); // /usr/include/sys/cdefs.h:132:9 pub const __ptr_t = ?*anyopaque; pub const __BEGIN_DECLS = ""; pub const __END_DECLS = ""; pub inline fn __bos(ptr: anytype) @TypeOf(__builtin_object_size(ptr, __USE_FORTIFY_LEVEL > @as(c_int, 1))) { _ = &ptr; return __builtin_object_size(ptr, __USE_FORTIFY_LEVEL > @as(c_int, 1)); } pub inline fn __bos0(ptr: anytype) @TypeOf(__builtin_object_size(ptr, @as(c_int, 0))) { _ = &ptr; return __builtin_object_size(ptr, @as(c_int, 0)); } pub inline fn __glibc_objsize0(__o: anytype) @TypeOf(__bos0(__o)) { _ = &__o; return __bos0(__o); } pub inline fn __glibc_objsize(__o: anytype) @TypeOf(__bos(__o)) { _ = &__o; return __bos(__o); } pub const __warnattr = @compileError("unable to translate C expr: unexpected token ''"); // /usr/include/sys/cdefs.h:216:10 pub const __errordecl = @compileError("unable to translate C expr: unexpected token 'extern'"); // /usr/include/sys/cdefs.h:217:10 pub const __flexarr = @compileError("unable to translate C expr: unexpected token '['"); // /usr/include/sys/cdefs.h:225:10 pub const __glibc_c99_flexarr_available = @as(c_int, 1); pub const __REDIRECT = @compileError("unable to translate C expr: unexpected token '__asm__'"); // /usr/include/sys/cdefs.h:256:10 pub const __REDIRECT_NTH = @compileError("unable to translate C expr: unexpected token '__asm__'"); // /usr/include/sys/cdefs.h:263:11 pub const __REDIRECT_NTHNL = @compileError("unable to translate C expr: unexpected token '__asm__'"); // /usr/include/sys/cdefs.h:265:11 pub const __ASMNAME = @compileError("unable to translate C expr: unexpected token ','"); // /usr/include/sys/cdefs.h:268:10 pub inline fn __ASMNAME2(prefix: anytype, cname: anytype) @TypeOf(__STRING(prefix) ++ cname) { _ = &prefix; _ = &cname; return __STRING(prefix) ++ cname; } pub const __REDIRECT_FORTIFY = __REDIRECT; pub const __REDIRECT_FORTIFY_NTH = __REDIRECT_NTH; pub const __attribute_malloc__ = @compileError("unable to translate macro: undefined identifier `__malloc__`"); // /usr/include/sys/cdefs.h:298:10 pub const __attribute_alloc_size__ = @compileError("unable to translate C expr: unexpected token ''"); // /usr/include/sys/cdefs.h:309:10 pub const __attribute_alloc_align__ = @compileError("unable to translate macro: undefined identifier `__alloc_align__`"); // /usr/include/sys/cdefs.h:315:10 pub const __attribute_pure__ = @compileError("unable to translate macro: undefined identifier `__pure__`"); // /usr/include/sys/cdefs.h:325:10 pub const __attribute_const__ = @compileError("unable to translate C expr: unexpected token '__attribute__'"); // /usr/include/sys/cdefs.h:332:10 pub const __attribute_maybe_unused__ = @compileError("unable to translate macro: undefined identifier `__unused__`"); // /usr/include/sys/cdefs.h:338:10 pub const __attribute_used__ = @compileError("unable to translate macro: undefined identifier `__used__`"); // /usr/include/sys/cdefs.h:347:10 pub const __attribute_noinline__ = @compileError("unable to translate macro: undefined identifier `__noinline__`"); // /usr/include/sys/cdefs.h:348:10 pub const __attribute_deprecated__ = @compileError("unable to translate macro: undefined identifier `__deprecated__`"); // /usr/include/sys/cdefs.h:356:10 pub const __attribute_deprecated_msg__ = @compileError("unable to translate macro: undefined identifier `__deprecated__`"); // /usr/include/sys/cdefs.h:366:10 pub const __attribute_format_arg__ = @compileError("unable to translate macro: undefined identifier `__format_arg__`"); // /usr/include/sys/cdefs.h:379:10 pub const __attribute_format_strfmon__ = @compileError("unable to translate macro: undefined identifier `__format__`"); // /usr/include/sys/cdefs.h:389:10 pub const __attribute_nonnull__ = @compileError("unable to translate macro: undefined identifier `__nonnull__`"); // /usr/include/sys/cdefs.h:401:11 pub inline fn __nonnull(params: anytype) @TypeOf(__attribute_nonnull__(params)) { _ = ¶ms; return __attribute_nonnull__(params); } pub const __returns_nonnull = @compileError("unable to translate macro: undefined identifier `__returns_nonnull__`"); // /usr/include/sys/cdefs.h:414:10 pub const __attribute_warn_unused_result__ = @compileError("unable to translate macro: undefined identifier `__warn_unused_result__`"); // /usr/include/sys/cdefs.h:423:10 pub const __wur = ""; pub const __always_inline = @compileError("unable to translate macro: undefined identifier `__always_inline__`"); // /usr/include/sys/cdefs.h:441:10 pub const __attribute_artificial__ = @compileError("unable to translate macro: undefined identifier `__artificial__`"); // /usr/include/sys/cdefs.h:450:10 pub const __extern_inline = @compileError("unable to translate macro: undefined identifier `__gnu_inline__`"); // /usr/include/sys/cdefs.h:468:11 pub const __extern_always_inline = @compileError("unable to translate macro: undefined identifier `__gnu_inline__`"); // /usr/include/sys/cdefs.h:469:11 pub const __fortify_function = __extern_always_inline ++ __attribute_artificial__; pub const __restrict_arr = @compileError("unable to translate C expr: unexpected token '__restrict'"); // /usr/include/sys/cdefs.h:512:10 pub inline fn __glibc_unlikely(cond: anytype) @TypeOf(__builtin_expect(cond, @as(c_int, 0))) { _ = &cond; return __builtin_expect(cond, @as(c_int, 0)); } pub inline fn __glibc_likely(cond: anytype) @TypeOf(__builtin_expect(cond, @as(c_int, 1))) { _ = &cond; return __builtin_expect(cond, @as(c_int, 1)); } pub const __attribute_nonstring__ = ""; pub const __attribute_copy__ = @compileError("unable to translate C expr: unexpected token ''"); // /usr/include/sys/cdefs.h:561:10 pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI = @as(c_int, 0); pub inline fn __LDBL_REDIR1(name: anytype, proto: anytype, alias: anytype) @TypeOf(name ++ proto) { _ = &name; _ = &proto; _ = &alias; return name ++ proto; } pub inline fn __LDBL_REDIR(name: anytype, proto: anytype) @TypeOf(name ++ proto) { _ = &name; _ = &proto; return name ++ proto; } pub inline fn __LDBL_REDIR1_NTH(name: anytype, proto: anytype, alias: anytype) @TypeOf(name ++ proto ++ __THROW) { _ = &name; _ = &proto; _ = &alias; return name ++ proto ++ __THROW; } pub inline fn __LDBL_REDIR_NTH(name: anytype, proto: anytype) @TypeOf(name ++ proto ++ __THROW) { _ = &name; _ = &proto; return name ++ proto ++ __THROW; } pub const __LDBL_REDIR2_DECL = @compileError("unable to translate C expr: unexpected token ''"); // /usr/include/sys/cdefs.h:638:10 pub const __LDBL_REDIR_DECL = @compileError("unable to translate C expr: unexpected token ''"); // /usr/include/sys/cdefs.h:639:10 pub inline fn __REDIRECT_LDBL(name: anytype, proto: anytype, alias: anytype) @TypeOf(__REDIRECT(name, proto, alias)) { _ = &name; _ = &proto; _ = &alias; return __REDIRECT(name, proto, alias); } pub inline fn __REDIRECT_NTH_LDBL(name: anytype, proto: anytype, alias: anytype) @TypeOf(__REDIRECT_NTH(name, proto, alias)) { _ = &name; _ = &proto; _ = &alias; return __REDIRECT_NTH(name, proto, alias); } pub const __glibc_macro_warning1 = @compileError("unable to translate macro: undefined identifier `_Pragma`"); // /usr/include/sys/cdefs.h:653:10 pub const __glibc_macro_warning = @compileError("unable to translate macro: undefined identifier `GCC`"); // /usr/include/sys/cdefs.h:654:10 pub const __HAVE_GENERIC_SELECTION = @as(c_int, 1); pub const __fortified_attr_access = @compileError("unable to translate C expr: unexpected token ''"); // /usr/include/sys/cdefs.h:699:11 pub const __attr_access = @compileError("unable to translate C expr: unexpected token ''"); // /usr/include/sys/cdefs.h:700:11 pub const __attr_access_none = @compileError("unable to translate C expr: unexpected token ''"); // /usr/include/sys/cdefs.h:701:11 pub const __attr_dealloc = @compileError("unable to translate C expr: unexpected token ''"); // /usr/include/sys/cdefs.h:711:10 pub const __attr_dealloc_free = ""; pub const __attribute_returns_twice__ = @compileError("unable to translate macro: undefined identifier `__returns_twice__`"); // /usr/include/sys/cdefs.h:718:10 pub const __stub___compat_bdflush = ""; pub const __stub_chflags = ""; pub const __stub_fchflags = ""; pub const __stub_gtty = ""; pub const __stub_revoke = ""; pub const __stub_setlogin = ""; pub const __stub_sigreturn = ""; pub const __stub_stty = ""; pub const __GLIBC_USE_LIB_EXT2 = @as(c_int, 0); pub const __GLIBC_USE_IEC_60559_BFP_EXT = @as(c_int, 0); pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X = @as(c_int, 0); pub const __GLIBC_USE_IEC_60559_EXT = @as(c_int, 0); pub const __GLIBC_USE_IEC_60559_FUNCS_EXT = @as(c_int, 0); pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X = @as(c_int, 0); pub const __GLIBC_USE_IEC_60559_TYPES_EXT = @as(c_int, 0); pub const _BITS_TYPES_H = @as(c_int, 1); pub const __S16_TYPE = c_short; pub const __U16_TYPE = c_ushort; pub const __S32_TYPE = c_int; pub const __U32_TYPE = c_uint; pub const __SLONGWORD_TYPE = c_long; pub const __ULONGWORD_TYPE = c_ulong; pub const __SQUAD_TYPE = c_long; pub const __UQUAD_TYPE = c_ulong; pub const __SWORD_TYPE = c_long; pub const __UWORD_TYPE = c_ulong; pub const __SLONG32_TYPE = c_int; pub const __ULONG32_TYPE = c_uint; pub const __S64_TYPE = c_long; pub const __U64_TYPE = c_ulong; pub const __STD_TYPE = @compileError("unable to translate C expr: unexpected token 'typedef'"); // /usr/include/bits/types.h:137:10 pub const _BITS_TYPESIZES_H = @as(c_int, 1); pub const __SYSCALL_SLONG_TYPE = __SLONGWORD_TYPE; pub const __SYSCALL_ULONG_TYPE = __ULONGWORD_TYPE; pub const __DEV_T_TYPE = __UQUAD_TYPE; pub const __UID_T_TYPE = __U32_TYPE; pub const __GID_T_TYPE = __U32_TYPE; pub const __INO_T_TYPE = __SYSCALL_ULONG_TYPE; pub const __INO64_T_TYPE = __UQUAD_TYPE; pub const __MODE_T_TYPE = __U32_TYPE; pub const __NLINK_T_TYPE = __SYSCALL_ULONG_TYPE; pub const __FSWORD_T_TYPE = __SYSCALL_SLONG_TYPE; pub const __OFF_T_TYPE = __SYSCALL_SLONG_TYPE; pub const __OFF64_T_TYPE = __SQUAD_TYPE; pub const __PID_T_TYPE = __S32_TYPE; pub const __RLIM_T_TYPE = __SYSCALL_ULONG_TYPE; pub const __RLIM64_T_TYPE = __UQUAD_TYPE; pub const __BLKCNT_T_TYPE = __SYSCALL_SLONG_TYPE; pub const __BLKCNT64_T_TYPE = __SQUAD_TYPE; pub const __FSBLKCNT_T_TYPE = __SYSCALL_ULONG_TYPE; pub const __FSBLKCNT64_T_TYPE = __UQUAD_TYPE; pub const __FSFILCNT_T_TYPE = __SYSCALL_ULONG_TYPE; pub const __FSFILCNT64_T_TYPE = __UQUAD_TYPE; pub const __ID_T_TYPE = __U32_TYPE; pub const __CLOCK_T_TYPE = __SYSCALL_SLONG_TYPE; pub const __TIME_T_TYPE = __SYSCALL_SLONG_TYPE; pub const __USECONDS_T_TYPE = __U32_TYPE; pub const __SUSECONDS_T_TYPE = __SYSCALL_SLONG_TYPE; pub const __SUSECONDS64_T_TYPE = __SQUAD_TYPE; pub const __DADDR_T_TYPE = __S32_TYPE; pub const __KEY_T_TYPE = __S32_TYPE; pub const __CLOCKID_T_TYPE = __S32_TYPE; pub const __TIMER_T_TYPE = ?*anyopaque; pub const __BLKSIZE_T_TYPE = __SYSCALL_SLONG_TYPE; pub const __FSID_T_TYPE = @compileError("unable to translate macro: undefined identifier `__val`"); // /usr/include/bits/typesizes.h:73:9 pub const __SSIZE_T_TYPE = __SWORD_TYPE; pub const __CPU_MASK_TYPE = __SYSCALL_ULONG_TYPE; pub const __OFF_T_MATCHES_OFF64_T = @as(c_int, 1); pub const __INO_T_MATCHES_INO64_T = @as(c_int, 1); pub const __RLIM_T_MATCHES_RLIM64_T = @as(c_int, 1); pub const __STATFS_MATCHES_STATFS64 = @as(c_int, 1); pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 = @as(c_int, 1); pub const __FD_SETSIZE = @as(c_int, 1024); pub const _BITS_TIME64_H = @as(c_int, 1); pub const __TIME64_T_TYPE = __TIME_T_TYPE; pub const _BITS_WCHAR_H = @as(c_int, 1); pub const __WCHAR_MAX = __WCHAR_MAX__; pub const __WCHAR_MIN = -__WCHAR_MAX - @as(c_int, 1); pub const _BITS_STDINT_INTN_H = @as(c_int, 1); pub const _BITS_STDINT_UINTN_H = @as(c_int, 1); pub const _BITS_STDINT_LEAST_H = @as(c_int, 1); pub const __intptr_t_defined = ""; pub const __INT64_C = @import("std").zig.c_translation.Macros.L_SUFFIX; pub const __UINT64_C = @import("std").zig.c_translation.Macros.UL_SUFFIX; pub const INT8_MIN = -@as(c_int, 128); pub const INT16_MIN = -@as(c_int, 32767) - @as(c_int, 1); pub const INT32_MIN = -@import("std").zig.c_translation.promoteIntLiteral(c_int, 2147483647, .decimal) - @as(c_int, 1); pub const INT64_MIN = -__INT64_C(@import("std").zig.c_translation.promoteIntLiteral(c_int, 9223372036854775807, .decimal)) - @as(c_int, 1); pub const INT8_MAX = @as(c_int, 127); pub const INT16_MAX = @as(c_int, 32767); pub const INT32_MAX = @import("std").zig.c_translation.promoteIntLiteral(c_int, 2147483647, .decimal); pub const INT64_MAX = __INT64_C(@import("std").zig.c_translation.promoteIntLiteral(c_int, 9223372036854775807, .decimal)); pub const UINT8_MAX = @as(c_int, 255); pub const UINT16_MAX = @import("std").zig.c_translation.promoteIntLiteral(c_int, 65535, .decimal); pub const UINT32_MAX = @import("std").zig.c_translation.promoteIntLiteral(c_uint, 4294967295, .decimal); pub const UINT64_MAX = __UINT64_C(@import("std").zig.c_translation.promoteIntLiteral(c_int, 18446744073709551615, .decimal)); pub const INT_LEAST8_MIN = -@as(c_int, 128); pub const INT_LEAST16_MIN = -@as(c_int, 32767) - @as(c_int, 1); pub const INT_LEAST32_MIN = -@import("std").zig.c_translation.promoteIntLiteral(c_int, 2147483647, .decimal) - @as(c_int, 1); pub const INT_LEAST64_MIN = -__INT64_C(@import("std").zig.c_translation.promoteIntLiteral(c_int, 9223372036854775807, .decimal)) - @as(c_int, 1); pub const INT_LEAST8_MAX = @as(c_int, 127); pub const INT_LEAST16_MAX = @as(c_int, 32767); pub const INT_LEAST32_MAX = @import("std").zig.c_translation.promoteIntLiteral(c_int, 2147483647, .decimal); pub const INT_LEAST64_MAX = __INT64_C(@import("std").zig.c_translation.promoteIntLiteral(c_int, 9223372036854775807, .decimal)); pub const UINT_LEAST8_MAX = @as(c_int, 255); pub const UINT_LEAST16_MAX = @import("std").zig.c_translation.promoteIntLiteral(c_int, 65535, .decimal); pub const UINT_LEAST32_MAX = @import("std").zig.c_translation.promoteIntLiteral(c_uint, 4294967295, .decimal); pub const UINT_LEAST64_MAX = __UINT64_C(@import("std").zig.c_translation.promoteIntLiteral(c_int, 18446744073709551615, .decimal)); pub const INT_FAST8_MIN = -@as(c_int, 128); pub const INT_FAST16_MIN = -@import("std").zig.c_translation.promoteIntLiteral(c_long, 9223372036854775807, .decimal) - @as(c_int, 1); pub const INT_FAST32_MIN = -@import("std").zig.c_translation.promoteIntLiteral(c_long, 9223372036854775807, .decimal) - @as(c_int, 1); pub const INT_FAST64_MIN = -__INT64_C(@import("std").zig.c_translation.promoteIntLiteral(c_int, 9223372036854775807, .decimal)) - @as(c_int, 1); pub const INT_FAST8_MAX = @as(c_int, 127); pub const INT_FAST16_MAX = @import("std").zig.c_translation.promoteIntLiteral(c_long, 9223372036854775807, .decimal); pub const INT_FAST32_MAX = @import("std").zig.c_translation.promoteIntLiteral(c_long, 9223372036854775807, .decimal); pub const INT_FAST64_MAX = __INT64_C(@import("std").zig.c_translation.promoteIntLiteral(c_int, 9223372036854775807, .decimal)); pub const UINT_FAST8_MAX = @as(c_int, 255); pub const UINT_FAST16_MAX = @import("std").zig.c_translation.promoteIntLiteral(c_ulong, 18446744073709551615, .decimal); pub const UINT_FAST32_MAX = @import("std").zig.c_translation.promoteIntLiteral(c_ulong, 18446744073709551615, .decimal); pub const UINT_FAST64_MAX = __UINT64_C(@import("std").zig.c_translation.promoteIntLiteral(c_int, 18446744073709551615, .decimal)); pub const INTPTR_MIN = -@import("std").zig.c_translation.promoteIntLiteral(c_long, 9223372036854775807, .decimal) - @as(c_int, 1); pub const INTPTR_MAX = @import("std").zig.c_translation.promoteIntLiteral(c_long, 9223372036854775807, .decimal); pub const UINTPTR_MAX = @import("std").zig.c_translation.promoteIntLiteral(c_ulong, 18446744073709551615, .decimal); pub const INTMAX_MIN = -__INT64_C(@import("std").zig.c_translation.promoteIntLiteral(c_int, 9223372036854775807, .decimal)) - @as(c_int, 1); pub const INTMAX_MAX = __INT64_C(@import("std").zig.c_translation.promoteIntLiteral(c_int, 9223372036854775807, .decimal)); pub const UINTMAX_MAX = __UINT64_C(@import("std").zig.c_translation.promoteIntLiteral(c_int, 18446744073709551615, .decimal)); pub const PTRDIFF_MIN = -@import("std").zig.c_translation.promoteIntLiteral(c_long, 9223372036854775807, .decimal) - @as(c_int, 1); pub const PTRDIFF_MAX = @import("std").zig.c_translation.promoteIntLiteral(c_long, 9223372036854775807, .decimal); pub const SIG_ATOMIC_MIN = -@import("std").zig.c_translation.promoteIntLiteral(c_int, 2147483647, .decimal) - @as(c_int, 1); pub const SIG_ATOMIC_MAX = @import("std").zig.c_translation.promoteIntLiteral(c_int, 2147483647, .decimal); pub const SIZE_MAX = @import("std").zig.c_translation.promoteIntLiteral(c_ulong, 18446744073709551615, .decimal); pub const WCHAR_MIN = __WCHAR_MIN; pub const WCHAR_MAX = __WCHAR_MAX; pub const WINT_MIN = @as(c_uint, 0); pub const WINT_MAX = @import("std").zig.c_translation.promoteIntLiteral(c_uint, 4294967295, .decimal); pub inline fn INT8_C(c: anytype) @TypeOf(c) { _ = &c; return c; } pub inline fn INT16_C(c: anytype) @TypeOf(c) { _ = &c; return c; } pub inline fn INT32_C(c: anytype) @TypeOf(c) { _ = &c; return c; } pub const INT64_C = @import("std").zig.c_translation.Macros.L_SUFFIX; pub inline fn UINT8_C(c: anytype) @TypeOf(c) { _ = &c; return c; } pub inline fn UINT16_C(c: anytype) @TypeOf(c) { _ = &c; return c; } pub const UINT32_C = @import("std").zig.c_translation.Macros.U_SUFFIX; pub const UINT64_C = @import("std").zig.c_translation.Macros.UL_SUFFIX; pub const INTMAX_C = @import("std").zig.c_translation.Macros.L_SUFFIX; pub const UINTMAX_C = @import("std").zig.c_translation.Macros.UL_SUFFIX; pub const _STDIO_H = @as(c_int, 1); pub const __need_size_t = ""; pub const __need_NULL = ""; pub const _SIZE_T = ""; pub const NULL = @import("std").zig.c_translation.cast(?*anyopaque, @as(c_int, 0)); pub const __need___va_list = ""; pub const __GNUC_VA_LIST = ""; pub const _____fpos_t_defined = @as(c_int, 1); pub const ____mbstate_t_defined = @as(c_int, 1); pub const _____fpos64_t_defined = @as(c_int, 1); pub const ____FILE_defined = @as(c_int, 1); pub const __FILE_defined = @as(c_int, 1); pub const __struct_FILE_defined = @as(c_int, 1); pub const __getc_unlocked_body = @compileError("TODO postfix inc/dec expr"); // /usr/include/bits/types/struct_FILE.h:102:9 pub const __putc_unlocked_body = @compileError("TODO postfix inc/dec expr"); // /usr/include/bits/types/struct_FILE.h:106:9 pub const _IO_EOF_SEEN = @as(c_int, 0x0010); pub inline fn __feof_unlocked_body(_fp: anytype) @TypeOf((_fp.*._flags & _IO_EOF_SEEN) != @as(c_int, 0)) { _ = &_fp; return (_fp.*._flags & _IO_EOF_SEEN) != @as(c_int, 0); } pub const _IO_ERR_SEEN = @as(c_int, 0x0020); pub inline fn __ferror_unlocked_body(_fp: anytype) @TypeOf((_fp.*._flags & _IO_ERR_SEEN) != @as(c_int, 0)) { _ = &_fp; return (_fp.*._flags & _IO_ERR_SEEN) != @as(c_int, 0); } pub const _IO_USER_LOCK = @import("std").zig.c_translation.promoteIntLiteral(c_int, 0x8000, .hex); pub const __cookie_io_functions_t_defined = @as(c_int, 1); pub const _VA_LIST_DEFINED = ""; pub const __off_t_defined = ""; pub const __ssize_t_defined = ""; pub const _IOFBF = @as(c_int, 0); pub const _IOLBF = @as(c_int, 1); pub const _IONBF = @as(c_int, 2); pub const BUFSIZ = @as(c_int, 8192); pub const EOF = -@as(c_int, 1); pub const SEEK_SET = @as(c_int, 0); pub const SEEK_CUR = @as(c_int, 1); pub const SEEK_END = @as(c_int, 2); pub const P_tmpdir = "/tmp"; pub const L_tmpnam = @as(c_int, 20); pub const TMP_MAX = @import("std").zig.c_translation.promoteIntLiteral(c_int, 238328, .decimal); pub const _BITS_STDIO_LIM_H = @as(c_int, 1); pub const FILENAME_MAX = @as(c_int, 4096); pub const L_ctermid = @as(c_int, 9); pub const FOPEN_MAX = @as(c_int, 16); pub const __attr_dealloc_fclose = __attr_dealloc(fclose, @as(c_int, 1)); pub const _BITS_FLOATN_H = ""; pub const __HAVE_FLOAT128 = @as(c_int, 0); pub const __HAVE_DISTINCT_FLOAT128 = @as(c_int, 0); pub const __HAVE_FLOAT64X = @as(c_int, 1); pub const __HAVE_FLOAT64X_LONG_DOUBLE = @as(c_int, 1); pub const _BITS_FLOATN_COMMON_H = ""; pub const __HAVE_FLOAT16 = @as(c_int, 0); pub const __HAVE_FLOAT32 = @as(c_int, 1); pub const __HAVE_FLOAT64 = @as(c_int, 1); pub const __HAVE_FLOAT32X = @as(c_int, 1); pub const __HAVE_FLOAT128X = @as(c_int, 0); pub const __HAVE_DISTINCT_FLOAT16 = __HAVE_FLOAT16; pub const __HAVE_DISTINCT_FLOAT32 = @as(c_int, 0); pub const __HAVE_DISTINCT_FLOAT64 = @as(c_int, 0); pub const __HAVE_DISTINCT_FLOAT32X = @as(c_int, 0); pub const __HAVE_DISTINCT_FLOAT64X = @as(c_int, 0); pub const __HAVE_DISTINCT_FLOAT128X = __HAVE_FLOAT128X; pub const __HAVE_FLOAT128_UNLIKE_LDBL = (__HAVE_DISTINCT_FLOAT128 != 0) and (__LDBL_MANT_DIG__ != @as(c_int, 113)); pub const __HAVE_FLOATN_NOT_TYPEDEF = @as(c_int, 0); pub const __f32 = @import("std").zig.c_translation.Macros.F_SUFFIX; pub inline fn __f64(x: anytype) @TypeOf(x) { _ = &x; return x; } pub inline fn __f32x(x: anytype) @TypeOf(x) { _ = &x; return x; } pub const __f64x = @import("std").zig.c_translation.Macros.L_SUFFIX; pub const __CFLOAT32 = @compileError("unable to translate: TODO _Complex"); // /usr/include/bits/floatn-common.h:149:12 pub const __CFLOAT64 = @compileError("unable to translate: TODO _Complex"); // /usr/include/bits/floatn-common.h:160:13 pub const __CFLOAT32X = @compileError("unable to translate: TODO _Complex"); // /usr/include/bits/floatn-common.h:169:12 pub const __CFLOAT64X = @compileError("unable to translate: TODO _Complex"); // /usr/include/bits/floatn-common.h:178:13 pub inline fn __builtin_huge_valf32() @TypeOf(__builtin_huge_valf()) { return __builtin_huge_valf(); } pub inline fn __builtin_inff32() @TypeOf(__builtin_inff()) { return __builtin_inff(); } pub inline fn __builtin_nanf32(x: anytype) @TypeOf(__builtin_nanf(x)) { _ = &x; return __builtin_nanf(x); } pub const __builtin_nansf32 = @compileError("unable to translate macro: undefined identifier `__builtin_nansf`"); // /usr/include/bits/floatn-common.h:221:12 pub const __builtin_huge_valf64 = @compileError("unable to translate macro: undefined identifier `__builtin_huge_val`"); // /usr/include/bits/floatn-common.h:255:13 pub const __builtin_inff64 = @compileError("unable to translate macro: undefined identifier `__builtin_inf`"); // /usr/include/bits/floatn-common.h:256:13 pub const __builtin_nanf64 = @compileError("unable to translate macro: undefined identifier `__builtin_nan`"); // /usr/include/bits/floatn-common.h:257:13 pub const __builtin_nansf64 = @compileError("unable to translate macro: undefined identifier `__builtin_nans`"); // /usr/include/bits/floatn-common.h:258:13 pub const __builtin_huge_valf32x = @compileError("unable to translate macro: undefined identifier `__builtin_huge_val`"); // /usr/include/bits/floatn-common.h:272:12 pub const __builtin_inff32x = @compileError("unable to translate macro: undefined identifier `__builtin_inf`"); // /usr/include/bits/floatn-common.h:273:12 pub const __builtin_nanf32x = @compileError("unable to translate macro: undefined identifier `__builtin_nan`"); // /usr/include/bits/floatn-common.h:274:12 pub const __builtin_nansf32x = @compileError("unable to translate macro: undefined identifier `__builtin_nans`"); // /usr/include/bits/floatn-common.h:275:12 pub const __builtin_huge_valf64x = @compileError("unable to translate macro: undefined identifier `__builtin_huge_vall`"); // /usr/include/bits/floatn-common.h:289:13 pub const __builtin_inff64x = @compileError("unable to translate macro: undefined identifier `__builtin_infl`"); // /usr/include/bits/floatn-common.h:290:13 pub const __builtin_nanf64x = @compileError("unable to translate macro: undefined identifier `__builtin_nanl`"); // /usr/include/bits/floatn-common.h:291:13 pub const __builtin_nansf64x = @compileError("unable to translate macro: undefined identifier `__builtin_nansl`"); // /usr/include/bits/floatn-common.h:292:13 pub inline fn PDF_INCH_TO_POINT(inch: anytype) f32 { _ = &inch; return @import("std").zig.c_translation.cast(f32, inch * @as(f32, 72.0)); } pub inline fn PDF_MM_TO_POINT(mm: anytype) f32 { _ = &mm; return @import("std").zig.c_translation.cast(f32, @import("std").zig.c_translation.MacroArithmetic.div(mm * @as(f32, 72.0), @as(f32, 25.4))); } pub const PDF_LETTER_WIDTH = PDF_INCH_TO_POINT(@as(f32, 8.5)); pub const PDF_LETTER_HEIGHT = PDF_INCH_TO_POINT(@as(f32, 11.0)); pub const PDF_A4_WIDTH = PDF_MM_TO_POINT(@as(f32, 210.0)); pub const PDF_A4_HEIGHT = PDF_MM_TO_POINT(@as(f32, 297.0)); pub const PDF_A3_WIDTH = PDF_MM_TO_POINT(@as(f32, 297.0)); pub const PDF_A3_HEIGHT = PDF_MM_TO_POINT(@as(f32, 420.0)); pub inline fn PDF_RGB(r: anytype, g: anytype, b: anytype) u32 { _ = &r; _ = &g; _ = &b; return @import("std").zig.c_translation.cast(u32, (((r & @as(c_int, 0xff)) << @as(c_int, 16)) | ((g & @as(c_int, 0xff)) << @as(c_int, 8))) | (b & @as(c_int, 0xff))); } pub inline fn PDF_ARGB(a: anytype, r: anytype, g: anytype, b: anytype) u32 { _ = &a; _ = &r; _ = &g; _ = &b; return @import("std").zig.c_translation.cast(u32, (((@import("std").zig.c_translation.cast(u32, a & @as(c_int, 0xff)) << @as(c_int, 24)) | ((r & @as(c_int, 0xff)) << @as(c_int, 16))) | ((g & @as(c_int, 0xff)) << @as(c_int, 8))) | (b & @as(c_int, 0xff))); } pub const PDF_RED = PDF_RGB(@as(c_int, 0xff), @as(c_int, 0), @as(c_int, 0)); pub const PDF_GREEN = PDF_RGB(@as(c_int, 0), @as(c_int, 0xff), @as(c_int, 0)); pub const PDF_BLUE = PDF_RGB(@as(c_int, 0), @as(c_int, 0), @as(c_int, 0xff)); pub const PDF_BLACK = PDF_RGB(@as(c_int, 0), @as(c_int, 0), @as(c_int, 0)); pub const PDF_WHITE = PDF_RGB(@as(c_int, 0xff), @as(c_int, 0xff), @as(c_int, 0xff)); pub const PDF_TRANSPARENT = @import("std").zig.c_translation.cast(u32, @as(c_uint, 0xff) << @as(c_int, 24)); pub const _G_fpos_t = struct__G_fpos_t; pub const _G_fpos64_t = struct__G_fpos64_t; pub const _IO_marker = struct__IO_marker; pub const _IO_codecvt = struct__IO_codecvt; pub const _IO_wide_data = struct__IO_wide_data; pub const _IO_FILE = struct__IO_FILE; pub const _IO_cookie_io_functions_t = struct__IO_cookie_io_functions_t; pub const pdf_doc = struct_pdf_doc; pub const pdf_object = struct_pdf_object; pub const pdf_info = struct_pdf_info; pub const png_header = struct_png_header; pub const bmp_header = struct_bmp_header; pub const jpeg_header = struct_jpeg_header; pub const ppm_header = struct_ppm_header; pub const pdf_img_info = struct_pdf_img_info; pub const pdf_path_operation = struct_pdf_path_operation;