摘要: luacurl.c文件定义处的ALL_CURL_OPT展开 /* wrap curl option with simple option type */ #define C_OPT(n, t) /* wrap curl option with string list type */ #define 阅读全文
posted @ 2025-07-06 14:07 yanghui01 阅读(5) 评论(0) 推荐(0)
摘要: 注册在curlT表下,可以看作curlT类的成员函数 static const struct luaL_reg luacurl_meths[] = { {"close", lcurl_easy_close}, {"setopt", lcurl_easy_setopt}, {"perform", lc 阅读全文
posted @ 2025-07-06 13:28 yanghui01 阅读(8) 评论(0) 推荐(0)