Merge pull request #6319 from fnky/vendor/curl/fix-urlapi

`vendor:curl`: Fix `what` argument for url_set
This commit is contained in:
Jeroen van Rijn
2026-02-22 22:07:04 +01:00
committed by GitHub

View File

@@ -130,7 +130,7 @@ foreign lib {
* error code. The passed in string will be copied. Passing a NULL instead of
* a part string, clears that part.
*/
url_set :: proc(handle: ^CURLU, what: ^UPart, part: cstring, flags: UFlags) -> Ucode ---
url_set :: proc(handle: ^CURLU, what: UPart, part: cstring, flags: UFlags) -> Ucode ---
/*
* curl_url_strerror() turns a CURLUcode value into the equivalent human
@@ -138,4 +138,4 @@ foreign lib {
* messages.
*/
url_strerror :: proc(Ucode) -> cstring ---
}
}