diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2025-12-15 16:17:37 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-15 16:17:37 +0000 |
| commit | c8bea7f23e4c260c3bb345c86c0c52f662a7c888 (patch) | |
| tree | d225aec88ef1ab25561ece3478c1fa43e7ce6757 | |
| parent | 750d99019cb7cbe67326ea151b184c8e97232ecc (diff) | |
| parent | 83dd218cbd1a5b70e9fe567f17eeba7168d5bd79 (diff) | |
Merge pull request #6026 from BigBoyBarney/curl-fix
Fix minor issues within `curl` bindings
| -rw-r--r-- | vendor/curl/curl.odin | 4 | ||||
| -rw-r--r-- | vendor/curl/curl_multi.odin | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/vendor/curl/curl.odin b/vendor/curl/curl.odin index 073927dc6..ce10c443f 100644 --- a/vendor/curl/curl.odin +++ b/vendor/curl/curl.odin @@ -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 --- -}
\ No newline at end of file +} diff --git a/vendor/curl/curl_multi.odin b/vendor/curl/curl_multi.odin index 860c8dbc1..624078684 100644 --- a/vendor/curl/curl_multi.odin +++ b/vendor/curl/curl_multi.odin @@ -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 --- -}
\ No newline at end of file +} |