59 CURL *
h = curl_easy_init();
71 CURLcode
rc = curl_easy_perform(
h);
static size_t fun_curl_file_write_cb(void *ptr, size_t sz, size_t nm, void *ud)
libcurl write callback that writes directly to a FILE*.
curl_easy_setopt(h, CURLOPT_URL, url)
push_value(vm, make_int(1))
Tagged union representing a Fun value.
char * value_to_string_alloc(const Value *v)
Allocate a printable C string for a Value.
Value make_int(int64_t v)
Construct a Value representing a 64-bit integer.
static Value pop_value(VM *vm)
Pop a Value from the VM operand stack.