49 CURL *
h = curl_easy_init();
59 CURLcode
rc = curl_easy_perform(
h);
static size_t fun_curl_write_cb(void *ptr, size_t sz, size_t nm, void *ud)
libcurl write callback that appends data to a FunCurlBuf.
curl_easy_setopt(h, CURLOPT_URL, url)
Simple growable buffer for libcurl write callbacks.
Tagged union representing a Fun value.
Value make_string(const char *s)
Construct a string Value by duplicating the given C string.
char * value_to_string_alloc(const Value *v)
Allocate a printable C string for a Value.
static Value pop_value(VM *vm)
Pop a Value from the VM operand stack.