Fix -vet-tabs issues

This commit is contained in:
gingerBill
2024-08-24 13:56:41 +01:00
parent 8ba87e01bd
commit eb799393d5
24 changed files with 2252 additions and 2252 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
package runtime
nil_allocator_proc :: proc(allocator_data: rawptr, mode: Allocator_Mode,
size, alignment: int,
old_memory: rawptr, old_size: int, loc := #caller_location) -> ([]byte, Allocator_Error) {
size, alignment: int,
old_memory: rawptr, old_size: int, loc := #caller_location) -> ([]byte, Allocator_Error) {
switch mode {
case .Alloc, .Alloc_Non_Zeroed:
return nil, .Out_Of_Memory
+9 -9
View File
@@ -19,15 +19,15 @@ xxh_u64 :: u64
XXH64_DEFAULT_SEED :: XXH64_hash(0)
XXH64_state :: struct {
total_len: XXH64_hash, /*!< Total length hashed. This is always 64-bit. */
v1: XXH64_hash, /*!< First accumulator lane */
v2: XXH64_hash, /*!< Second accumulator lane */
v3: XXH64_hash, /*!< Third accumulator lane */
v4: XXH64_hash, /*!< Fourth accumulator lane */
mem64: [4]XXH64_hash, /*!< Internal buffer for partial reads. Treated as unsigned char[32]. */
memsize: XXH32_hash, /*!< Amount of data in @ref mem64 */
reserved32: XXH32_hash, /*!< Reserved field, needed for padding anyways*/
reserved64: XXH64_hash, /*!< Reserved field. Do not read or write to it, it may be removed. */
total_len: XXH64_hash, /*!< Total length hashed. This is always 64-bit. */
v1: XXH64_hash, /*!< First accumulator lane */
v2: XXH64_hash, /*!< Second accumulator lane */
v3: XXH64_hash, /*!< Third accumulator lane */
v4: XXH64_hash, /*!< Fourth accumulator lane */
mem64: [4]XXH64_hash, /*!< Internal buffer for partial reads. Treated as unsigned char[32]. */
memsize: XXH32_hash, /*!< Amount of data in @ref mem64 */
reserved32: XXH32_hash, /*!< Reserved field, needed for padding anyways*/
reserved64: XXH64_hash, /*!< Reserved field. Do not read or write to it, it may be removed. */
}
XXH64_canonical :: struct {
+1 -1
View File
@@ -195,7 +195,7 @@ Error_String :: #sparse[Error]string{
}
Primality_Flag :: enum u8 {
Blum_Blum_Shub = 0, // Make prime congruent to 3 mod 4
Blum_Blum_Shub = 0, // Make prime congruent to 3 mod 4
Safe = 1, // Make sure (p-1)/2 is prime as well (implies .Blum_Blum_Shub)
Second_MSB_On = 3, // Make the 2nd highest bit one
}
+3 -3
View File
@@ -395,9 +395,9 @@ SIOCGIFFLAG :: enum c.int {
PORTSEL = 13, /* Can set media type. */
AUTOMEDIA = 14, /* Auto media select active. */
DYNAMIC = 15, /* Dialup device with changing addresses. */
LOWER_UP = 16,
DORMANT = 17,
ECHO = 18,
LOWER_UP = 16,
DORMANT = 17,
ECHO = 18,
}
SIOCGIFFLAGS :: bit_set[SIOCGIFFLAG; c.int]
+129 -129
View File
@@ -28,135 +28,135 @@ StringBuiltInEncodings :: enum StringEncoding {
}
StringEncodings :: enum Index {
MacJapanese = 1,
MacChineseTrad = 2,
MacKorean = 3,
MacArabic = 4,
MacHebrew = 5,
MacGreek = 6,
MacCyrillic = 7,
MacDevanagari = 9,
MacGurmukhi = 10,
MacGujarati = 11,
MacOriya = 12,
MacBengali = 13,
MacTamil = 14,
MacTelugu = 15,
MacKannada = 16,
MacMalayalam = 17,
MacSinhalese = 18,
MacBurmese = 19,
MacKhmer = 20,
MacThai = 21,
MacLaotian = 22,
MacGeorgian = 23,
MacArmenian = 24,
MacChineseSimp = 25,
MacTibetan = 26,
MacMongolian = 27,
MacEthiopic = 28,
MacCentralEurRoman = 29,
MacVietnamese = 30,
MacExtArabic = 31,
MacSymbol = 33,
MacDingbats = 34,
MacTurkish = 35,
MacCroatian = 36,
MacIcelandic = 37,
MacRomanian = 38,
MacCeltic = 39,
MacGaelic = 40,
MacFarsi = 0x8C,
MacUkrainian = 0x98,
MacInuit = 0xEC,
MacVT100 = 0xFC,
MacHFS = 0xFF,
ISOLatin2 = 0x0202,
ISOLatin3 = 0x0203,
ISOLatin4 = 0x0204,
ISOLatinCyrillic = 0x0205,
ISOLatinArabic = 0x0206,
ISOLatinGreek = 0x0207,
ISOLatinHebrew = 0x0208,
ISOLatin5 = 0x0209,
ISOLatin6 = 0x020A,
ISOLatinThai = 0x020B,
ISOLatin7 = 0x020D,
ISOLatin8 = 0x020E,
ISOLatin9 = 0x020F,
ISOLatin10 = 0x0210,
DOSLatinUS = 0x0400,
DOSGreek = 0x0405,
DOSBalticRim = 0x0406,
DOSLatin1 = 0x0410,
DOSGreek1 = 0x0411,
DOSLatin2 = 0x0412,
DOSCyrillic = 0x0413,
DOSTurkish = 0x0414,
DOSPortuguese = 0x0415,
DOSIcelandic = 0x0416,
DOSHebrew = 0x0417,
DOSCanadianFrench = 0x0418,
DOSArabic = 0x0419,
DOSNordic = 0x041A,
DOSRussian = 0x041B,
DOSGreek2 = 0x041C,
DOSThai = 0x041D,
DOSJapanese = 0x0420,
DOSChineseSimplif = 0x0421,
DOSKorean = 0x0422,
DOSChineseTrad = 0x0423,
WindowsLatin2 = 0x0501,
WindowsCyrillic = 0x0502,
WindowsGreek = 0x0503,
WindowsLatin5 = 0x0504,
WindowsHebrew = 0x0505,
WindowsArabic = 0x0506,
WindowsBalticRim = 0x0507,
WindowsVietnamese = 0x0508,
WindowsKoreanJohab = 0x0510,
ANSEL = 0x0601,
JIS_X0201_76 = 0x0620,
JIS_X0208_83 = 0x0621,
JIS_X0208_90 = 0x0622,
JIS_X0212_90 = 0x0623,
JIS_C6226_78 = 0x0624,
ShiftJIS_X0213 = 0x0628,
ShiftJIS_X0213_MenKuTen = 0x0629,
GB_2312_80 = 0x0630,
GBK_95 = 0x0631,
GB_18030_2000 = 0x0632,
KSC_5601_87 = 0x0640,
KSC_5601_92_Johab = 0x0641,
CNS_11643_92_P1 = 0x0651,
CNS_11643_92_P2 = 0x0652,
CNS_11643_92_P3 = 0x0653,
ISO_2022_JP = 0x0820,
ISO_2022_JP_2 = 0x0821,
ISO_2022_JP_1 = 0x0822,
ISO_2022_JP_3 = 0x0823,
ISO_2022_CN = 0x0830,
ISO_2022_CN_EXT = 0x0831,
ISO_2022_KR = 0x0840,
EUC_JP = 0x0920,
EUC_CN = 0x0930,
EUC_TW = 0x0931,
EUC_KR = 0x0940,
ShiftJIS = 0x0A01,
KOI8_R = 0x0A02,
Big5 = 0x0A03,
MacRomanLatin1 = 0x0A04,
HZ_GB_2312 = 0x0A05,
Big5_HKSCS_1999 = 0x0A06,
VISCII = 0x0A07,
KOI8_U = 0x0A08,
Big5_E = 0x0A09,
NextStepJapanese = 0x0B02,
EBCDIC_US = 0x0C01,
EBCDIC_CP037 = 0x0C02,
UTF7 = 0x04000100,
UTF7_IMAP = 0x0A10,
ShiftJIS_X0213_00 = 0x0628, // Deprecated. Use `ShiftJIS_X0213` instead.
MacJapanese = 1,
MacChineseTrad = 2,
MacKorean = 3,
MacArabic = 4,
MacHebrew = 5,
MacGreek = 6,
MacCyrillic = 7,
MacDevanagari = 9,
MacGurmukhi = 10,
MacGujarati = 11,
MacOriya = 12,
MacBengali = 13,
MacTamil = 14,
MacTelugu = 15,
MacKannada = 16,
MacMalayalam = 17,
MacSinhalese = 18,
MacBurmese = 19,
MacKhmer = 20,
MacThai = 21,
MacLaotian = 22,
MacGeorgian = 23,
MacArmenian = 24,
MacChineseSimp = 25,
MacTibetan = 26,
MacMongolian = 27,
MacEthiopic = 28,
MacCentralEurRoman = 29,
MacVietnamese = 30,
MacExtArabic = 31,
MacSymbol = 33,
MacDingbats = 34,
MacTurkish = 35,
MacCroatian = 36,
MacIcelandic = 37,
MacRomanian = 38,
MacCeltic = 39,
MacGaelic = 40,
MacFarsi = 0x8C,
MacUkrainian = 0x98,
MacInuit = 0xEC,
MacVT100 = 0xFC,
MacHFS = 0xFF,
ISOLatin2 = 0x0202,
ISOLatin3 = 0x0203,
ISOLatin4 = 0x0204,
ISOLatinCyrillic = 0x0205,
ISOLatinArabic = 0x0206,
ISOLatinGreek = 0x0207,
ISOLatinHebrew = 0x0208,
ISOLatin5 = 0x0209,
ISOLatin6 = 0x020A,
ISOLatinThai = 0x020B,
ISOLatin7 = 0x020D,
ISOLatin8 = 0x020E,
ISOLatin9 = 0x020F,
ISOLatin10 = 0x0210,
DOSLatinUS = 0x0400,
DOSGreek = 0x0405,
DOSBalticRim = 0x0406,
DOSLatin1 = 0x0410,
DOSGreek1 = 0x0411,
DOSLatin2 = 0x0412,
DOSCyrillic = 0x0413,
DOSTurkish = 0x0414,
DOSPortuguese = 0x0415,
DOSIcelandic = 0x0416,
DOSHebrew = 0x0417,
DOSCanadianFrench = 0x0418,
DOSArabic = 0x0419,
DOSNordic = 0x041A,
DOSRussian = 0x041B,
DOSGreek2 = 0x041C,
DOSThai = 0x041D,
DOSJapanese = 0x0420,
DOSChineseSimplif = 0x0421,
DOSKorean = 0x0422,
DOSChineseTrad = 0x0423,
WindowsLatin2 = 0x0501,
WindowsCyrillic = 0x0502,
WindowsGreek = 0x0503,
WindowsLatin5 = 0x0504,
WindowsHebrew = 0x0505,
WindowsArabic = 0x0506,
WindowsBalticRim = 0x0507,
WindowsVietnamese = 0x0508,
WindowsKoreanJohab = 0x0510,
ANSEL = 0x0601,
JIS_X0201_76 = 0x0620,
JIS_X0208_83 = 0x0621,
JIS_X0208_90 = 0x0622,
JIS_X0212_90 = 0x0623,
JIS_C6226_78 = 0x0624,
ShiftJIS_X0213 = 0x0628,
ShiftJIS_X0213_MenKuTen = 0x0629,
GB_2312_80 = 0x0630,
GBK_95 = 0x0631,
GB_18030_2000 = 0x0632,
KSC_5601_87 = 0x0640,
KSC_5601_92_Johab = 0x0641,
CNS_11643_92_P1 = 0x0651,
CNS_11643_92_P2 = 0x0652,
CNS_11643_92_P3 = 0x0653,
ISO_2022_JP = 0x0820,
ISO_2022_JP_2 = 0x0821,
ISO_2022_JP_1 = 0x0822,
ISO_2022_JP_3 = 0x0823,
ISO_2022_CN = 0x0830,
ISO_2022_CN_EXT = 0x0831,
ISO_2022_KR = 0x0840,
EUC_JP = 0x0920,
EUC_CN = 0x0930,
EUC_TW = 0x0931,
EUC_KR = 0x0940,
ShiftJIS = 0x0A01,
KOI8_R = 0x0A02,
Big5 = 0x0A03,
MacRomanLatin1 = 0x0A04,
HZ_GB_2312 = 0x0A05,
Big5_HKSCS_1999 = 0x0A06,
VISCII = 0x0A07,
KOI8_U = 0x0A08,
Big5_E = 0x0A09,
NextStepJapanese = 0x0B02,
EBCDIC_US = 0x0C01,
EBCDIC_CP037 = 0x0C02,
UTF7 = 0x04000100,
UTF7_IMAP = 0x0A10,
ShiftJIS_X0213_00 = 0x0628, // Deprecated. Use `ShiftJIS_X0213` instead.
}
@(link_prefix = "CF", default_calling_convention = "c")
+3 -3
View File
@@ -15,9 +15,9 @@ sys_write_string :: proc (fd: c.int, message: string) -> bool {
Offset_From :: enum c.int {
SEEK_SET = 0, // the offset is set to offset bytes.
SEEK_CUR = 1, // the offset is set to its current location plus offset bytes.
SEEK_END = 2, // the offset is set to the size of the file plus offset bytes.
SEEK_HOLE = 3, // the offset is set to the start of the next hole greater than or equal to the supplied offset.
SEEK_DATA = 4, // the offset is set to the start of the next non-hole file region greater than or equal to the supplied offset.
SEEK_END = 2, // the offset is set to the size of the file plus offset bytes.
SEEK_HOLE = 3, // the offset is set to the start of the next hole greater than or equal to the supplied offset.
SEEK_DATA = 4, // the offset is set to the start of the next non-hole file region greater than or equal to the supplied offset.
}
Open_Flags_Enum :: enum u8 {
+29 -29
View File
@@ -192,43 +192,43 @@ _STRUCT_TIMEVAL :: struct {
/* pwd.h */
_Password_Entry :: struct {
pw_name: cstring, /* username */
pw_passwd: cstring, /* user password */
pw_uid: i32, /* user ID */
pw_gid: i32, /* group ID */
pw_name: cstring, /* username */
pw_passwd: cstring, /* user password */
pw_uid: i32, /* user ID */
pw_gid: i32, /* group ID */
pw_change: u64, /* password change time */
pw_class: cstring, /* user access class */
pw_gecos: cstring, /* full user name */
pw_dir: cstring, /* home directory */
pw_shell: cstring, /* shell program */
pw_gecos: cstring, /* full user name */
pw_dir: cstring, /* home directory */
pw_shell: cstring, /* shell program */
pw_expire: u64, /* account expiration */
pw_fields: i32, /* filled fields */
}
/* processinfo.h */
_Proc_Bsdinfo :: struct {
pbi_flags: u32, /* if is 64bit; emulated etc */
pbi_status: u32,
pbi_xstatus: u32,
pbi_pid: u32,
pbi_ppid: u32,
pbi_uid: u32,
pbi_gid: u32,
pbi_ruid: u32,
pbi_rgid: u32,
pbi_svuid: u32,
pbi_svgid: u32,
res: u32,
pbi_comm: [DARWIN_MAXCOMLEN]u8,
pbi_name: [2 * DARWIN_MAXCOMLEN]u8, /* empty if no name is registered */
pbi_nfiles: u32,
pbi_pgid: u32,
pbi_pjobc: u32,
e_tdev: u32, /* controlling tty dev */
e_tpgid: u32, /* tty process group id */
pbi_nice: i32,
pbi_start_tvsec: u64,
pbi_start_tvusec: u64,
pbi_flags: u32, /* if is 64bit; emulated etc */
pbi_status: u32,
pbi_xstatus: u32,
pbi_pid: u32,
pbi_ppid: u32,
pbi_uid: u32,
pbi_gid: u32,
pbi_ruid: u32,
pbi_rgid: u32,
pbi_svuid: u32,
pbi_svgid: u32,
res: u32,
pbi_comm: [DARWIN_MAXCOMLEN]u8,
pbi_name: [2 * DARWIN_MAXCOMLEN]u8, /* empty if no name is registered */
pbi_nfiles: u32,
pbi_pgid: u32,
pbi_pjobc: u32,
e_tdev: u32, /* controlling tty dev */
e_tpgid: u32, /* tty process group id */
pbi_nice: i32,
pbi_start_tvsec: u64,
pbi_start_tvusec: u64,
}
/*--==========================================================================--*/
+6 -6
View File
@@ -695,12 +695,12 @@ Record_Lock_Flag :: enum c.int {
// struct flock
File_Lock :: struct {
start: off_t, /* starting offset */
len: off_t, /* len = 0 means until end of file */
pid: pid_t, /* lock owner */
type: Record_Lock_Flag, /* lock type: read/write, etc. */
whence: c.short, /* type of l_start */
sysid: c.int, /* remote system id or zero for local */
start: off_t, /* starting offset */
len: off_t, /* len = 0 means until end of file */
pid: pid_t, /* lock owner */
type: Record_Lock_Flag, /* lock type: read/write, etc. */
whence: c.short, /* type of l_start */
sysid: c.int, /* remote system id or zero for local */
}
/*
+1 -1
View File
@@ -28,7 +28,7 @@ DWMWINDOWATTRIBUTE :: enum {
DWMWA_TEXT_COLOR,
DWMWA_VISIBLE_FRAME_BORDER_THICKNESS,
DWMWA_SYSTEMBACKDROP_TYPE,
DWMWA_LAST,
DWMWA_LAST,
}
DWMNCRENDERINGPOLICY :: enum {
+8 -8
View File
@@ -1175,17 +1175,17 @@ SYSTEM_POWER_STATUS :: struct {
}
AC_Line_Status :: enum BYTE {
Offline = 0,
Online = 1,
Unknown = 255,
Offline = 0,
Online = 1,
Unknown = 255,
}
Battery_Flag :: enum BYTE {
High = 0,
Low = 1,
Critical = 2,
Charging = 3,
No_Battery = 7,
High = 0,
Low = 1,
Critical = 2,
Charging = 3,
No_Battery = 7,
}
Battery_Flags :: bit_set[Battery_Flag; BYTE]
+26 -26
View File
@@ -3546,11 +3546,11 @@ SIGDN :: enum c_int {
}
SIATTRIBFLAGS :: enum c_int {
AND = 0x1,
OR = 0x2,
APPCOMPAT = 0x3,
MASK = 0x3,
ALLITEMS = 0x4000,
AND = 0x1,
OR = 0x2,
APPCOMPAT = 0x3,
MASK = 0x3,
ALLITEMS = 0x4000,
}
FDAP :: enum c_int {
@@ -4503,35 +4503,35 @@ DNS_INFO_NO_RECORDS :: 9501
DNS_QUERY_NO_RECURSION :: 0x00000004
DNS_RECORD :: struct { // aka DNS_RECORDA
pNext: ^DNS_RECORD,
pName: cstring,
wType: WORD,
wDataLength: USHORT,
Flags: DWORD,
dwTtl: DWORD,
_: DWORD,
Data: struct #raw_union {
CNAME: DNS_PTR_DATAA,
A: u32be, // Ipv4 Address
AAAA: u128be, // Ipv6 Address
TXT: DNS_TXT_DATAA,
NS: DNS_PTR_DATAA,
MX: DNS_MX_DATAA,
SRV: DNS_SRV_DATAA,
},
pNext: ^DNS_RECORD,
pName: cstring,
wType: WORD,
wDataLength: USHORT,
Flags: DWORD,
dwTtl: DWORD,
_: DWORD,
Data: struct #raw_union {
CNAME: DNS_PTR_DATAA,
A: u32be, // Ipv4 Address
AAAA: u128be, // Ipv6 Address
TXT: DNS_TXT_DATAA,
NS: DNS_PTR_DATAA,
MX: DNS_MX_DATAA,
SRV: DNS_SRV_DATAA,
},
}
DNS_TXT_DATAA :: struct {
dwStringCount: DWORD,
pStringArray: cstring,
dwStringCount: DWORD,
pStringArray: cstring,
}
DNS_PTR_DATAA :: cstring
DNS_MX_DATAA :: struct {
pNameExchange: cstring, // the hostname
wPreference: WORD, // lower values preferred
_: WORD, // padding.
pNameExchange: cstring, // the hostname
wPreference: WORD, // lower values preferred
_: WORD, // padding.
}
DNS_SRV_DATAA :: struct {
pNameTarget: cstring,
+1 -1
View File
@@ -56,7 +56,7 @@ Decorations :: struct {
// Connecting decorations:
nw, n, ne,
w, x, e,
w, x, e,
sw, s, se: string,
// Straight lines:
+4 -4
View File
@@ -3459,10 +3459,10 @@ DRED_DEVICE_STATE :: enum i32 {
}
DRED_PAGE_FAULT_OUTPUT2 :: struct {
PageFaultVA: GPU_VIRTUAL_ADDRESS,
pHeadExistingAllocationNode: ^DRED_ALLOCATION_NODE1,
pHeadRecentFreedAllocationNode: ^DRED_ALLOCATION_NODE1,
PageFaultFlags: DRED_PAGE_FAULT_FLAGS,
PageFaultVA: GPU_VIRTUAL_ADDRESS,
pHeadExistingAllocationNode: ^DRED_ALLOCATION_NODE1,
pHeadRecentFreedAllocationNode: ^DRED_ALLOCATION_NODE1,
PageFaultFlags: DRED_PAGE_FAULT_FLAGS,
}
DEVICE_REMOVED_EXTENDED_DATA1 :: struct {
+2 -2
View File
@@ -476,8 +476,8 @@ IVersionInfo3_VTable :: struct {
}
ArgPair :: struct {
pName: wstring,
pValue: wstring,
pName: wstring,
pValue: wstring,
}
IPdbUtils_UUID_STRING :: "E6C9647E-9D6A-4C3B-B94C-524B5A6C343D"
+1 -1
View File
@@ -575,7 +575,7 @@ PRELOAD_TABLE :: "_PRELOAD"
L_Reg :: struct {
name: cstring,
func: CFunction,
func: CFunction,
}
L_NUMSIZES :: size_of(Integer)*16 + size_of(Number)
+3 -3
View File
@@ -69,9 +69,9 @@ decoder :: struct {
outputSampleRate: u32,
converter: data_converter, /* <-- Data conversion is achieved by running frames through this. */
pInputCache: rawptr, /* In input format. Can be null if it's not needed. */
inputCacheCap: u64, /* The capacity of the input cache. */
inputCacheConsumed: u64, /* The number of frames that have been consumed in the cache. Used for determining the next valid frame. */
inputCacheRemaining: u64, /* The number of valid frames remaining in the cahce. */
inputCacheCap: u64, /* The capacity of the input cache. */
inputCacheConsumed: u64, /* The number of frames that have been consumed in the cache. Used for determining the next valid frame. */
inputCacheRemaining: u64, /* The number of valid frames remaining in the cahce. */
allocationCallbacks: allocation_callbacks,
data: struct #raw_union {
vfs: struct {
+3 -3
View File
@@ -381,7 +381,7 @@ device_config :: struct {
noPreSilencedOutputBuffer: b8, /* When set to true, the contents of the output buffer passed into the data callback will be left undefined rather than initialized to zero. */
noClip: b8, /* When set to true, the contents of the output buffer passed into the data callback will not be clipped after returning. Only applies when the playback sample format is f32. */
noDisableDenormals: b8, /* Do not disable denormals when firing the data callback. */
noFixedSizedCallback: b8, /* Disables strict fixed-sized data callbacks. Setting this to true will result in the period size being treated only as a hint to the backend. This is an optimization for those who don't need fixed sized callbacks. */
noFixedSizedCallback: b8, /* Disables strict fixed-sized data callbacks. Setting this to true will result in the period size being treated only as a hint to the backend. This is an optimization for those who don't need fixed sized callbacks. */
dataCallback: device_data_proc,
notificationCallback: device_notification_proc,
stopCallback: stop_proc,
@@ -813,7 +813,7 @@ context_type :: struct {
/*pa_mainloop**/ pMainLoop: rawptr,
/*pa_context**/ pPulseContext: rawptr,
pApplicationName: cstring, /* Set when the context is initialized. Used by devices for their local pa_context objects. */
pServerName: cstring, /* Set when the context is initialized. Used by devices for their local pa_context objects. */
pServerName: cstring, /* Set when the context is initialized. Used by devices for their local pa_context objects. */
} when SUPPORT_PULSEAUDIO else struct {}),
jack: (struct {
@@ -1140,7 +1140,7 @@ device :: struct {
pulse: (struct {
/*pa_mainloop**/ pMainLoop: rawptr,
/*pa_context**/ pPulseContext: rawptr,
/*pa_context**/ pPulseContext: rawptr,
/*pa_stream**/ pStreamPlayback: rawptr,
/*pa_stream**/ pStreamCapture: rawptr,
} when SUPPORT_PULSEAUDIO else struct {}),
+3 -3
View File
@@ -447,9 +447,9 @@ VrStereoConfig :: struct #align(4) {
// File path list
FilePathList :: struct {
capacity: c.uint, // Filepaths max entries
count: c.uint, // Filepaths entries count
paths: [^]cstring, // Filepaths entries
capacity: c.uint, // Filepaths max entries
count: c.uint, // Filepaths entries count
paths: [^]cstring, // Filepaths entries
}
// Automation event
+4 -4
View File
@@ -171,9 +171,9 @@ KeyboardEvent :: struct {
TEXTEDITINGEVENT_TEXT_SIZE :: 32
TextEditingEvent :: struct {
type: EventType, /**< ::SDL_TEXTEDITING */
timestamp: u32, /**< In milliseconds, populated using SDL_GetTicks() */
windowID: u32, /**< The window with keyboard focus, if any */
text: [TEXTEDITINGEVENT_TEXT_SIZE]u8, /**< The editing text */
timestamp: u32, /**< In milliseconds, populated using SDL_GetTicks() */
windowID: u32, /**< The window with keyboard focus, if any */
text: [TEXTEDITINGEVENT_TEXT_SIZE]u8, /**< The editing text */
start: i32, /**< The start cursor of selected editing text */
length: i32, /**< The length of selected editing text */
}
@@ -184,7 +184,7 @@ TextInputEvent :: struct {
type: EventType, /**< ::SDL_TEXTINPUT */
timestamp: u32, /**< In milliseconds, populated using SDL_GetTicks() */
windowID: u32, /**< The window with keyboard focus, if any */
text: [TEXTINPUTEVENT_TEXT_SIZE]u8, /**< The input text */
text: [TEXTINPUTEVENT_TEXT_SIZE]u8, /**< The input text */
}
MouseMotionEvent :: struct {
+23 -23
View File
@@ -54,29 +54,29 @@ GameControllerAxis :: enum c.int {
}
GameControllerButton :: enum c.int {
INVALID = -1,
A,
B,
X,
Y,
BACK,
GUIDE,
START,
LEFTSTICK,
RIGHTSTICK,
LEFTSHOULDER,
RIGHTSHOULDER,
DPAD_UP,
DPAD_DOWN,
DPAD_LEFT,
DPAD_RIGHT,
MISC1, /* Xbox Series X share button, PS5 microphone button, Nintendo Switch Pro capture button, Amazon Luna microphone button */
PADDLE1, /* Xbox Elite paddle P1 */
PADDLE2, /* Xbox Elite paddle P3 */
PADDLE3, /* Xbox Elite paddle P2 */
PADDLE4, /* Xbox Elite paddle P4 */
TOUCHPAD, /* PS4/PS5 touchpad button */
MAX,
INVALID = -1,
A,
B,
X,
Y,
BACK,
GUIDE,
START,
LEFTSTICK,
RIGHTSTICK,
LEFTSHOULDER,
RIGHTSHOULDER,
DPAD_UP,
DPAD_DOWN,
DPAD_LEFT,
DPAD_RIGHT,
MISC1, /* Xbox Series X share button, PS5 microphone button, Nintendo Switch Pro capture button, Amazon Luna microphone button */
PADDLE1, /* Xbox Elite paddle P1 */
PADDLE2, /* Xbox Elite paddle P3 */
PADDLE3, /* Xbox Elite paddle P2 */
PADDLE4, /* Xbox Elite paddle P4 */
TOUCHPAD, /* PS4/PS5 touchpad button */
MAX,
}
+4 -4
View File
@@ -19,10 +19,10 @@ TouchDeviceType :: enum c.int {
}
Finger :: struct {
id: FingerID,
x: f32,
y: f32,
pressure: f32,
id: FingerID,
x: f32,
y: f32,
pressure: f32,
}
TOUCH_MOUSEID :: ~u32(0)
+1 -1
View File
@@ -166,7 +166,7 @@ datatype :: enum c.int {
UINT32,
FLOAT,
MAX_TYPES,
MAX_TYPES,
}
@(default_calling_convention="c", link_prefix="stbir_")
+1675 -1675
View File
File diff suppressed because it is too large Load Diff
+311 -311
View File
@@ -47,9 +47,9 @@ XExtCodes :: struct {
}
XPixmapFormatValues :: struct {
depth: i32,
bits_per_pixel: i32,
scanline_pad: i32,
depth: i32,
bits_per_pixel: i32,
scanline_pad: i32,
}
XGCValues :: struct {
@@ -130,47 +130,47 @@ ScreenFormat :: struct {
}
XSetWindowAttributes :: struct {
background_pixmap: Pixmap,
background_pixel: uint,
border_pixmap: Pixmap,
border_pixel: uint,
bit_gravity: Gravity,
win_gravity: Gravity,
backing_store: BackingStore,
backing_planes: uint,
backing_pixel: uint,
save_under: b32,
event_mask: EventMask,
do_not_propagate_mask: EventMask,
override_redirect: b32,
colormap: Colormap,
cursor: Cursor,
background_pixmap: Pixmap,
background_pixel: uint,
border_pixmap: Pixmap,
border_pixel: uint,
bit_gravity: Gravity,
win_gravity: Gravity,
backing_store: BackingStore,
backing_planes: uint,
backing_pixel: uint,
save_under: b32,
event_mask: EventMask,
do_not_propagate_mask: EventMask,
override_redirect: b32,
colormap: Colormap,
cursor: Cursor,
}
XWindowAttributes :: struct {
x: i32,
y: i32,
width: i32,
height: i32,
border_width: i32,
depth: i32,
visual: ^Visual,
root: Window,
class: WindowClass,
bit_gravity: Gravity,
win_gravity: Gravity,
backing_store: BackingStore,
backing_planes: uint,
backing_pixel: uint,
save_under: b32,
colormap: Colormap,
map_installed: b32,
map_state: WindowMapState,
all_event_masks: EventMask,
your_event_mask: EventMask,
do_not_propagate_mask: EventMask,
override_redirect: b32,
screen: ^Screen,
x: i32,
y: i32,
width: i32,
height: i32,
border_width: i32,
depth: i32,
visual: ^Visual,
root: Window,
class: WindowClass,
bit_gravity: Gravity,
win_gravity: Gravity,
backing_store: BackingStore,
backing_planes: uint,
backing_pixel: uint,
save_under: b32,
colormap: Colormap,
map_installed: b32,
map_state: WindowMapState,
all_event_masks: EventMask,
your_event_mask: EventMask,
do_not_propagate_mask: EventMask,
override_redirect: b32,
screen: ^Screen,
}
XHostAddress :: struct {
@@ -187,50 +187,50 @@ XServerInterpretedAddress :: struct {
}
XImage :: struct {
width: i32,
height: i32,
xoffset: i32,
format: ImageFormat,
data: rawptr,
byte_order: i32,
bitmap_unit: i32,
bitmap_bit_order: ByteOrder,
bitmap_pad: i32,
depth: i32,
bytes_per_line: i32,
bits_per_pixel: i32,
red_mask: uint,
green_mask: uint,
blue_mask: uint,
obdata: rawptr,
f: struct {
create_image: proc "c" (
display: ^Display,
visual: ^Visual,
depth: u32,
format: i32,
offset: i32,
data: rawptr,
width: u32,
height: u32,
pad: i32,
stride: i32) -> ^XImage,
destroy_image: proc "c" (image: ^XImage) -> i32,
get_pixel: proc "c" (image: ^XImage) -> uint,
put_pixel: proc "c" (image: ^XImage, x: i32, y: i32, pixel: uint) -> i32,
sub_image: proc "c" (image: ^XImage, x: i32, y: i32, w: u32, h: u32) -> ^XImage,
add_pixel: proc "c" (image: ^XImage, val: int) -> i32,
width: i32,
height: i32,
xoffset: i32,
format: ImageFormat,
data: rawptr,
byte_order: i32,
bitmap_unit: i32,
bitmap_bit_order: ByteOrder,
bitmap_pad: i32,
depth: i32,
bytes_per_line: i32,
bits_per_pixel: i32,
red_mask: uint,
green_mask: uint,
blue_mask: uint,
obdata: rawptr,
f: struct {
create_image: proc "c" (
display: ^Display,
visual: ^Visual,
depth: u32,
format: i32,
offset: i32,
data: rawptr,
width: u32,
height: u32,
pad: i32,
stride: i32) -> ^XImage,
destroy_image: proc "c" (image: ^XImage) -> i32,
get_pixel: proc "c" (image: ^XImage) -> uint,
put_pixel: proc "c" (image: ^XImage, x: i32, y: i32, pixel: uint) -> i32,
sub_image: proc "c" (image: ^XImage, x: i32, y: i32, w: u32, h: u32) -> ^XImage,
add_pixel: proc "c" (image: ^XImage, val: int) -> i32,
},
}
XWindowChanges :: struct {
x: i32,
y: i32,
width: i32,
height: i32,
border_width: i32,
sibling: Window,
stack_mode: WindowStacking,
x: i32,
y: i32,
width: i32,
height: i32,
border_width: i32,
sibling: Window,
stack_mode: WindowStacking,
}
XColor :: struct {
@@ -243,42 +243,42 @@ XColor :: struct {
}
XSegment :: struct {
x1: i16,
y1: i16,
x2: i16,
y2: i16,
x1: i16,
y1: i16,
x2: i16,
y2: i16,
}
XPoint :: struct {
x: i16,
y: i16,
x: i16,
y: i16,
}
XRectangle :: struct {
x: i16,
y: i16,
width: u16,
height: u16,
x: i16,
y: i16,
width: u16,
height: u16,
}
XArc :: struct {
x: i16,
y: i16,
width: u16,
height: u16,
angle1: i16,
angle2: i16,
x: i16,
y: i16,
width: u16,
height: u16,
angle1: i16,
angle2: i16,
}
XKeyboardControl :: struct {
key_click_percent: i32,
bell_percent: i32,
bell_pitch: i32,
bell_duration: i32,
led: i32,
led_mode: KeyboardLedMode,
key: i32,
auto_repeat_mode: KeyboardAutoRepeatMode,
key_click_percent: i32,
bell_percent: i32,
bell_pitch: i32,
bell_duration: i32,
led: i32,
led_mode: KeyboardLedMode,
key: i32,
auto_repeat_mode: KeyboardAutoRepeatMode,
}
XKeyboardState :: struct {
@@ -700,23 +700,23 @@ XAnyEvent :: struct {
}
XGenericEvent :: struct {
type: EventType,
serial: uint,
send_event: b32,
display: ^Display,
extension: i32,
evtype: i32,
type: EventType,
serial: uint,
send_event: b32,
display: ^Display,
extension: i32,
evtype: i32,
}
XGenericEventCookie :: struct {
type: EventType,
serial: uint,
send_event: b32,
display: ^Display,
extension: i32,
evtype: i32,
cookie: u32,
data: rawptr,
type: EventType,
serial: uint,
send_event: b32,
display: ^Display,
extension: i32,
evtype: i32,
cookie: u32,
data: rawptr,
}
XEvent :: struct #raw_union {
@@ -758,55 +758,55 @@ XEvent :: struct #raw_union {
}
XCharStruct :: struct {
lbearing: i16,
rbearing: i16,
width: i16,
ascent: i16,
descent: i16,
attributes: u16,
lbearing: i16,
rbearing: i16,
width: i16,
ascent: i16,
descent: i16,
attributes: u16,
}
XFontProp :: struct {
name: Atom,
card32: uint,
name: Atom,
card32: uint,
}
XFontStruct :: struct {
ext_data: ^XExtData,
fid: Font,
direction: u32,
min_char_or_byte2: u32,
max_char_or_byte2: u32,
min_byte1: u32,
max_byte1: u32,
all_chars_exist: i32,
default_char: u32,
n_properties: i32,
properties: ^XFontProp,
min_bounds: XCharStruct,
max_bounds: XCharStruct,
per_char: ^XCharStruct,
ascent: i32,
descent: i32,
ext_data: ^XExtData,
fid: Font,
direction: u32,
min_char_or_byte2: u32,
max_char_or_byte2: u32,
min_byte1: u32,
max_byte1: u32,
all_chars_exist: i32,
default_char: u32,
n_properties: i32,
properties: ^XFontProp,
min_bounds: XCharStruct,
max_bounds: XCharStruct,
per_char: ^XCharStruct,
ascent: i32,
descent: i32,
}
XTextItem :: struct {
chars: [^]u8,
nchars: i32,
delta: i32,
font: Font,
chars: [^]u8,
nchars: i32,
delta: i32,
font: Font,
}
XChar2b :: struct {
byte1: u8,
byte2: u8,
byte1: u8,
byte2: u8,
}
XTextItem16 :: struct {
chars: ^XChar2b,
nchars: i32,
delta: i32,
font: Font,
chars: ^XChar2b,
nchars: i32,
delta: i32,
font: Font,
}
XEDataObject :: struct #raw_union {
@@ -819,8 +819,8 @@ XEDataObject :: struct #raw_union {
}
XFontSetExtents :: struct {
max_ink_extent: XRectangle,
max_logical_extent: XRectangle,
max_ink_extent: XRectangle,
max_logical_extent: XRectangle,
}
XOM :: distinct rawptr
@@ -828,41 +828,41 @@ XOC :: distinct rawptr
XFontSet :: XOC
XmbTextItem :: struct {
chars: [^]u8,
nchars: i32,
delta: i32,
font_set: XFontSet,
chars: [^]u8,
nchars: i32,
delta: i32,
font_set: XFontSet,
}
XwcTextItem :: struct {
chars: [^]rune,
nchars: i32,
delta: i32,
font_set: XFontSet,
chars: [^]rune,
nchars: i32,
delta: i32,
font_set: XFontSet,
}
XOMCharSetList :: struct {
charset_count: i32,
charset_list: [^]cstring,
charset_count: i32,
charset_list: [^]cstring,
}
XOrientation :: enum i32 {
XOMOrientation_LTR_TTB = 0,
XOMOrientation_RTL_TTB = 1,
XOMOrientation_TTB_LTR = 2,
XOMOrientation_TTB_RTL = 3,
XOMOrientation_Context = 4,
XOMOrientation_LTR_TTB = 0,
XOMOrientation_RTL_TTB = 1,
XOMOrientation_TTB_LTR = 2,
XOMOrientation_TTB_RTL = 3,
XOMOrientation_Context = 4,
}
XOMOrientation :: struct {
num_orientation: i32,
orientation: [^]XOrientation,
num_orientation: i32,
orientation: [^]XOrientation,
}
XOMFontInfo :: struct {
num_font: i32,
font_struct_list: [^]^XFontStruct,
font_name_list: [^]cstring,
num_font: i32,
font_struct_list: [^]^XFontStruct,
font_name_list: [^]cstring,
}
XIM :: distinct rawptr
@@ -875,38 +875,38 @@ XIDProc :: #type proc "c" (xim: XIM, client_data: rawptr, call_data: rawptr)
XIMStyle :: uint
XIMStyles :: struct {
count_styles: u16,
supported_styles: [^]XIMStyle,
count_styles: u16,
supported_styles: [^]XIMStyle,
}
XVaNestedList :: distinct rawptr
XIMCallback :: struct {
client_data: rawptr,
callback: XIMProc,
client_data: rawptr,
callback: XIMProc,
}
XICCallback :: struct {
client_data: rawptr,
callback: XICProc,
client_data: rawptr,
callback: XICProc,
}
XIMFeedback :: uint
XIMText :: struct {
length: u16,
feedback: ^XIMFeedback,
encoding_is_wchar: b32,
string: struct #raw_union {
length: u16,
feedback: ^XIMFeedback,
encoding_is_wchar: b32,
string: struct #raw_union {
multi_byte: [^]u8,
wide_char: [^]rune,
},
},
}
XIMPreeditState :: uint
XIMPreeditStateNotifyCallbackStruct :: struct {
state: XIMPreeditState,
state: XIMPreeditState,
}
XIMResetState :: uint
@@ -914,13 +914,13 @@ XIMResetState :: uint
XIMStringConversionFeedback :: uint
XIMStringConversionText :: struct {
length: u16,
feedback: ^XIMStringConversionFeedback,
encoding_is_wchar: b32,
string: struct #raw_union {
length: u16,
feedback: ^XIMStringConversionFeedback,
encoding_is_wchar: b32,
string: struct #raw_union {
mbs: [^]u8,
wcs: [^]rune,
},
},
}
XIMStringConversionPosition :: u16
@@ -928,76 +928,76 @@ XIMStringConversionType :: u16
XIMStringConversionOperation :: u16
XIMCaretDirection :: enum i32 {
XIMForwardChar = 0,
XIMBackwardChar = 1,
XIMForwardWord = 2,
XIMBackwardWord = 3,
XIMCaretUp = 4,
XIMCaretDown = 5,
XIMNextLine = 6,
XIMPreviousLine = 7,
XIMLineStart = 8,
XIMLineEnd = 9,
XIMAbsolutePosition = 10,
XIMDontChang = 11,
XIMForwardChar = 0,
XIMBackwardChar = 1,
XIMForwardWord = 2,
XIMBackwardWord = 3,
XIMCaretUp = 4,
XIMCaretDown = 5,
XIMNextLine = 6,
XIMPreviousLine = 7,
XIMLineStart = 8,
XIMLineEnd = 9,
XIMAbsolutePosition = 10,
XIMDontChang = 11,
}
XIMStringConversionCallbackStruct :: struct {
position: XIMStringConversionPosition,
direction: XIMCaretDirection,
operation: XIMStringConversionOperation,
factor: u16,
text: ^XIMStringConversionText,
position: XIMStringConversionPosition,
direction: XIMCaretDirection,
operation: XIMStringConversionOperation,
factor: u16,
text: ^XIMStringConversionText,
}
XIMPreeditDrawCallbackStruct :: struct {
caret: i32,
chg_first: i32,
chg_length: i32,
text: ^XIMText,
caret: i32,
chg_first: i32,
chg_length: i32,
text: ^XIMText,
}
XIMCaretStyle :: enum i32 {
XIMIsInvisible,
XIMIsPrimary,
XIMIsSecondary,
XIMIsInvisible,
XIMIsPrimary,
XIMIsSecondary,
}
XIMPreeditCaretCallbackStruct :: struct {
position: i32,
direction: XIMCaretDirection,
style: XIMCaretStyle,
position: i32,
direction: XIMCaretDirection,
style: XIMCaretStyle,
}
XIMStatusDataType :: enum {
XIMTextType,
XIMBitmapType,
XIMTextType,
XIMBitmapType,
}
XIMStatusDrawCallbackStruct :: struct {
type: XIMStatusDataType,
data: struct #raw_union {
type: XIMStatusDataType,
data: struct #raw_union {
text: ^XIMText,
bitmap: Pixmap,
},
},
}
XIMHotKeyTrigger :: struct {
keysym: KeySym,
modifier: i32,
modifier_mask: i32,
keysym: KeySym,
modifier: i32,
modifier_mask: i32,
}
XIMHotKeyTriggers :: struct {
num_hot_key: i32,
key: [^]XIMHotKeyTrigger,
num_hot_key: i32,
key: [^]XIMHotKeyTrigger,
}
XIMHotKeyState :: uint
XIMValuesList :: struct {
count_values: u16,
supported_values: [^]cstring,
count_values: u16,
supported_values: [^]cstring,
}
XConnectionWatchProc :: #type proc "c" (
@@ -1775,62 +1775,62 @@ XcmsColorFormat :: uint
XcmsFloat :: f64
XcmsRGB :: struct {
red: u16,
green: u16,
blue: u16,
red: u16,
green: u16,
blue: u16,
}
XcmsRGBi :: struct {
red: XcmsFloat,
green: XcmsFloat,
blue: XcmsFloat,
red: XcmsFloat,
green: XcmsFloat,
blue: XcmsFloat,
}
XcmsCIEXYZ :: struct {
X: XcmsFloat,
Y: XcmsFloat,
Z: XcmsFloat,
X: XcmsFloat,
Y: XcmsFloat,
Z: XcmsFloat,
}
XcmsCIEuvY :: struct {
u_prime: XcmsFloat,
v_prime: XcmsFloat,
Y: XcmsFloat,
u_prime: XcmsFloat,
v_prime: XcmsFloat,
Y: XcmsFloat,
}
XcmsCIExyY :: struct {
x: XcmsFloat,
y: XcmsFloat,
Y: XcmsFloat,
x: XcmsFloat,
y: XcmsFloat,
Y: XcmsFloat,
}
XcmsCIELab :: struct {
L_star: XcmsFloat,
a_star: XcmsFloat,
b_star: XcmsFloat,
L_star: XcmsFloat,
a_star: XcmsFloat,
b_star: XcmsFloat,
}
XcmsCIELuv :: struct {
L_star: XcmsFloat,
u_star: XcmsFloat,
v_star: XcmsFloat,
L_star: XcmsFloat,
u_star: XcmsFloat,
v_star: XcmsFloat,
}
XcmsTekHVC :: struct {
H: XcmsFloat,
V: XcmsFloat,
C: XcmsFloat,
H: XcmsFloat,
V: XcmsFloat,
C: XcmsFloat,
}
XcmsPad :: struct {
_: XcmsFloat,
_: XcmsFloat,
_: XcmsFloat,
_: XcmsFloat,
_: XcmsFloat,
_: XcmsFloat,
_: XcmsFloat,
_: XcmsFloat,
}
XcmsColor :: struct {
spec: struct #raw_union {
spec: struct #raw_union {
RGB: XcmsRGB,
RGBi: XcmsRGBi,
CIEXYZ: XcmsCIEXYZ,
@@ -1840,17 +1840,17 @@ XcmsColor :: struct {
CIELuv: XcmsCIELuv,
TekHVC: XcmsTekHVC,
_: XcmsPad,
},
pixel: uint,
format: XcmsColorFormat,
},
pixel: uint,
format: XcmsColorFormat,
}
XcmsPerScrnInfo :: struct {
screenWhitePt: XcmsColor,
functionSet: rawptr,
screenData: rawptr,
state: u8,
_: [3]u8,
screenWhitePt: XcmsColor,
functionSet: rawptr,
screenData: rawptr,
state: u8,
_: [3]u8,
}
XcmsCCC :: distinct rawptr
@@ -1872,15 +1872,15 @@ XcmsWhiteAdjustProc :: #type proc "c" (
compression: [^]b32) -> Status
XcmsCCCRec :: struct {
dpy: ^Display,
screenNumber: i32,
visual: ^Visual,
clientWhitePt: XcmsColor,
gamutCompProc: XcmsCompressionProc,
gamutCompClientData: rawptr,
whitePtAdjProc: XcmsWhiteAdjustProc,
whitePtAdjClientData: rawptr,
pPerScrnInfo: ^XcmsPerScrnInfo,
dpy: ^Display,
screenNumber: i32,
visual: ^Visual,
clientWhitePt: XcmsColor,
gamutCompProc: XcmsCompressionProc,
gamutCompClientData: rawptr,
whitePtAdjProc: XcmsWhiteAdjustProc,
whitePtAdjClientData: rawptr,
pPerScrnInfo: ^XcmsPerScrnInfo,
}
XcmsScreenInitProc :: #type proc "c" (
@@ -1909,18 +1909,18 @@ XcmsFuncListPtr :: [^]XcmsConversionProc
XcmsParseStringProc :: #type proc "c" (color_string: cstring, color: ^XcmsColor) -> i32
XcmsColorSpace :: struct {
prefix: cstring,
id: XcmsColorFormat,
parseString: XcmsParseStringProc,
to_CIEXYZ: XcmsFuncListPtr,
from_CIEXYZ: XcmsFuncListPtr,
inverse_flag: i32,
prefix: cstring,
id: XcmsColorFormat,
parseString: XcmsParseStringProc,
to_CIEXYZ: XcmsFuncListPtr,
from_CIEXYZ: XcmsFuncListPtr,
inverse_flag: i32,
}
XcmsFunctionSet :: struct {
DDColorSpaces: [^]^XcmsColorSpace,
screenInitProc: XcmsScreenInitProc,
screenFreeProc: XcmsScreenFreeProc,
DDColorSpaces: [^]^XcmsColorSpace,
screenInitProc: XcmsScreenInitProc,
screenFreeProc: XcmsScreenFreeProc,
}
@@ -1958,18 +1958,18 @@ XWMHints :: struct {
}
XTextProperty :: struct {
value: [^]u8,
encoding: Atom,
format: int,
nitems: uint,
value: [^]u8,
encoding: Atom,
format: int,
nitems: uint,
}
XICCEncodingStyle :: enum i32 {
XStringStyle,
XCompoundTextStyle,
XTextStyle,
XStdICCTextStyle,
XUTF8StringStyle,
XStringStyle,
XCompoundTextStyle,
XTextStyle,
XStdICCTextStyle,
XUTF8StringStyle,
}
XIconSize :: struct {
@@ -1987,8 +1987,8 @@ XClassHint :: struct {
}
XComposeStatus :: struct {
compose_ptr: rawptr,
chars_matched: i32,
compose_ptr: rawptr,
chars_matched: i32,
}
Region :: distinct rawptr
@@ -2041,8 +2041,8 @@ XrmClassList :: XrmQuarkList
XrmRepresentation :: XrmQuark
XrmValue :: struct {
size: u32,
addr: rawptr,
size: u32,
addr: rawptr,
}
XrmValuePtr :: [^]XrmValue
@@ -2052,21 +2052,21 @@ XrmSearchList :: [^]XrmHashTable
XrmDatabase :: distinct rawptr
XrmOptionKind :: enum {
XrmoptionNoArg,
XrmoptionIsArg,
XrmoptionStickyArg,
XrmoptionSepArg,
XrmoptionResArg,
XrmoptionSkipArg,
XrmoptionSkipLine,
XrmoptionSkipNArgs,
XrmoptionNoArg,
XrmoptionIsArg,
XrmoptionStickyArg,
XrmoptionSepArg,
XrmoptionResArg,
XrmoptionSkipArg,
XrmoptionSkipLine,
XrmoptionSkipNArgs,
}
XrmOptionDescRec :: struct {
option: cstring,
specifier: cstring,
argKind: XrmOptionKind,
value: rawptr,
option: cstring,
specifier: cstring,
argKind: XrmOptionKind,
value: rawptr,
}
XrmOptionDescList :: [^]XrmOptionDescRec