Fix various foreign signatures

This commit is contained in:
Harold Brenes
2025-09-29 19:58:14 -04:00
parent 9b4c0ea492
commit 24daa4427c
6 changed files with 19 additions and 7 deletions
+2 -2
View File
@@ -124,7 +124,7 @@ foreign lib {
[[ More; https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_attr_getscope.html ]]
*/
pthread_attr_setscope :: proc(attr: ^pthread_attr_t, contentionscope: ^Thread_Scope) -> Errno ---
pthread_attr_setscope :: proc(attr: ^pthread_attr_t, contentionscope: Thread_Scope) -> Errno ---
/*
Get the area of storage to be used for the created thread's stack.
@@ -400,7 +400,7 @@ when ODIN_OS == .Darwin {
PTHREAD_SCOPE_PROCESS :: 2
PTHREAD_SCOPE_SYSTEM :: 1
pthread_t :: distinct u64
pthread_t :: distinct rawptr
pthread_attr_t :: struct {
__sig: c.long,