Fix minor issues withing curl bindings

This commit is contained in:
Sylphrena
2025-12-15 17:02:42 +01:00
parent 750d99019c
commit 83dd218cbd
2 changed files with 4 additions and 4 deletions

View File

@@ -2502,7 +2502,7 @@ foreign lib {
* Appends a string to a linked list. If no list exists, it will be created
* first. Returns the new list, after appending.
*/
slist_append :: proc(list: ^slist, data: [^]byte) -> ^slist ---
slist_append :: proc(list: ^slist, data: cstring) -> ^slist ---
/*
* NAME curl_slist_free_all()
@@ -2932,4 +2932,4 @@ foreign lib {
userptr: rawptr) -> code ---
}
}

View File

@@ -410,7 +410,7 @@ foreign lib {
*
* Returns: NULL on failure, otherwise a CURL **array pointer
*/
multi_get_handles :: proc(multi_handle: ^CURLM) -> ^^CURL ---
multi_get_handles :: proc(multi_handle: ^CURLM) -> [^]^CURL ---
/*
* Name: curl_multi_get_offt()
@@ -482,4 +482,4 @@ foreign lib {
ufds: [^]waitfd,
size: c.uint,
fd_count: ^c.uint) -> Mcode ---
}
}