# Internal method used to get Array[String] object information initially knowns as C SList type
private fun native_getinfo_slist(opt: CURLInfoSList, res: Ref[CURLSList]): CURLCode
import Ref[CURLSList].item= `{
struct curl_slist* csl;
CURLcode c = curl_easy_getinfo(self, opt, &csl);
if (c == CURLE_OK) Ref_of_CURLSList_item__assign(res, csl);
return c;
`}
lib/curl/native_curl.nit:178,2--185,3