# Internal method used to get Int object information initially knowns as C Long type
private fun native_getinfo_long(opt: CURLInfoLong, res: Ref[Int]): CURLCode
import Ref[Int].item= `{
long r;
CURLcode c = curl_easy_getinfo( self, opt, &r);
if (c == CURLE_OK) Ref_of_Int_item__assign(res, r);
return c;
`}
lib/curl/native_curl.nit:140,2--147,3