Skip to content

Commit c330dcf

Browse files
committed
Update raylib extension
1 parent 05e4ead commit c330dcf

File tree

4 files changed

+2507
-66
lines changed

4 files changed

+2507
-66
lines changed

extensions/curl.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,13 @@ static inline CURLcode curl_wrapper_setopt(CurlWrapper *wrapper, int opt, HkValu
7373
{
7474
if (opt == CURLOPT_URL)
7575
{
76-
// TODO: Check if val is an array
76+
// TODO: Check if val is an array.
7777
curl_wrapper_setopt_url(wrapper, hk_as_string(val));
7878
return CURLE_OK;
7979
}
8080
if (opt == CURLOPT_HTTPHEADER)
8181
{
82-
// TODO: Check if val is an array
82+
// TODO: Check if val is an array.
8383
curl_wrapper_setopt_headers(wrapper, hk_as_array(val));
8484
return CURLE_OK;
8585
}
@@ -253,7 +253,7 @@ static void getinfo_call(HkVM *vm, HkValue *args)
253253
hk_return_if_not_ok(vm);
254254
CURL *curl = ((CurlWrapper *) hk_as_userdata(args[1]))->curl;
255255
int info = (int) hk_as_number(args[2]);
256-
// TODO: The type of value depends on info
256+
// TODO: The type of value depends on info.
257257
long value = 0;
258258
curl_easy_getinfo(curl, info, &value);
259259
hk_vm_push_number(vm, (double) value);

0 commit comments

Comments
 (0)